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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lfdocs_conf-0.11.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lfdocs_conf-0.11.0.tar.gz
  • Upload date:
  • Size: 41.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for lfdocs_conf-0.11.0.tar.gz
Algorithm Hash digest
SHA256 04178b2c249c1c1588264fa7de88fb92c82d8d6062f783f99119d78c5588b971
MD5 a104d8260faddda4f6a80ac0d3f30d31
BLAKE2b-256 46348e2f760a6cfcab7e8cdf08f95d67eb878bcc35e618675058d2d57c22e0ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for lfdocs_conf-0.11.0.tar.gz:

Publisher: build-test-release.yaml on lfit/releng-docs-conf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file lfdocs_conf-0.11.0-py3-none-any.whl.

File metadata

  • Download URL: lfdocs_conf-0.11.0-py3-none-any.whl
  • Upload date:
  • Size: 12.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for lfdocs_conf-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ce3519d9bad796b63410cf324d73fc16c54da4f8ca1a120979ecd59115796e5
MD5 ec2b7c0f47b46e09d6c710bff8917a19
BLAKE2b-256 c7f1dc2f4971859bf12f42ff01d99617f6ba155a5e3db327e6c0ec48d85856a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for lfdocs_conf-0.11.0-py3-none-any.whl:

Publisher: build-test-release.yaml on lfit/releng-docs-conf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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