Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | Static Protected Member Functions | List of all members
htmlhelp.HTMLHelpBuilder Class Reference
Inheritance diagram for htmlhelp.HTMLHelpBuilder:
Inheritance graph
[legend]
Collaboration diagram for htmlhelp.HTMLHelpBuilder:
Collaboration graph
[legend]

Public Member Functions

None init (self)
 
None prepare_writing (self, set[str] docnames)
 
None update_page_context (self, str pagename, str templatename, dict[str, Any] ctx, str event_arg)
 
None handle_finish (self)
 
None write_doc (self, str docname, nodes.document doctree)
 
str render (self, str name, dict[str, Any] context)
 
None copy_stopword_list (self)
 
None build_project_file (self)
 
None build_toc_file (self)
 
None build_hhx (self, str|os.PathLike[str] outdir, str outname)
 
- Public Member Functions inherited from sphinx.builders.html.StandaloneHTMLBuilder
None __init__ (self, Sphinx app, BuildEnvironment env)
 
BuildInfo create_build_info (self)
 
tuple[str, dict[str, str|int|bool]] get_theme_config (self)
 
None init_templates (self)
 
None init_highlighter (self)
 
list[_CascadingStyleSheetcss_files (self)
 
None init_css_files (self)
 
None add_css_file (self, str filename, **Any kwargs)
 
list[_JavaScriptscript_files (self)
 
None init_js_files (self)
 
None add_js_file (self, str filename, **Any kwargs)
 
str|None math_renderer_name (self)
 
Iterator[str] get_outdated_docs (self)
 
list[str] get_asset_paths (self)
 
dict[str, str] render_partial (self, Node|None node)
 
dict[str, Any] get_doc_context (self, str docname, str body, str metatags)
 
None copy_assets (self)
 
None write_doc_serialized (self, str docname, nodes.document doctree)
 
None finish (self)
 
None gen_indices (self)
 
None gen_pages_from_extensions (self)
 
None gen_additional_pages (self)
 
None write_genindex (self)
 
None write_domain_indices (self)
 
None copy_image_files (self)
 
None copy_download_files (self)
 
None create_pygments_style_file (self)
 
None copy_translation_js (self)
 
None copy_stemmer_js (self)
 
None copy_theme_static_files (self, dict[str, Any] context)
 
None copy_html_static_files (self, dict[str, Any] context)
 
None copy_html_logo (self)
 
None copy_html_favicon (self)
 
None copy_static_files (self)
 
None copy_extra_files (self)
 
None write_buildinfo (self)
 
None cleanup (self)
 
None post_process_images (self, Node doctree)
 
None load_indexer (self, Set[str] docnames)
 
None index_page (self, str pagename, nodes.document doctree, str title)
 
Path get_output_path (self, str page_name)
 
_StrPath get_outfilename (self, str pagename)
 
None add_sidebars (self, str pagename, dict[str, Any] ctx)
 
str get_target_uri (self, str docname, str|None typ=None)
 
None handle_page (self, str pagename, dict[str, Any] addctx, str templatename='page.html', *Path|None outfilename=None, Any event_arg=None)
 
None dump_inventory (self)
 
None dump_search_index (self)
 
- Public Member Functions inherited from sphinx.builders.Builder
type[nodes.NodeVisitor] get_translator_class (self, *Any args)
 
nodes.NodeVisitor create_translator (self, *Any args)
 
None create_template_bridge (self)
 
str get_relative_uri (self, str from_, str to, str|None typ=None)
 
None compile_catalogs (self, set[CatalogInfo] catalogs, str message)
 
None compile_all_catalogs (self)
 
None compile_specific_catalogs (self, Iterable[Path] specified_files)
 
None compile_update_catalogs (self)
 
None build_all (self)
 
None build_specific (self, Sequence[Path] filenames)
 
None build_update (self)
 
None build (self, Iterable[str]|None docnames, str|None summary=None, Literal['all', 'specific', 'update'] method='update')
 
list[str] read (self)
 
None read_doc (self, str docname, *bool _cache=True)
 
None write_doctree (self, str docname, nodes.document doctree, *bool _cache=True)
 
None write (self, Iterable[str]|None build_docnames, Iterable[str] updated_docnames, Literal['all', 'specific', 'update'] method='update')
 
None write_documents (self, Set[str] docnames)
 
Any get_builder_config (self, str option, str default)
 

Public Attributes

 out_suffix
 
 link_suffix
 
 lcid
 
 encoding
 
 outdir
 
 domain_indices
 
- Public Attributes inherited from sphinx.builders.html.StandaloneHTMLBuilder
 build_info
 
 imagedir
 
 out_suffix
 
 link_suffix
 
 use_index
 
 config
 
 tags
 
 theme
 
 theme_options
 
 highlighter
 
 dark_highlighter
 
 indexer
 
 env
 
 docwriter
 
 domain_indices
 
 relations
 
 globalcontext
 
 embedded
 
 name
 
 copy_download_files
 
 copy_static_files
 
 copy_extra_files
 
 secnumbers
 
 fignumbers
 
 imgpath
 
 dlpath
 
 current_docname
 
 gen_indices
 
 gen_pages_from_extensions
 
 gen_additional_pages
 
 copy_image_files
 
 write_buildinfo
 
 images
 
 srcdir
 
 outdir
 
 indexer_format
 
 dump_search_index
 
 dump_inventory
 
- Public Attributes inherited from sphinx.builders.Builder
 versioning_method
 
 versioning_compare
 
 format
 
 name
 
 imagedir
 
 imgpath
 
 parallel_ok
 
 templates
 
 app
 
 env
 
 finish_tasks
 
 config
 

Static Public Attributes

str name = 'htmlhelp'
 
 epilog
 
bool copysource = False
 
list supported_image_types = ['image/png', 'image/gif', 'image/jpeg']
 
bool add_permalinks = False
 
bool embedded = True
 
bool search = False
 
int lcid = 0x409
 
str encoding = 'cp1252'
 
- Static Public Attributes inherited from sphinx.builders.html.StandaloneHTMLBuilder
str name = 'html'
 
str format = 'html'
 
 epilog = __('The HTML pages are in %(outdir)s.')
 
 default_translator_class = HTML5Translator
 
bool copysource = True
 
bool allow_parallel = True
 
str out_suffix = '.html'
 
str link_suffix = '.html'
 
Any indexer_format = js_index
 
bool indexer_dumps_unicode = True
 
bool html_scaled_image_link = True
 
list supported_image_types = ['image/svg+xml', 'image/png', 'image/gif', 'image/jpeg']
 
bool supported_remote_images = True
 
bool supported_data_uri_images = True
 
str searchindex_filename = 'searchindex.js'
 
bool add_permalinks = True
 
bool allow_sharp_as_current_path = True
 
bool embedded = False
 
bool search = True
 
bool use_index = False
 
bool download_support = True
 
str imgpath = ''
 
list domain_indices = []
 
- Static Public Attributes inherited from sphinx.builders.Builder
str name = ''
 
str format = ''
 
str epilog = ''
 
type default_translator_class [nodes.NodeVisitor]
 
str versioning_method = 'none'
 
bool versioning_compare = False
 
bool allow_parallel = False
 
bool use_message_catalog = True
 
list supported_image_types = []
 
bool supported_remote_images = False
 
bool supported_data_uri_images = False
 
 srcdir = _StrPathProperty()
 
 confdir = _StrPathProperty()
 
 outdir = _StrPathProperty()
 
 doctreedir = _StrPathProperty()
 

Static Protected Member Functions

str _escape (re.Match[str] match)
 

Additional Inherited Members

- Protected Member Functions inherited from sphinx.builders.html.StandaloneHTMLBuilder
Path|None _get_translations_js (self)
 
Iterator[str] _get_style_filenames (self)
 
str _get_local_toctree (self, str docname, bool collapse=True, **Any kwargs)
 
- Protected Member Functions inherited from sphinx.builders.Builder
NullTranslations|None _translator (self)
 
None _read_serial (self, list[str] docnames)
 
None _read_parallel (self, list[str] docnames, int nproc)
 
None _write_serial (self, Sequence[str] docnames)
 
None _write_parallel (self, Sequence[str] docnames, int nproc)
 
- Protected Attributes inherited from sphinx.builders.html.StandaloneHTMLBuilder
 _static_dir
 
 _sources_dir
 
 _downloads_dir
 
 _images_dir
 
 _publisher
 
 _css_files
 
 _js_files
 
 _orig_css_files
 
 _orig_js_files
 

Detailed Description

Builder that also outputs Windows HTML help project, contents and
index files.  Adapted from the original Doc/tools/prechm.py.

Member Function Documentation

◆ build_project_file()

None htmlhelp.HTMLHelpBuilder.build_project_file (   self)
Create a project file (.hhp) on outdir.

◆ build_toc_file()

None htmlhelp.HTMLHelpBuilder.build_toc_file (   self)
Create a ToC file (.hhp) on outdir.

◆ copy_stopword_list()

None htmlhelp.HTMLHelpBuilder.copy_stopword_list (   self)
Copy a stopword list (.stp) to outdir.

The stopword list contains a list of words the full text search facility
shouldn't index.  Note that this list must be pretty small.  Different
versions of the MS docs claim the file has a maximum size of 256 or 512
bytes (including \r\n at the end of each line).  Note that "and", "or",
"not" and "near" are operators in the search language, so no point
indexing them even if we wanted to.

◆ handle_finish()

None htmlhelp.HTMLHelpBuilder.handle_finish (   self)

◆ init()

None htmlhelp.HTMLHelpBuilder.init (   self)
Load necessary templates and perform initialization.  The default
implementation does nothing.

Reimplemented from sphinx.builders.html.StandaloneHTMLBuilder.

◆ prepare_writing()

None htmlhelp.HTMLHelpBuilder.prepare_writing (   self,
set[str]  docnames 
)
A place where you can add logic before :meth:`write_doc` is run

Reimplemented from sphinx.builders.html.StandaloneHTMLBuilder.

◆ update_page_context()

None htmlhelp.HTMLHelpBuilder.update_page_context (   self,
str  pagename,
str  templatename,
dict[str, Any]  ctx,
str  event_arg 
)

◆ write_doc()

None htmlhelp.HTMLHelpBuilder.write_doc (   self,
str  docname,
nodes.document  doctree 
)
Write the output file for the document

:param docname: the :term:`docname <document name>`.
:param doctree: defines the content to be written.

The output filename must be determined within this method,
typically by calling :meth:`~.Builder.get_target_uri`
or :meth:`~.Builder.get_relative_uri`.

Reimplemented from sphinx.builders.html.StandaloneHTMLBuilder.

Member Data Documentation

◆ epilog

htmlhelp.HTMLHelpBuilder.epilog
static
Initial value:
= __('You can now run HTML Help Workshop with the .htp file in '
'%(outdir)s.')

The documentation for this class was generated from the following file: