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. 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:

  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 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


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.7.4.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

lfdocs_conf-0.7.4-py2.py3-none-any.whl (8.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lfdocs_conf-0.7.4.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for lfdocs_conf-0.7.4.tar.gz
Algorithm Hash digest
SHA256 c884d41754d58e25444246066ee3f59e85f7856d825cb47d26ccf80e0fabcaad
MD5 142de83ea0f9c7e638123c2cc9c56265
BLAKE2b-256 e81300f85f93a384f8e537eff36d7b079fb2f66ee10d12e1c54044a93147d199

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lfdocs_conf-0.7.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for lfdocs_conf-0.7.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 428ffd60c208a057c2e90ed1e727d2a41cdd01c27b6517de9714511619e7c394
MD5 ce4dcde77d47d265dc86a36f541f7a9c
BLAKE2b-256 6ec02798ae485f07320026caf3a64f4e8c147e4470f845b2a7de24d3e0c7b38e

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