Skip to main content

A script to generate Sphinx ReST from Doxygen XML

Project description

Sphinxygen

Sphinxygen is a Python module/script that generates Sphinx markup to describe a C API, from an XML description extracted by Doxygen.

Installation

Sphinxygen can be installed from PyPI with pip:

pip3 install sphinxygen

Alternatively, it can be installed locally from this source tree:

pip3 install .

Usage

Sphinxygen is mainly intended for use on the command line or in scripts. After installation, sphinxygen should be available to be run on an index.xml file, for example:

sphinxygen xml/index.xml sphinx_input

See the output of sphinxygen --help for details.

A sphinxygen module is also installed for programmatic use within Python, typically via sphinxygen.run() which is a straightforward reflection of the command-line options. The command-line interface is also available as sphinxygen.main().

A minimal meson build definition is included for using Sphinxygen as a subproject. It is not intended for installation, or any use other than wrapping sphinxygen.py to ensure that it's available from meson.

-- David Robillard d@drobilla.net

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

sphinxygen-1.0.12.tar.gz (14.6 kB view details)

Uploaded Source

File details

Details for the file sphinxygen-1.0.12.tar.gz.

File metadata

  • Download URL: sphinxygen-1.0.12.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for sphinxygen-1.0.12.tar.gz
Algorithm Hash digest
SHA256 4dfc9cd1c89448f1c98c59a3ec63e0c5df2dafcc631ce48de793692b244451b9
MD5 cf34f3c0f12de110de9bf4ab80a7f4fd
BLAKE2b-256 949ff773d81507df80867e674653adbde56087b75e90d0453ef22f02fb25d725

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page