Skip to content

Commit

Permalink
Merge pull request #2829 from bagerard/fix_readthedocs_build
Browse files Browse the repository at this point in the history
fix RTD build error
  • Loading branch information
bagerard authored Aug 18, 2024
2 parents 12ac6d8 + 4b56156 commit 24f55b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ jobs:
build_doc_dryrun:
# ensures that readthedocs can be built continuously
# to avoid that it breaks when new releases are being created
# The way RTD works is that it builds the doc on its side
# builds are visible at https://readthedocs.org/projects/mongoengine-odm/builds/
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
7 changes: 6 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ sphinx:

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/requirements.txt
# docs/conf.py is importing mongoengine
# so mongoengine needs to be installed as well
- method: setuptools
path: .

# Specify the build environment
build:
os: ubuntu-22.04
tools:
python: "3.9"

0 comments on commit 24f55b6

Please sign in to comment.