Skip to content

Commit

Permalink
try ubuntu-20.04, which matches vcs_environment?
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Feb 8, 2023
1 parent 8a79c92 commit fef0a1b
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@ python:
- requirements: requirements/user-docs.txt

build:
os: ubuntu-22.04
os: ubuntu-20.04
tools:
python: "3.11"
jobs:
pre_system_dependencies:
- |
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yml requirements/docs.txt;
commands:
- |
if [ "$READTHEDOCS_PROJECT" = "warehouse" ]
then
echo "No changes to docs/ - exiting the build.";
exit 183;
make -C docs/ html;
mv docs/_build/html _readthedocs/html;
fi
- |
if [ "$READTHEDOCS_PROJECT" = "docspypiorg" ]
then
mkdocs build -f user-docs/mkdocs.yml;
mv user-docs/site _readthedocs/html;
fi

0 comments on commit fef0a1b

Please sign in to comment.