ccpnmodel.ccpncore.memops.scripts.docgen package¶
Submodules¶
ccpnmodel.ccpncore.memops.scripts.docgen.ApiDocGen module¶
Module Documentation here
- class ccpnmodel.ccpncore.memops.scripts.docgen.ApiDocGen.ApiDocGen[source]¶
Bases:
ccpnmodel.ccpncore.memops.scripts.docgen.Documentation.Documentation
,ccpnmodel.ccpncore.memops.metamodel.ModelTraverse.ModelTraverse
- apiFileDir = 'static'¶
- attributeMapPrefix = 'attributeMap'¶
- classMapPrefix = 'classMap'¶
- detailDiagExt = '-details'¶
- diagFileExt = '_Diag.gif'¶
- diagImgDir = 'apidiagram'¶
- directoryFromTop(element, ignoreElemType=False)[source]¶
Generate directory name relative to top directory of an element
- draftDocString = '\nDRAFT - backward compatibility of future versions not guaranteed.<br>\n'¶
- elemHasOwnDirectory(elem)[source]¶
whether element’s HTML page is in own directory or in container’s directory
- getDiagramFileName(elem, isAbsolute)[source]¶
Get the path for the diagram documentation for given element
- getDiagramOrderedPackages()[source]¶
return packages ordered depth-first for use in left bar of diagram pages
- getMandatoryElements(elem)[source]¶
get list of mandatory element names All elements with locard == hicard are mandatory
- getObjDocFileName(metaObj, absoluteName=True, addSuffix=False)[source]¶
Get filename for metaObj If absoluteName is True the file name is absolute otherwise it is relative to the relevant baseDir
- helpPrefix = 'help'¶
- imageDir = 'doc/graphics'¶
- indexPrefix = '_index'¶
- licensePrefix = 'license'¶
- methodMapPrefix = 'methodMap'¶
- pathToTop(element, isDiagram=False, upDir=0)[source]¶
return relative directory path from a given element to the top directory
- topApiPrefix = 'api'¶
write javastyle navigator bar for diagrams
write javastyle navigator bar
The exact look is adjusted depending on the type of elem. prev and foll are objects pointed to by the ‘previous’ and ‘foll’ links, and should be of appropriate type.
ccpnmodel.ccpncore.memops.scripts.docgen.Documentation module¶
Module Documentation here
ccpnmodel.ccpncore.memops.scripts.docgen.PyApiDocGen module¶
Module Documentation here
- class ccpnmodel.ccpncore.memops.scripts.docgen.PyApiDocGen.PyApiDocGen(**kw)[source]¶
Bases:
ccpnmodel.ccpncore.memops.scripts.docgen.ApiDocGen.ApiDocGen
- apiName = 'Python API'¶