![]() |
Belle II Software
release-05-01-25
|
Classes | |
class | ModuleListDirective |
class | RenderDocstring |
class | VariableListDirective |
Functions | |
def | parse_with_titles (state, content) |
def | html_page_context (app, pagename, templatename, context, doctree) |
def | jira_issue_role (role, rawtext, text, lineno, inliner, options={}, content=[]) |
def | setup (app) |
This module is a Sphinx Extension for the Belle~II Software: * add a domain "b2" for modules and variables. Modules can be documented using the ``.. b2:module::` directive and variables using the ``.. b2:variable::` directive. They can be cross referenced with :b2:mod: and :b2:var: respectively * add an index for basf2 modules * add a directive to automatically document basf2 modules similar to autodoc .. b2-modules:: :package: framework :modules: EventInfoSetter, EventInfoPrinter :library: libcore.so :regex-filter: Event.* * add directive to automatically document basf2 variables .. b2-variables:: :group: Kinematics :variables: x, y, z :regex-filter: .*
def basf2ext.html_page_context | ( | app, | |
pagename, | |||
templatename, | |||
context, | |||
doctree | |||
) |
Provide Link to Stash Repository, see https://mg.pov.lt/blog/sphinx-edit-on-github.html this goes in conjunction with site_scons/sphinx/_sphinxtemplates/sourcelink.html and adds a link to our git repository instead to the local source link
Definition at line 237 of file basf2ext.py.
def basf2ext.parse_with_titles | ( | state, | |
content | |||
) |
Shortcut function to parse a reStructuredText fragment into docutils nodes
Definition at line 40 of file basf2ext.py.