package documentation

Several HTML builders.

Unknown Field: copyright
Copyright 2007-2022 by the Sphinx team, see AUTHORS.
Unknown Field: license
BSD, see LICENSE for details.
Module transforms sphinx.builders.html.transforms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From __init__.py:

Class ​Standalone​HTMLBuilder Builds standalone HTML docs.
Constant INVENTORY​_FILENAME Undocumented
Constant UNSET Undocumented
Variable html5​_ready Undocumented
Variable logger Undocumented
Variable return​_codes​_re Undocumented
Class ​_stable​_repr​_object Undocumented
Class ​Build​Info buildinfo file manipulator.
Class ​Java​Script A metadata of javascript file.
Class ​Stylesheet A metadata of stylesheet.
Function convert​_html​_css​_files This converts string styled html_css_files to tuple styled one.
Function convert​_html​_js​_files This converts string styled html_js_files to tuple styled one.
Function get​_stable​_hash Return a stable hash for a Python data structure. We can't just use the md5 of str(obj) since for example dictionary items are enumerated in unpredictable order due to hash randomization in newer Pythons.
Function migrate​_html​_add​_permalinks Migrate html_add_permalinks to html_permalinks*.
Function setup Undocumented
Function setup​_css​_tag​_helper Set up css_tag() template helper.
Function setup​_js​_tag​_helper Set up js_tag() template helper.
Function setup​_resource​_paths Set up relative resource paths.
Function validate​_html​_extra​_path Check html_extra_paths setting.
Function validate​_html​_favicon Check html_favicon setting.
Function validate​_html​_logo Check html_logo setting.
Function validate​_html​_static​_path Check html_static_paths setting.
Function validate​_math​_renderer Undocumented
html5_ready: bool =

Undocumented

INVENTORY_FILENAME: str =

Undocumented

Value
'objects.inv'
logger =

Undocumented

return_codes_re =

Undocumented

def get_stable_hash(obj):
Return a stable hash for a Python data structure. We can't just use the md5 of str(obj) since for example dictionary items are enumerated in unpredictable order due to hash randomization in newer Pythons.
Parameters
obj:AnyUndocumented
Returns
strUndocumented
def convert_html_css_files(app, config):
This converts string styled html_css_files to tuple styled one.
Parameters
app:SphinxUndocumented
config:ConfigUndocumented
def convert_html_js_files(app, config):
This converts string styled html_js_files to tuple styled one.
Parameters
app:SphinxUndocumented
config:ConfigUndocumented
def setup_css_tag_helper(app, pagename, templatename, context, doctree):

Set up css_tag() template helper.

Note

This set up function is added to keep compatibility with webhelper.

Parameters
app:SphinxUndocumented
pagename:strUndocumented
templatename:strUndocumented
context:DictUndocumented
doctree:NodeUndocumented
def setup_js_tag_helper(app, pagename, templatename, context, doctree):

Set up js_tag() template helper.

Note

This set up function is added to keep compatibility with webhelper.

Parameters
app:SphinxUndocumented
pagename:strUndocumented
templatename:strUndocumented
context:DictUndocumented
doctree:NodeUndocumented
def setup_resource_paths(app, pagename, templatename, context, doctree):
Set up relative resource paths.
Parameters
app:SphinxUndocumented
pagename:strUndocumented
templatename:strUndocumented
context:DictUndocumented
doctree:NodeUndocumented
def validate_math_renderer(app):

Undocumented

Parameters
app:SphinxUndocumented
def validate_html_extra_path(app, config):
Check html_extra_paths setting.
Parameters
app:SphinxUndocumented
config:ConfigUndocumented
def validate_html_static_path(app, config):
Check html_static_paths setting.
Parameters
app:SphinxUndocumented
config:ConfigUndocumented
def validate_html_logo(app, config):
Check html_logo setting.
Parameters
app:SphinxUndocumented
config:ConfigUndocumented
def validate_html_favicon(app, config):
Check html_favicon setting.
Parameters
app:SphinxUndocumented
config:ConfigUndocumented
UNSET =

Undocumented

Value
_stable_repr_object()
def migrate_html_add_permalinks(app, config):
Migrate html_add_permalinks to html_permalinks*.
Parameters
app:SphinxUndocumented
config:ConfigUndocumented
def setup(app):

Undocumented

Parameters
app:SphinxUndocumented
Returns
Dict[str, Any]Undocumented