Sphinx extension for Doxygen entries.
Project description
Doxysummary
A Sphinx extension for creating autosummary with entries from xml files generated by Doxygen.
Installation
To install doxysummary:
$ pip install .
To build examples:
$ cd example
$ doxygen Doxyfile
$ make html
To compile the doc:
$ cd docs
$ make html
Usage
In conf.py, add sphinx_doxysummary to the list of extensions, and set the
config variable doxygen_xml to the list of locations of xml files:
extensions = [...
'sphinx_doxysummary',
...
]
doxygen_xml = ['./xml'] # each directory corresponds to one Doxygen project
Then in the input rst file, add the following directive:
.. doxysummary::
:toctree: generated
:template: cppclass.rst
spam::Foo # this is comment
Bar
~a_long_name_space::MyClass # only MyClass appears in the summary table
Note:
- Anything placed after
#is line comment. - Display non-scoped name in the summary table by placing a
~at the beginning of the entry
Options
-
:template:(optional) : name of the template. -
:toctree:(optional) : directory in which rst files are generated. -
:scope:(optional) : current scope (namespace, class, enum, etc) of the items... doxysummary:: :toctree: generated :template: cppclass.rst :scope: fruit Cherry # as same as fruit::Cherry Orange # as same as fruit::Orange
User can customize the displayed name of the item in the autosummary table with aliasing:
.. doxysummary::
:toctree: generated
:template: cppclass.rst
fruit::Cherry "CppCherry"
fruit::Orange "CppOrange" # display name is CppOrange and CppCherry
Note: Alias containing space is not recommended.
Function overloading is supported:
.. doxysummary::
:toctree: generated
func_overload()
func_overload(int a) "func_overload(int)"
func_overload(char,char)
func_overload(const std::vector<double>&)
func_overload(double&&)
func_overload(long\*)
func_overload(int (&)[3])
func_overload(int(\*)(double))
func_overload(int MyClass::*)
Project details
Release history Release notifications | RSS feed
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_doxysummary-1.0.1.tar.gz.
File metadata
- Download URL: sphinx_doxysummary-1.0.1.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c393cd294deb5e361cfedef133bc16c2a1523cf47f1e4d097c71d13134e4cedc
|
|
| MD5 |
3d4bc716ac7c72acb1a01095a5147eca
|
|
| BLAKE2b-256 |
23b9bbd703ad6c8f453f0fd5c3bfa8d50be45a14bcf65c53014d317be346e836
|
Provenance
The following attestation bundles were made for sphinx_doxysummary-1.0.1.tar.gz:
Publisher:
publish-pypi.yml on quocdang1998/doxysummary
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_doxysummary-1.0.1.tar.gz -
Subject digest:
c393cd294deb5e361cfedef133bc16c2a1523cf47f1e4d097c71d13134e4cedc - Sigstore transparency entry: 2130919751
- Sigstore integration time:
-
Permalink:
quocdang1998/doxysummary@e0b4ac9f92fd532a56883e52634567a7fe5a019d -
Branch / Tag:
refs/heads/master - Owner: https://github.com/quocdang1998
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@e0b4ac9f92fd532a56883e52634567a7fe5a019d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file sphinx_doxysummary-1.0.1-py3-none-any.whl.
File metadata
- Download URL: sphinx_doxysummary-1.0.1-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e5797a108405b4d5e592e1d594a90b8c6099a9560077cbc52742a2ee4351653
|
|
| MD5 |
40981fd0dedf8856e7b4746701de7f08
|
|
| BLAKE2b-256 |
13795837f7f08dc503225a2b21a0ea52c047cd97707acbe3a0ddee7e961efc97
|
Provenance
The following attestation bundles were made for sphinx_doxysummary-1.0.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on quocdang1998/doxysummary
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_doxysummary-1.0.1-py3-none-any.whl -
Subject digest:
9e5797a108405b4d5e592e1d594a90b8c6099a9560077cbc52742a2ee4351653 - Sigstore transparency entry: 2130919786
- Sigstore integration time:
-
Permalink:
quocdang1998/doxysummary@e0b4ac9f92fd532a56883e52634567a7fe5a019d -
Branch / Tag:
refs/heads/master - Owner: https://github.com/quocdang1998
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@e0b4ac9f92fd532a56883e52634567a7fe5a019d -
Trigger Event:
workflow_dispatch
-
Statement type: