jiveapi.sphinx_theme.builder module¶
-
class
jiveapi.sphinx_theme.builder.JiveHtmlTranslator(builder, *args, **kwds)[source]¶ Bases:
sphinx.writers.html.HTMLTranslatorSubclass of sphinx’s built-in
HTMLTranslatorto fix some output nuances. Mainly, Jive overwrites “id” elements on everything, so named anchors need to use the deprecatednameattribute. We also need to identify internal hrefs that link toindex.html#somethingand strip the leading filename.
-
class
jiveapi.sphinx_theme.builder.JiveapiBuilder(app)[source]¶ Bases:
sphinx.builders.html.SingleFileHTMLBuilderSubclass of sphinx’s built-in
SingleFileHTMLBuilderto useJiveHtmlTranslatorin place of sphinx’s built-inHTMLTranslator.-
default_translator_class¶
-
epilog= 'The Jive HTML page is in %(outdir)s.'¶
-
name= 'jiveapi'¶
-
script_files= []¶
-