Skip to content
D domain and autodocumenter for Sphinx
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ddoc
vendor
.gitignore
.gitmodules
LICENSE
README.md
requirements.txt
setup.py

README.md

SphinxDDoc

A sphinx extension that adds a domain for D as well as an autodocumenter that uses libdparse to get D documentation comments.

Usage

config.py:

extensions = [
    'ddoc.d', # For D domain
    'ddoc.autodoc', # For D autodoc, requires 'ddoc.d'
]

my_d_module.rst:

.. D domain

.. d:function::
    int foo(string file)
    int foo(int bar)
    :name: foo

.. D autodoc

.. automodule:: my_library.submodule
You can’t perform that action at this time.