This repository provides help in generating sphinx doc ("user manual") and doxygen ("source code") documentation. It provides a docker setup, which should run on any machine. The first run usually takes a few minutes as the docker containers are build for the first time.
If you have a docker-compose in place just add the following lines to it: make sure that your local directories for the documentation and source code is reflected.
Just add it as a part of your services:
version: '2'
services:
doc:
image: tlwt/doctemplate
volumes:
- ./documentation:/docs
- ./src:/src
ports:
- 8080:80
alternatively you can just execute the following docker run command
docker run -p 8080:80 -v $(PWD)/documentation:/docs -v $(PWD)/src:/src tlwt/doctemplate
You then only need to open http://localhost:8080 and follow the instructions there. The generation of documents still takes a while - please don't click while it run. I'll need to integrate some kind of indicator that the system is still running.
You should probably add the output directories to your .gitignore file.
docs/sphinxdocs/*
docs/doxygen/*
holds the docker files, likely no need to change anything
holds both input and output files for the documentation. The system will generate necessary files for you.
Content type
Image
Digest
Size
411.8 MB
Last updated
almost 6 years ago
docker pull tlwt/doctemplate