OrangeQS Sphinx Extensions
Common Sphinx theme and extensions used internally by Orange Quantum Systems for building product documentation.
The Sphinx theme is an extension to Pydata Sphinx Theme with adaptations to company branding.
Usage
Theme
- Add
orangeqs-sphinx-extensionsto your requirements. - Copy the content of
conf_default.pyto your Sphinx'sconf.pyfile, modifying where needed. In particular, replacePATH_TO_YOUR_REPOby the URL of your Gitlab repository. It should have the formatinternal/wiki.
Generated API documentation
This package contains a Numpydoc parser for sphinx-autodoc2
taken from this issue comment.
To use it, install this package with extra enabled:
pip install orangeqs-sphinx-extensions[autodoc2]
After that, configure autodoc2 in Sphinx conf.py, for example:
extensions = [
...,
"autodoc2",
]
autodoc2_packages = ["../../PACKAGENAME"]
autodoc2_output_dir = "./api_reference"
autodoc2_render_plugin = "myst"
autodoc2_docstring_parser_regexes = [
(
".*",
"orangeqs.sphinx.autodoc2.numpydoc",
),
]
and add api_reference/index to toctree.
For more details on configuration, see documentation of sphinx-autodoc2
License and copyright
This package is licensed under BSD 3-clause license, unless other license and copyright is explicitly specified in the header comment or module docstring of the respective source code file.
Metadata
Release files for orangeqs-sphinx-extensions 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| orangeqs_sphinx_extensions-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Release files / orangeqs_sphinx_extensions-0.1.2-py3-none-any.whl
| Download URL | orangeqs_sphinx_extensions-0.1.2-py3-none-any.whl |
|---|---|
| Size | 35.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9394ba6b081c6a832fa0432d17fb6e14dc0491512ffde9cbd43f8d0b623729ae
|
|
BLAKE2b-256 checksum How to use checksums |
d11be8ac2b836ce36c295388d9ed5e7c7f1f3db48c5647b008061b7677ef1f2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.3
|
Security for orangeqs-sphinx-extensions 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.