DocumenteerConfig#
- class documenteer.conf.DocumenteerConfig(conf)#
Bases:
object
Configuration from a documenteer.toml file.
- Parameters:
conf (
ConfigRoot
) –
Attributes Summary
Base root URL for the site.
The copyright statement.
The project's GitHub repository.
Project title.
The project's version.
Methods Summary
- rtype:
load
(toml_content)- param toml_content:
Attributes Documentation
- base_url#
Base root URL for the site.
The URL is obtained in this order:
The
base_url
field of the[project]
table in documenteer.toml.From importlib.metadata if
[project.python]
is set in documenteer.toml.Default is “”.
- Return type:
- github_url#
The project’s GitHub repository.
The GitHub URL is obtained in this order:
The project.github_url field in
documenteer.toml
From importlib if the project.python table is set
Default is None.
- version#
The project’s version.
The version is obtained in this order:
project.version field in
documenteer.toml
From importlib if the project.python table is set
Default is None.
Methods Documentation
- classmethod find_and_load()#
- Return type: