Linux Foundation DocsConf
Project description
The purpose of this project is to allow LF projects a centralized location for storing common project configuration.
To use this a project should create a conf.yaml file in the same directory as their conf.py. The minimal configuration for conf.py is:
from docs_conf import *
The minimal configuration for conf.yaml file is:
--- project_cfg=myproject
Docs will load default configuration for ‘myproject’ from this package if it exists, otherwise it will load basic configuration from Sphinx defaults.
Configuration precedence for configuration is as follows:
project/conf.py
project/conf.yaml
docs_conf/defaults/{project_cfg}.yaml
docs_conf/defaults/default.yaml
docs_conf/__init__.py
- conf.py structure and documentation:
TODO
- [ ] Define the minimal set of config values to release initial version.
These can probably come from ODL/OPNFV site conf.py files.
- [ ] Use sane defaults, and don’t error out if something is not set.
We must import each config cleanly (if it doesn’t exist, set None or something; like the function dict.get()).
- [ ] Create own documentation for project detailing use of ‘conf.cfg’
file as some values will require subkeys given that they’re dictionaries or expect a list of tuples.
- [ ] Setup and document section. With the documentation organized by section,
the config should also contain these section and look for their values under them.
Sections:
general (aka sphinx)
project
i18n
html_output
apple_help
epub_output
latex_output
text_output
manpage_output
texinfo_output
linkcheck
xml
cplusplus
[ ] Configure pre-plugin sections, and reference by plugin listing.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lfdocs_conf-0.7.7.tar.gz
.
File metadata
- Download URL: lfdocs_conf-0.7.7.tar.gz
- Upload date:
- Size: 24.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b175f712f0d7dca488e4fe0d583947a22c214db5a54aab3f74cdf534c85087d6 |
|
MD5 | b35c76da8f7cdaf7f7aa0a92be16a6d3 |
|
BLAKE2b-256 | 0e87e4c21df45a3e470f55d31d91bbb83f04a7ae7f57f1def7305e148e3c0920 |
File details
Details for the file lfdocs_conf-0.7.7-py2.py3-none-any.whl
.
File metadata
- Download URL: lfdocs_conf-0.7.7-py2.py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b039f04108439b6094a436afaa314e3340b44b212d4e104bf95502a6cb35f880 |
|
MD5 | 9785d7c4cd3b28c917f70111b5da0e35 |
|
BLAKE2b-256 | 3c3200824d30f4f304b3967f644c654310b67d4288c6bc9897afd35468806713 |