Skip to content

Commit 3bb2d0f

Browse files
authored
Trying to fix readthedocs build with the addtion of .readthedocs.yaml. (#847)
* Trying to fix readthedocs build with the addtion of .readthedocs.yaml. * Added sphinx theme dependency. * Added sphinx theme dependency.
1 parent 6ebfdc3 commit 3bb2d0f

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

.readthedocs.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.11"
13+
14+
# Build documentation in the docs/ directory with Sphinx
15+
sphinx:
16+
configuration: docs/source/conf.py
17+
18+
# We recommend specifying your dependencies to enable reproducible builds:
19+
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
20+
python:
21+
install:
22+
- requirements: docs/requirements.txt

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ sphinxcontrib-jsmath==1.0.1
2626
sphinxcontrib-qthelp==1.0.3
2727
sphinxcontrib-serializinghtml==1.1.5
2828
sphinxcontrib-spelling==7.3.2
29+
sphinx-material
2930
urllib3==1.26.8
3031
zipp==3.7.0

0 commit comments

Comments
 (0)