Skip to content

Commit

Permalink
try working command?
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Feb 8, 2023
1 parent af9ae2b commit 50f591b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@ build:
tools:
python: "3.11"
commands:
- if [ "$READTHEDOCS_PROJECT" = "warehouse" ]; then 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
- |
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- docs/ .readthedocs.yml requirements/docs.txt;
then
echo "No changes to docs/ - exiting the build.";
exit 183;
fi

0 comments on commit 50f591b

Please sign in to comment.