Public | Automated Build

Last pushed: a year ago
Short Description
Python documentation extraction in xml format using sphinx
Full Description

Sphinx documentation xml extraction

This docker image provides an easy way to extract python documentation in xml format from python modules.

It only needs a setup script to install the needed packages and an index.rst to define the desired output.


Build/Pull the image

docker pull blang/sphinx-xml-extract
# OR build by yourself
docker build -t blang/sphinx-xml-extract .

Create a to install your package:

pip install matplotlib

Create a index.rst defining the output of sphinx:

.. automodule:: matplotlib.pyplot

Run the docker container:

Mount /data/output, that's where the generated index.xml will be placed.
Mount /data/input, containing and index.rst

docker run  -i -t -v /tmp/output:/data/output -v $PWD:/data/input:ro blang/sphinx-xml-extract
Docker Pull Command
Source Repository