We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ab1b64 commit 02423d4Copy full SHA for 02423d4
build_tools/circle/build_doc.sh
@@ -198,7 +198,8 @@ set +o pipefail
198
199
affected_doc_paths() {
200
files=$(git diff --name-only origin/main...$CIRCLE_SHA1)
201
- echo "$files" | grep ^doc/.*\.rst | sed 's/^doc\/\(.*\)\.rst$/\1.html/'
+ # use sed to replace files ending by .rst or .rst.template by .html
202
+ echo "$files" | grep ^doc/.*\.rst | sed 's/^doc\/\(.*\)\.rst$/\1.html/; s/^doc\/\(.*\)\.rst\.template$/\1.html/'
203
echo "$files" | grep ^examples/.*.py | sed 's/^\(.*\)\.py$/auto_\1.html/'
204
sklearn_files=$(echo "$files" | grep '^sklearn/')
205
if [ -n "$sklearn_files" ]
0 commit comments