Skip to main content

Doxygen / Sphinx bridge, with autodoc and autosummary

Project description

https://travis-ci.org/rmcgibbo/sphinxcontrib-autodoc_doxygen.svg?branch=master

Example Output

This a (pre-alpha) extension for sphinx that to read and display Doxygen XML output. It is similar to Breathe. The implementation extends sphinx.ext.autodoc and sphinx.ext.autosummary as closely as possble.

Usage

In your Sphinx conf.py` add ``'sphinxcontrib.autodoc_doxygen' to the list of extensions, and set the variable doxygen_xml to a string containing the path to the directory containing your Doxygen XML output.

This adds the following RST directives.

autodoxysummary
autodoxyclass
autodoxymethod
autodoxyenum

Examples

.. autodoxysummary::
   :toctree: generated/
   :template: doxyclass.rst

   OpenMM::CustomIntegrator
   OpenMM::CustomCompoundBondForce

This produces the output shown here

Installation

You can install it with pip (py27 or py33+):

pip install git+https://github.com/rmcgibbo/sphinxcontrib-autodoc_doxygen.git
  • Dependecies with Conda (cross-platform)

    conda install sphinx six lxml
  • Dependencies with linux system package manager (e.g. with /usr/local/bin/python):

    # debian
    sudo apt-get install python-setuptools python-lxml python-sphinx python-pip
    # or, for fedora
    sudo yum install python-setuptools python-lxml python-sphinx python-pip
  • Dependencies with Windows

    If you use windows, I receommend using conda. If not, you may be able to download the lxml dependency from Christoph Gohlke’s repository

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

sphinxcontrib-autodoc_doxygen-0.1.0.tar.gz (249.1 kB view hashes)

Uploaded Source

Built Distribution

sphinxcontrib_autodoc_doxygen-0.1.0-py2.py3-none-any.whl (14.6 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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