Skip to content

Commit

Permalink
REL: DOC: fix documentation URLs for the 1.8.x releases (#16221)
Browse files Browse the repository at this point in the history
I applied this to the 1.8.1 docs, and things seem to work as
expected after removing these rules from `.htaccess`:

```
RewriteRule ^scipy/scipy-html.zip /doc/scipy-1.8.1/scipy-html-1.8.1.zip [L]
RewriteRule ^scipy/scipy-ref.pdf  /doc/scipy-1.8.1/scipy-ref-1.8.1.pdf  [L]
RewriteRule ^scipy/(.*) /doc/scipy-1.8.1/$1 [NC,L]
```

[ci skip]
  • Loading branch information
rgommers committed May 22, 2022
1 parent 8368b36 commit b76137f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,8 @@ doc-dist: html-scipyorg html
-test -d build/htmlhelp || make htmlhelp-build
-rm -rf build/dist
mkdir -p build/dist
cp -r build/html-scipyorg build/dist
touch build/dist/index.html
(cd build/html && zip -9qr ../dist/scipy-html.zip .)
cp -r build/html-scipyorg/* build/dist
(cd build/html-scipyorg && zip -9qr ../dist/scipy-html.zip .)
cp build/latex/scipy-ref.pdf build/dist
chmod ug=rwX,o=rX -R build/dist
find build/dist -type d -print0 | xargs -0r chmod g+s
Expand Down

0 comments on commit b76137f

Please sign in to comment.