module helpgen._single_file_html_builder
¶
Short summary¶
module pyquickhelper.helpgen._single_file_html_builder
Copy of singlehtml.py
Single HTML builders.
- copyright:
Copyright 2007-2020 by the Sphinx team, see AUTHORS.
- license:
BSD, see LICENSE for details.
Classes¶
class |
truncated documentation |
---|---|
A StandaloneHTMLBuilder subclass that puts the whole document tree on one HTML page. |
Properties¶
property |
truncated documentation |
---|---|
|
|
|
Static Methods¶
staticmethod |
truncated documentation |
---|---|
|
Methods¶
method |
truncated documentation |
---|---|
|
|
|
|
|
|
|
|
|
Documentation¶
Copy of singlehtml.py
Single HTML builders.
- copyright:
Copyright 2007-2020 by the Sphinx team, see AUTHORS.
- license:
BSD, see LICENSE for details.
- class pyquickhelper.helpgen._single_file_html_builder.CustomSingleFileHTMLBuilder(app: Sphinx, env: BuildEnvironment | None = None)[source]¶
Bases:
StandaloneHTMLBuilder
A StandaloneHTMLBuilder subclass that puts the whole document tree on one HTML page.
- epilog = 'The HTML page is in %(outdir)s.'[source]¶
The message emitted upon successful build completion. This can be a printf-style template string with the following keys:
outdir
,project
- get_doc_context(docname: str, body: str, metatags: str) Dict [source]¶
Collect items for the template context of a page.
- get_outdated_docs()[source]¶
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.
- get_relative_uri(from_: str, to: str, typ: str | None = None) str [source]¶
Return a relative URI between two source filenames.
May raise environment.NoUri if there’s no way to return a sensible URI.