Skip to main content

Sphinx extension for documenting Omni commands

Project description

OmniCLI Sphinx Plugin

A Sphinx extension for automatically documenting omni commands by extracting their help information.

This uses the --output json flag of the help command which was introduced in omni 0.0.29.

Installation

pip install omnicli-sphinx

Usage

  1. Add 'omnicli_sphinx' to your extensions in conf.py:
extensions = [
    'omnicli_sphinx',
    # ... other extensions
]
  1. Use the directive in your RST files:
.. omnicli:: command

Development

Use omni clone omnicli/sphinx-extension to clone this repository. You can also clone it with git clone and then use omni up to install dependencies.

Use omni test to run the tests.

License

MIT License

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

omnicli_sphinx-0.0.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

omnicli_sphinx-0.0.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file omnicli_sphinx-0.0.1.tar.gz.

File metadata

  • Download URL: omnicli_sphinx-0.0.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for omnicli_sphinx-0.0.1.tar.gz
Algorithm Hash digest
SHA256 755434b0e3de70e7f56e234c9c390162d77cb14df4a66a5d04bf68fedbb8d817
MD5 47fbd84c6019b99e60c63ae0b5817265
BLAKE2b-256 ed59ab60c1400d7ebab016aad24969d2bad521e8d50d811d1d520dedb529bea6

See more details on using hashes here.

Provenance

The following attestation bundles were made for omnicli_sphinx-0.0.1.tar.gz:

Publisher: build.yaml on omnicli/sphinx-extension

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

File details

Details for the file omnicli_sphinx-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: omnicli_sphinx-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for omnicli_sphinx-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 975e9bf780fff1027e49fd2ee701e8a06a131c951a94fc5b56504ecbdc3ec9e7
MD5 dc15edbe8eeae048d7e363e0d9390997
BLAKE2b-256 0ca84b06df2bf5a1ba77e0f603a803924cf90230d5ee4d394f93f608363abca9

See more details on using hashes here.

Provenance

The following attestation bundles were made for omnicli_sphinx-0.0.1-py3-none-any.whl:

Publisher: build.yaml on omnicli/sphinx-extension

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