Skip to content

Commit

Permalink
fix readthedocs build (#1040) to support the new requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Aug 24, 2023
1 parent 2c720dd commit d12d6a2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mkdocs==1.5.1
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins:
- search
theme:
name: readthedocs
pages:
nav:
- Home: 'index.md'
- About:
- 'Introduction': 'Introduction.md'
Expand Down
20 changes: 20 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"

python:
install:
- requirements: doc/requirements.txt

mkdocs:
configuration: mkdocs.yml
fail_on_warning: false

0 comments on commit d12d6a2

Please sign in to comment.