Skip to main content

Sphinx bazel extension to include content from bazel files.

Project description

Complete, rendered documentation:


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


pip install sphinx-bazel


Add sphinxcontrib.sphinx_bazel to the extension list of

extensions = [
    '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>

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

Fore more examples and a complete documentation, please visit

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

Uploaded source

Built Distribution

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

Uploaded py3

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