Skip to content

Commit

Permalink
update readthedocs_config to point to 'doc', and list requirements (#233
Browse files Browse the repository at this point in the history
)

This should fix the readthedocs configuration, solving the issue
https://readthedocs.org/projects/uncertainties/builds/24572849/
pointed out by @andrewgsavage
  • Loading branch information
newville committed Jun 3, 2024
1 parent 5116331 commit 3c3853d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ build:

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
configuration: doc/conf.py
builder: "all"
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
Expand All @@ -30,6 +31,6 @@ sphinx:
# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
# python:
# install:
# - requirements: docs/requirements.txt
python:
install:
- requirements: doc/requirements.txt
3 changes: 3 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sphinx
sphinx-copybutton
python-docs-theme

0 comments on commit 3c3853d

Please sign in to comment.