Sign inSign up

pydicom/pydicom-docs

By pydicom

•Updated almost 8 years ago

dependencies for sphinx generated docs for building locally

Image
0

957

pydicom/pydicom-docs repository overview

⁠Pydicom Docs with Sphinx

The documentation at pydicom/doc⁠ will be automatically built and generated with continuous integration, via the circle.yml⁠. However, if you have need to test locally, you may not want to install dependencies. Here we are providing a simple Dockerfile to build an image that you can use to generate the docs. First, build the basic image:

cd pydicom-docs
docker build -t pydicom/pydicom-docs .

Next, cd back into the pydicom repo base (clone it first if you don't have it). We want to mount from here.

cd pydicom
docker run --volume $PWD:/data -it pydicom/pydicom-docs

Then you can build the docs:

cd doc && make html
exit

You should then be able to cd into _build/html on your local machine and preview with your webserver of choice

cd doc/_build/html
python -m http.server 9999

Then open your browser to http://127.0.0.1:9999⁠

Tag summary

Content type

Image

Digest

Size

1.2 GB

Last updated

almost 8 years ago

docker pull pydicom/pydicom-docs