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