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. Conf.py should contain at minimum:
from docs_conf import *
The conf.yaml file should contain at minimum:
--- project_cfg=myproject
If defaults for ‘myproject’ exist, they will be loaded from this package, otherwise the basic Sphinx defaults will be set.
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 minimum 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.
Each config needs to be imported gracefully (if it doesn’t exist, set None or something; similar to 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. The documentation already is organized
by section, so 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.3.0.tar.gz
.
File metadata
- Download URL: lfdocs_conf-0.3.0.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 687c25cb76d518e79e071217ef089fabbf8ca0bc673f9b2a342132e2dc70728c |
|
MD5 | 6a584683478543fff0a00546f5bc280e |
|
BLAKE2b-256 | 00e514e9eacfdcdf9c6d6410e0208f2ffc044fe0b29151c9f54789133bfe92b0 |
File details
Details for the file lfdocs_conf-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: lfdocs_conf-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4254d9905bd30b425126fc95e0b9355bd484749cc154c41a4877ddd05232394 |
|
MD5 | c79099ee0ff4130aabbda2f13018d4f9 |
|
BLAKE2b-256 | 7f69a5dbbca277f22b4dcef47ef88d1cbf96e3be153664fc87d231f3abcc0af5 |