BuildOutput
🛈 DocStrings¶
Everything a build function produced, independent of the site engine.
Writers (see mkdocs_mknodes.writers) turn this into the input of a concrete
static site generator.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pages
|
dict[str, str]
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) |
<class 'dict'>
|
assets
|
dict[str, str | bytes]
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) |
<class 'dict'>
|
nav
|
list[NavItem]
|
Built-in mutable sequence. If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified. |
<dynamic>
|
markdown_extensions
|
dict[str, dict[str, Any]]
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) |
<class 'dict'>
|
extra_css
|
list[str]
|
Built-in mutable sequence. If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified. |
<dynamic>
|
extra_javascript
|
list[Script]
|
Built-in mutable sequence. If no argument is given, the constructor creates a new empty list. The argument must be an iterable if specified. |
<dynamic>
|
templates
|
dict[str, str]
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) |
<class 'dict'>
|
extra
|
dict[str, Any]
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) |
<class 'dict'>
|
metadata
|
SiteMetadata
|
Site-level metadata inferred from the project. |
<dynamic>
|
edit_paths
|
dict[str, str]
|
dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2) |
<class 'dict'>
|
Source code in mkdocs_mknodes/generator/output.py
assets
class-attribute
instance-attribute
¶
Static files: path relative to the docs root -> content (CSS, JS, images, ...).
edit_paths
class-attribute
instance-attribute
¶
Page path -> repository path of the source that generated it.
extra
class-attribute
instance-attribute
¶
Theme variables (extra in MkDocs / Zensical configs).
extra_css
class-attribute
instance-attribute
¶
Stylesheets: URLs or paths relative to the docs root (contained in assets).
extra_javascript
class-attribute
instance-attribute
¶
extra_javascript: list[Script] = dataclasses.field(default_factory=list)
Scripts: URLs or paths relative to the docs root (contained in assets).
markdown_extensions
class-attribute
instance-attribute
¶
Python-Markdown extensions required by the pages: name -> config.
metadata
class-attribute
instance-attribute
¶
metadata: SiteMetadata = dataclasses.field(default_factory=SiteMetadata)
Site metadata inferred from the project.
nav
class-attribute
instance-attribute
¶
nav: list[NavItem] = dataclasses.field(default_factory=list)
Navigation tree.
pages
class-attribute
instance-attribute
¶
Markdown pages: path relative to the docs root -> Markdown.
templates
class-attribute
instance-attribute
¶
Theme template overrides (Material-style Jinja blocks): filename -> template.
:fa-brands-github: Show source on GitHub