class StandaloneHTMLBuilder(Builder):
Known subclasses: sphinx.builders.dirhtml.DirectoryHTMLBuilder
, sphinx.builders.singlehtml.SingleFileHTMLBuilder
, sphinx.builders._epub_base.EpubBuilder
Class Variable | format |
Undocumented |
Class Variable | name |
Undocumented |
Class Variable | supported_image_types |
Undocumented |
Method | __init__ |
Undocumented |
Method | _get_local_toctree |
Undocumented |
Method | _get_style_filename |
Undocumented |
Method | _get_translations_js |
Undocumented |
Method | add_css_file |
Undocumented |
Method | add_js_file |
Undocumented |
Method | add_sidebars |
Undocumented |
Method | cleanup |
Cleanup any resources. |
Method | copy_download_files |
Undocumented |
Method | copy_extra_files |
copy html_extra_path files. |
Method | copy_html_favicon |
Undocumented |
Method | copy_html_logo |
Undocumented |
Method | copy_html_static_files |
Undocumented |
Method | copy_image_files |
Undocumented |
Method | copy_static_files |
Undocumented |
Method | copy_stemmer_js |
Copy a JavaScript file for stemmer. |
Method | copy_theme_static_files |
Undocumented |
Method | copy_translation_js |
Copy a JavaScript file for translations. |
Method | create_build_info |
Undocumented |
Method | create_pygments_style_file |
create a style file for pygments. |
Method | dump_inventory |
Undocumented |
Method | dump_search_index |
Undocumented |
Method | finish |
Finish the building process. |
Method | gen_additional_pages |
Undocumented |
Method | gen_indices |
Undocumented |
Method | gen_pages_from_extensions |
Undocumented |
Method | get_asset_paths |
Return list of paths for assets (ex. templates, CSS, etc.). |
Method | get_doc_context |
Collect items for the template context of a page. |
Method | get_outdated_docs |
Return an iterable of output files that are outdated, or a string describing what an update build will build. |
Method | get_outfilename |
Undocumented |
Method | get_target_uri |
Return the target URI for a document name. |
Method | get_theme_config |
Undocumented |
Method | handle_finish |
Undocumented |
Method | handle_page |
Undocumented |
Method | index_page |
Undocumented |
Method | init |
Load necessary templates and perform initialization. The default implementation does nothing. |
Method | init_css_files |
Undocumented |
Method | init_highlighter |
Undocumented |
Method | init_js_files |
Undocumented |
Method | init_templates |
Undocumented |
Method | load_indexer |
Undocumented |
Method | post_process_images |
Pick the best candidate for an image and link down-scaled images to their high res version. |
Method | prepare_writing |
A place where you can add logic before write_doc is run |
Method | render_partial |
Utility: Render a lone doctree node. |
Method | update_page_context |
Undocumented |
Method | write_buildinfo |
Undocumented |
Method | write_doc |
Where you actually write something to the filesystem. |
Method | write_doc_serialized |
Handle parts of write_doc that must be called in the main process if parallel build is active. |
Method | write_domain_indices |
Undocumented |
Method | write_genindex |
Undocumented |
Class Variable | add_permalinks |
Undocumented |
Class Variable | allow_parallel |
Undocumented |
Class Variable | allow_sharp_as_current_path |
Undocumented |
Class Variable | copysource |
Undocumented |
Class Variable | download_support |
Undocumented |
Class Variable | embedded |
Undocumented |
Class Variable | epilog |
Undocumented |
Class Variable | html_scaled_image_link |
Undocumented |
Class Variable | indexer_dumps_unicode |
Undocumented |
Class Variable | search |
Undocumented |
Class Variable | searchindex_filename |
Undocumented |
Class Variable | supported_data_uri_images |
Undocumented |
Class Variable | supported_remote_images |
Undocumented |
Instance Variable | _css_files |
Undocumented |
Instance Variable | _script_files |
Undocumented |
Instance Variable | build_info |
Undocumented |
Instance Variable | css_files |
Undocumented |
Instance Variable | current_docname |
Undocumented |
Instance Variable | dark_highlighter |
Undocumented |
Instance Variable | dlpath |
Undocumented |
Instance Variable | docsettings |
Undocumented |
Instance Variable | docwriter |
Undocumented |
Instance Variable | domain_indices |
Undocumented |
Instance Variable | fignumbers |
Undocumented |
Instance Variable | globalcontext |
Undocumented |
Instance Variable | highlighter |
Undocumented |
Instance Variable | imagedir |
Undocumented |
Instance Variable | imgpath |
Undocumented |
Instance Variable | indexer |
Undocumented |
Instance Variable | last_updated |
Undocumented |
Instance Variable | link_suffix |
Undocumented |
Instance Variable | out_suffix |
Undocumented |
Instance Variable | relations |
Undocumented |
Instance Variable | script_files |
Undocumented |
Instance Variable | secnumbers |
Undocumented |
Instance Variable | theme |
Undocumented |
Instance Variable | theme_options |
Undocumented |
Instance Variable | use_index |
Undocumented |
Property | default_translator_class |
Undocumented |
Property | math_renderer_name |
Undocumented |
Inherited from Builder
:
Method | build |
Main build method. |
Method | build_all |
Build all source files. |
Method | build_specific |
Only rebuild as much as needed for changes in the filenames. |
Method | build_update |
Only rebuild what was changed or added since last build. |
Method | get_relative_uri |
Return a relative URI between two source filenames. |
Instance Variable | events |
Undocumented |
Method | _read_parallel |
Undocumented |
Method | _read_serial |
Undocumented |
Method | _write_parallel |
Undocumented |
Method | _write_serial |
Undocumented |
Method | compile_all_catalogs |
Undocumented |
Method | compile_catalogs |
Undocumented |
Method | compile_specific_catalogs |
Undocumented |
Method | compile_update_catalogs |
Undocumented |
Method | create_template_bridge |
Return the template bridge configured. |
Method | create_translator |
Return an instance of translator. |
Method | get_builder_config |
Return a builder specific option. |
Method | get_translator_class |
Return a class of translator. |
Method | read |
(Re-)read all files new or changed since last update. |
Method | read_doc |
Parse a file and add/update inventory entries for the doctree. |
Method | set_environment |
Store BuildEnvironment object. |
Method | write |
Undocumented |
Method | write_doctree |
Write the doctree to a file. |
Class Variable | use_message_catalog |
Undocumented |
Class Variable | versioning_compare |
Undocumented |
Class Variable | versioning_method |
Undocumented |
Instance Variable | app |
Undocumented |
Instance Variable | confdir |
Undocumented |
Instance Variable | config |
Undocumented |
Instance Variable | doctreedir |
Undocumented |
Instance Variable | env |
Undocumented |
Instance Variable | finish_tasks |
Undocumented |
Instance Variable | images |
Undocumented |
Instance Variable | outdir |
Undocumented |
Instance Variable | parallel_ok |
Undocumented |
Instance Variable | srcdir |
Undocumented |
Instance Variable | tags |
Undocumented |
Instance Variable | templates |
Undocumented |
str
=
sphinx.builders.Builder.name
sphinx.builders.dirhtml.DirectoryHTMLBuilder
, sphinx.builders.epub3.Epub3Builder
, sphinx.builders.singlehtml.SingleFileHTMLBuilder
Undocumented
list[ str]
=
sphinx.builders._epub_base.EpubBuilder
Undocumented
sphinx.builders.Builder.__init__
Undocumented
Parameters | |
app:Sphinx | Undocumented |
sphinx.builders.singlehtml.SingleFileHTMLBuilder
Undocumented
Parameters | |
docname:str | Undocumented |
collapse:bool | Undocumented |
**kwargs:Any | Undocumented |
Returns | |
str | Undocumented |
Undocumented
Parameters | |
filename:str | Undocumented |
**kwargs:Any | Undocumented |
Undocumented
Parameters | |
filename:str | Undocumented |
**kwargs:Any | Undocumented |
Undocumented
Parameters | |
pagename:str | Undocumented |
ctx:Dict | Undocumented |
sphinx.builders.Builder.cleanup
Cleanup any resources.
The default implementation does nothing.
sphinx.builders._epub_base.EpubBuilder
Undocumented
Returns | |
BuildInfo | Undocumented |
sphinx.builders.Builder.finish
sphinx.builders.singlehtml.SingleFileHTMLBuilder
Finish the building process.
The default implementation does nothing.
sphinx.builders.Builder.get_asset_paths
Returns | |
List[ | Undocumented |
sphinx.builders.singlehtml.SingleFileHTMLBuilder
Parameters | |
docname:str | Undocumented |
body:str | Undocumented |
metatags:str | Undocumented |
Returns | |
Dict[ | Undocumented |
sphinx.builders.singlehtml.SingleFileHTMLBuilder
Return an iterable of output files that are outdated, or a string describing what an update build will build.
If the builder does not output individual files corresponding to source files, return a string here. If it does, return an iterable of those files that need to be written.
Returns | |
Iterator[ | Undocumented |
sphinx.builders.dirhtml.DirectoryHTMLBuilder
Undocumented
Parameters | |
pagename:str | Undocumented |
Returns | |
str | Undocumented |
sphinx.builders.Builder.get_target_uri
sphinx.builders.dirhtml.DirectoryHTMLBuilder
, sphinx.builders.singlehtml.SingleFileHTMLBuilder
Return the target URI for a document name.
typ can be used to qualify the link characteristic for individual builders.
Parameters | |
docname:str | Undocumented |
typ:str | Undocumented |
Returns | |
str | Undocumented |
sphinx.builders._epub_base.EpubBuilder
Undocumented
Returns | |
Tuple[ | Undocumented |
sphinx.builders._epub_base.EpubBuilder
Undocumented
Parameters | |
pagename:str | Undocumented |
addctx:Dict | Undocumented |
templatename:str | Undocumented |
outfilename:str | Undocumented |
event_arg:Any | Undocumented |
Undocumented
Parameters | |
pagename:str | Undocumented |
doctree:nodes.document | Undocumented |
title:str | Undocumented |
sphinx.builders.Builder.init
sphinx.builders._epub_base.EpubBuilder
Parameters | |
doctree:Node | Undocumented |
sphinx.builders.Builder.prepare_writing
sphinx.builders.epub3.Epub3Builder
write_doc
is runParameters | |
docnames:Set[ | Undocumented |
Parameters | |
node:Node | Undocumented |
Returns | |
Dict[ | Undocumented |
Undocumented
Parameters | |
pagename:str | Undocumented |
templatename:str | Undocumented |
ctx:Dict | Undocumented |
event_arg:Any | Undocumented |
sphinx.builders.Builder.write_doc
sphinx.builders._epub_base.EpubBuilder
Parameters | |
docname:str | Undocumented |
doctree:nodes.document | Undocumented |
Parameters | |
docname:str | Undocumented |
doctree:nodes.document | Undocumented |
bool
=
sphinx.builders._epub_base.EpubBuilder
Undocumented
bool
=
sphinx.builders.singlehtml.SingleFileHTMLBuilder
, sphinx.builders._epub_base.EpubBuilder
Undocumented