update instructions to build the documentation

The documentation moved from
https://git.entrouvert.org/authentic.git to https://git.entrouvert.org/authentic2-doc.git

License: MIT
This commit is contained in:
Loïc Dachary 2021-06-18 08:16:00 +02:00
parent 034949d613
commit 771899375e
No known key found for this signature in database
GPG Key ID: 130A0B53C3EEB5FA
1 changed files with 13 additions and 2 deletions

View File

@ -76,10 +76,21 @@ The `.po` files can be updated as follows::
Build the documentation
=======================
1. Clone the repository::
$ git clone https://git.entrouvert.org/authentic2-doc.git
2. Setup a virtualenv::
$ sudo apt-get install direnv
$ echo layout python3 > authentic2-doc/.envrc
$ direnv allow authentic2-doc
$ cd authentic2-doc
$ pip install sphinx
1. Build::
$ pip install sphinx
$ sphinx-build -b html doc build/html
$ sphinx-build -b html . build/html
2. Display::