Skip to main content

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:

  1. project/conf.py

  2. project/conf.yaml

  3. docs_conf/defaults/{project_cfg}.yaml

  4. docs_conf/defaults/default.yaml

  5. docs_conf/__init__.py

conf.py structure and documentation:

http://www.sphinx-doc.org/en/stable/config.html

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lfdocs_conf-0.2.6.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

lfdocs_conf-0.2.6-py2.py3-none-any.whl (6.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file lfdocs_conf-0.2.6.tar.gz.

File metadata

  • Download URL: lfdocs_conf-0.2.6.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.2

File hashes

Hashes for lfdocs_conf-0.2.6.tar.gz
Algorithm Hash digest
SHA256 a61c3b4e9b80d4f2dcc5ef46a879d5e5af5a4a1efc31b555c8a40ce9e9330a5a
MD5 e7aa1af3550563e5b62c687138ffcd23
BLAKE2b-256 66348c88a8f32a2b32e4bde49e08b0e644c29769d7bf5004fd851e3ca70bfb34

See more details on using hashes here.

File details

Details for the file lfdocs_conf-0.2.6-py2.py3-none-any.whl.

File metadata

  • Download URL: lfdocs_conf-0.2.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.2

File hashes

Hashes for lfdocs_conf-0.2.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 67f6d50e01cb8883075c9b5368bf6ac9e8069346ada73e3b09e07a6dea343940
MD5 19d67cf19078a37a6445176bc8d6fb16
BLAKE2b-256 45d25e56a4270b1de163a9e89e241f41d9ebe00f43025ddf634ae4defd7dfe4f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page