Skip to main content

Sphinx bazel extension to include content from bazel files.

Project description

Complete, rendered documentation: http://sphinx-bazel.readthedocs.io/en/latest/

Sphinx-Bazel

Sphinx extension to provide information from bazel files to sphinx based documentations.

Installation

pip install sphinx-bazel

Usage

Add sphinxcontrib.sphinx_bazel to the extension list of conf.py:

extensions = [
    'sphinx.ext.autodoc',
    'sphinx.ext.todo',
    'sphinx.ext.viewcode',
    'sphinxcontrib.sphinx_bazel',  # <-- That's our extension
]

Now you can start to use Sphinx-Bazel inside your project.

For instance open index.rst file and add:

.. autobazel-workspace:: <path_to_bazel_workspace>
   :packages:

Where <path_to_bazel_workspace> must be an absolute path or a relative path to the location of the conf.py file of your documentation project.

Fore more examples and a complete documentation, please visit http://sphinx-bazel.readthedocs.io/en/latest/

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

sphinx-bazel-0.1.6.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

sphinx_bazel-0.1.6-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file sphinx-bazel-0.1.6.tar.gz.

File metadata

  • Download URL: sphinx-bazel-0.1.6.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for sphinx-bazel-0.1.6.tar.gz
Algorithm Hash digest
SHA256 c190dec575dbef685b00570811b2d84bdb79b00c15b145c72425376d8a8d5fa4
MD5 194db37b2c26d5db34162b847c569d43
BLAKE2b-256 170f319c98f1157e6fe1581b4a56d5e50524ca7a9fb3477e3d2f1cd8873e5632

See more details on using hashes here.

File details

Details for the file sphinx_bazel-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: sphinx_bazel-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for sphinx_bazel-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 deb54c9cd164d97e4c900770538fceef4f813384a17b155c86a818174ff368da
MD5 7f68514e1a39bffe9b8553faf38cf643
BLAKE2b-256 6e59878f5586ad7d150ac55461157b3efd74940557cf0b83ca6698edc6f5e435

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