Using docker to build ReadtheDocs documentation for the Tripal Project.
273
This image is used to build the Tripal Project documentation.
The following commands get you ready to start editing and building the Tripal Project documentation. Essentially they pull down the git repository locally and get a copy of this docker image.
git clone https://github.com/tripal/tripal_doc
cd tripal_doc
docker pull tripalproject/tripaldoc:latest
Then use the following command to build the documentation. This command creates a docker container, builds the documentation in your local tripal_doc folder and then removes the container.
docker run --rm --volume=`pwd`:/tripal_doc tripaldocs:latest make html
Then once the above completes successfully you should be able to open the local copy of your documentation:
open docs/_build/html/index.html
Content type
Image
Digest
sha256:11f56575e…
Size
424.8 MB
Last updated
almost 3 years ago
docker pull tripalproject/tripaldoc