champollion.viewcode¶
-
class
champollion.viewcode.ViewCode[source]¶ Helper class to display the code for each Javascript module found and link it to the documentation.
-
js_modules= None¶ Store the modules elements to link to the code
-
classmethod
add_source_code_links(app, doctree)[source]¶ Parse doctree and add source code link when available.
Create temporary ‘js_modules’ in app builder environment to store all module information which will be used to create the code page links.
This function is called with the
doctree-readSphinx event, emitted when a doctree has been parsed and read by the environment, and is about to be pickled
-