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
Built Distribution
Hashes for sphinx_bazel-0.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7676a0fb2dfed08d36863ae93fc3e4e5710483bb485d9f8e9d84522450a595e1 |
|
MD5 | b6d8dd4d954b61b3a1e9fd53aae97d4c |
|
BLAKE2b-256 | 55864c7e9e13c499c9f78ddb7081aac3896b762c6440d9d42741c8ca1b4b345e |