docs: Add requirements.txt file with dependencies for Sphinx.

Signed-off-by: Jos Verlinde <Jos.Verlinde@Microsoft.com>
This commit is contained in:
Jos Verlinde 2023-09-22 18:00:36 +00:00 committed by Damien George
parent da193c42f6
commit a93ebd0e03
3 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,6 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
- name: Install Python packages - name: Install Python packages
run: pip install Sphinx run: pip install -r docs/requirements.txt
- name: Build docs - name: Build docs
run: make -C docs/ html run: make -C docs/ html

View File

@ -245,7 +245,7 @@ that you use a virtual environment:
$ python3 -m venv env $ python3 -m venv env
$ source env/bin/activate $ source env/bin/activate
$ pip install sphinx $ pip install -r docs/requirements.txt
Navigate to the ``docs`` directory: Navigate to the ``docs`` directory:

2
docs/requirements.txt Normal file
View File

@ -0,0 +1,2 @@
sphinx~=7.2.6
sphinxcontrib.jquery==4.1