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

Uploaded Source

Built Distribution

lfdocs_conf-0.5.0-py2.py3-none-any.whl (8.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: lfdocs_conf-0.5.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.3

File hashes

Hashes for lfdocs_conf-0.5.0.tar.gz
Algorithm Hash digest
SHA256 68e65f75b9d357dcfd073b826a44ae7f0d2cc55ac72084da4b44ca3e699cc06b
MD5 f2081dd5285479baf9e86eabfb7b77ad
BLAKE2b-256 8616398cddd911b0fc3d5046b984cfaaad716b56b2328427bb0649da07a1bf36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lfdocs_conf-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.8.3

File hashes

Hashes for lfdocs_conf-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e71a40d2fe727852aa7d40627b4093eb750b424286101224349f89daa9452d16
MD5 dca70f67fa5c5b8e950e3cf837b332af
BLAKE2b-256 ad13e75576186b3c5fd2f0f7f14b7944a3d6439ada72f4811f96892b968377b1

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