Build Doc

If you’d like to create Sphinx documentation locally, follow the steps explained below locally. Tested on Conda 4.6.X

  1. Create a conda environment:
conda create -n vogue_doc -c bioconda -c conda-forge python=3.6 pip
conda activate vogue_doc
  1. Install Sphinx and extensions:
cd docs
pip install -r requirements.txt -r ../requirements-dev.txt -r ../requirements.txt
  1. Build docs:
sphinx-apidoc -o source/ ../vogue
sphinx-build -T -E -b html -d _build/doctrees-readthedocs -D language=en . _build/html
  1. View docs (open or similar command from your OS):
open _build/html/index.html