Build Doc¶
If you’d like to create Sphinx documentation locally, follow the steps explained below locally. Tested on Conda 4.6.X
- Create a conda environment:
conda create -n vogue_doc -c bioconda -c conda-forge python=3.6 pip
conda activate vogue_doc
- Install Sphinx and extensions:
cd docs
pip install -r requirements.txt -r ../requirements-dev.txt -r ../requirements.txt
- Build docs:
sphinx-apidoc -o source/ ../vogue
sphinx-build -T -E -b html -d _build/doctrees-readthedocs -D language=en . _build/html
- View docs (
open
or similar command from your OS):
open _build/html/index.html