Module implementing the builtin documentation generator.
The different parts of the module document are assembled from the parsed Python file. The appearance is determined by several templates defined within this module.
_event |
_signal |
ModuleDocument | Class implementing the builtin documentation generator. |
TagError | Exception class raised, if an invalid documentation tag was found. |
None |
Class implementing the builtin documentation generator.
None |
None |
ModuleDocument | Constructor |
__checkDeprecated | Private method to check, if the object to be documented contains a deprecated flag. |
__formatCrossReferenceEntry | Private method to format a cross reference entry. |
__formatDescription | Private method to format the contents of the documentation string. |
__genClassListSection | Private method to generate the section listing all classes of the module. |
__genClassesSection | Private method to generate the document section with details about classes. |
__genDescriptionListSection | Private method to generate the list section of a description. |
__genFunctionListSection | Private method to generate the section listing all functions of the module. |
__genFunctionsSection | Private method to generate the document section with details about functions. |
__genGlobalsListSection | Private method to generate the section listing all global attributes of the module. |
__genListSection | Private method to generate a list section of the document. |
__genMethodSection | Private method to generate the method details section. |
__genMethodsListSection | Private method to generate the methods list section of a class. |
__genModuleSection | Private method to generate the body of the document. |
__genParagraphs | Private method to assemble the descriptive paragraphs of a docstring. |
__genParamDescriptionListSection | Private method to generate the list section of a description. |
__genRbModulesClassesListSection | Private method to generate the classes list section of a Ruby module. |
__genRbModulesClassesSection | Private method to generate the Ruby module classes details section. |
__genRbModulesListSection | Private method to generate the section listing all modules of the file (Ruby only). |
__genRbModulesSection | Private method to generate the document section with details about Ruby modules. |
__genSeeListSection | Private method to generate the "see also" list section of a description. |
__getShortDescription | Private method to determine the short description of an object. |
__processInlineTags | Private method to process inline tags. |
description | Public method used to get the description of the module. |
genDocument | Public method to generate the source code documentation. |
getQtHelpKeywords | Public method to retrieve the parts for the QtHelp keywords section. |
isEmpty | Public method to determine, if the module contains any classes or functions. |
name | Public method used to get the module name. |
shortDescription | Public method used to get the short description of the module. |
None |
Constructor
Private method to check, if the object to be documented contains a deprecated flag.
Private method to format a cross reference entry.
This cross reference entry looks like "package.module#member label".
Private method to format the contents of the documentation string.
Private method to generate the section listing all classes of the module.
Private method to generate the document section with details about classes.
Private method to generate the list section of a description.
Private method to generate the section listing all functions of the module.
Private method to generate the document section with details about functions.
Private method to generate the section listing all global attributes of the module.
Private method to generate a list section of the document.
Private method to generate the method details section.
Private method to generate the methods list section of a class.
Private method to generate the body of the document.
Private method to assemble the descriptive paragraphs of a docstring.
A paragraph is made up of a number of consecutive lines without an intermediate empty line. Empty lines are treated as a paragraph delimiter.
Private method to generate the list section of a description.
Private method to generate the classes list section of a Ruby module.
Private method to generate the Ruby module classes details section.
Private method to generate the section listing all modules of the file (Ruby only).
Private method to generate the document section with details about Ruby modules.
Private method to generate the "see also" list section of a description.
Private method to determine the short description of an object.
The short description is just the first non empty line of the documentation string.
Private method to process inline tags.
Public method used to get the description of the module.
Public method to generate the source code documentation.
Public method to retrieve the parts for the QtHelp keywords section.
Public method to determine, if the module contains any classes or functions.
Public method used to get the module name.
Public method used to get the short description of the module.
The short description is just the first line of the modules description.
Exception class raised, if an invalid documentation tag was found.
None |
None |
None |
None |