docs: Add requirements.txt file with dependencies for Sphinx.
Signed-off-by: Jos Verlinde <Jos.Verlinde@Microsoft.com>
This commit is contained in:
parent
da193c42f6
commit
a93ebd0e03
2
.github/workflows/docs.yml
vendored
2
.github/workflows/docs.yml
vendored
@ -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
|
||||||
|
@ -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
2
docs/requirements.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
sphinx~=7.2.6
|
||||||
|
sphinxcontrib.jquery==4.1
|
Loading…
Reference in New Issue
Block a user