A Sphinx autodoc extension for SystemVerilog, powered by
the pyslang parser.
It documents SystemVerilog source the way sphinx.ext.autodoc documents Python: declarations
and their doc comments are pulled directly from source, supporting multiple comment dialects
(a Python-docstring-like native style, NaturalDocs, and Doxygen).
📖 Documentation: https://dvkit.org/fvutils/sphinx-systemverilog/
Status: early development. See
docs/design/for the design and implementation plan.
Installation
pip install sphinx-systemverilog
Quick start
# docs/conf.py
extensions = ["sphinx_systemverilog"]
sv_source_dirs = ["../rtl"]
sv_doc_style = "native"
.. autosvclass:: my_pkg::my_transaction
:members:
Development
source packages/python/bin/activate
pip install -e .
pytest -m "unit or sphinx"
sphinx-build -W docs docs/_build/html
License
Apache-2.0.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx_systemverilog-0.3.0.tar.gz.
File metadata
- Download URL: sphinx_systemverilog-0.3.0.tar.gz
- Upload date:
- Size: 48.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0900626f6b7e8d5af76ad98451fe22a8fdd84f29974f3685272383320c552ac5
|
|
| MD5 |
873d43060a8204ffc3a737b789ef45fb
|
|
| BLAKE2b-256 |
eba9097be5a10261ca2b786e3e01402130297fe88201f9f70383eafe83813813
|
File details
Details for the file sphinx_systemverilog-0.3.0-py3-none-any.whl.
File metadata
- Download URL: sphinx_systemverilog-0.3.0-py3-none-any.whl
- Upload date:
- Size: 56.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff7357dc30b22986709bc2e6f7ea199c6b10e3286e1a90c16b5cd47b2ad10ffa
|
|
| MD5 |
86e345e6db8cb6ad59456d90e2a6340a
|
|
| BLAKE2b-256 |
7542a4261da6336a47154fc5593bdc335140480072037f0ee5a7fd615c154485
|