mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 15:40:01 -06:00
4a7cc3467c
Documentation generator can be run inside Python virtual environment. This allows to isolate from the system-wide changes and add Sphinx extensions that aren't packaged in a distribution. The only exception right now is plantuml package. We rely on plantuml to generate diagrams and since it is written in Java, it cannot be installed directly into the Python venv through 'pip' tool. Fixes: https://pagure.io/freeipa/issue/9148 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Francisco Trivino <ftrivino@redhat.com>
9 lines
207 B
YAML
9 lines
207 B
YAML
steps:
|
|
- script: |
|
|
set -e
|
|
echo "Generate virtual environment for building documentation"
|
|
make -C doc/ venv
|
|
echo "Build documentation"
|
|
make -C doc/ html
|
|
displayName: Build documentation
|