Skip to content

Commit

Permalink
bash
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Feb 8, 2023
1 parent 84c35aa commit 8f55bb5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ build:
python: "3.11"
commands:
- |
if [ "$READTHEDOCS_PROJECT" = "warehouse" ]; then
if [ "$READTHEDOCS_PROJECT" = "warehouse" ];
then
make -C docs/ html;
mv docs/_build/html _readthedocs/html;
fi
- |
if [ "$READTHEDOCS_PROJECT" = "docspypiorg" ]; then
if [ "$READTHEDOCS_PROJECT" = "docspypiorg" ];
then
mkdocs build -f user-docs/mkdocs.yml
mv user-docs/site _readthedocs/html;
fi

0 comments on commit 8f55bb5

Please sign in to comment.