Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
amandarichardsonn committed Mar 5, 2024
1 parent fcc6c03 commit 6ff9519
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ build:
- python -m pip install .
pre_build:
- python -m sphinx -b linkcheck -D linkcheck_timeout=1 doc/ $READTHEDOCS_OUTPUT/linkcheck
post_checkout:
# Cancel building pull requests when there aren't changed in the docs directory or YAML file.
# You can add any other files or directories that you'd like here as well,
# like your docs requirements file, or other files that will change your docs build.
#
# If there are no changes (git diff exits with 0) we force the command to return with 183.
# This is a special exit code on Read the Docs that will cancel the build immediately.
- |
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- doc/ .readthedocs.yaml;
then
exit 183;
fi
# post_checkout:
# # Cancel building pull requests when there aren't changed in the docs directory or YAML file.
# # You can add any other files or directories that you'd like here as well,
# # like your docs requirements file, or other files that will change your docs build.
# #
# # If there are no changes (git diff exits with 0) we force the command to return with 183.
# # This is a special exit code on Read the Docs that will cancel the build immediately.
# - |
# if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/main -- doc/ .readthedocs.yaml;
# then
# exit 183;
# fi
# post_checkout:
# - git clone https://github.com/CrayLabs/SmartRedis.git
# - ln -s ../SmartRedis smartredis
Expand Down

0 comments on commit 6ff9519

Please sign in to comment.