Added instruction for virtual environment for python.

This commit is contained in:
Jeetu 2020-04-10 13:34:03 +05:30
parent 0daece1e0e
commit a9ac084b8c

View File

@ -11,6 +11,7 @@ To build the manual the following dependencies must be met. We assume that you h
Python should be installed by default on most systems.
Sphinx can be installed either through your hosts package manager or using pip/easy_install.
Recommended way is to use virtual environment for building documentation.
*Note* [ReadTheDocs](https://readthedocs.org) works with Sphinx
`v1.2.2`. If you install a more recent version of sphinx then
@ -21,7 +22,12 @@ Sphinx can be installed either through your hosts package manager or using pip/e
The ReadTheDocs theme can be installed using pip as follows:
```sh
python3 -m venv idris2docs_venv
source idris2docs_venv/bin/activate
pip install --upgrade pip
pip install sphinx==1.2.2
pip install sphinx_rtd_theme
pip intsall recommonmark
```
### LaTeX