Skip to content

Commit

Permalink
try fixing the read-the-docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
schlegelp committed Apr 12, 2024
1 parent 9d4ca69 commit 6daf310
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,27 @@
# Required
version: 2

# Make sure that dependencies are install with pip instead of setup.py
# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.10"

# Make sure that dependencies are installed with pip instead of setup.py
python:
version: 3.7
install:
- requirements: docs/preinstall_requirements.txt
- requirements: docs/requirements.txt
- requirements: requirements.txt
#- requirements: requirements.txt
- method: pip
path: .
system_packages: true

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: html
configuration: docs/conf.py

# Build documentation with MkDocs
#mkdocs:
# configuration: mkdocs.yml

# Optionally build your docs in additional formats such as PDF
#formats:
# - pdf

5 changes: 5 additions & 0 deletions docs/preinstall_requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
###### Requirements without Version Specifiers ######
# For some odd reason, readthedocs uses a really old version of setuptools
# Note: as of v58.0.0 the `2to3` option for setup() is gone which breaks
# ALL installs of sphinx-bootstrap-theme
setuptools==57.5.0

0 comments on commit 6daf310

Please sign in to comment.