-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixups after release of SciPy 1.8.0 #1
Merged
Merged
Changes from 5 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
195f61a
Fixups after release of SciPy 1.8.0
tylerjereddy 5856659
First round of revisions suggested in PR 1.
tylerjereddy 9261994
More review suggestions
tylerjereddy e5bf4d9
Revert "More review suggestions"
tylerjereddy d08759d
Revert "First round of revisions suggested in PR 1."
tylerjereddy 483f0c1
Add suggestions from 2nd round of review.
tylerjereddy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,8 @@ RewriteEngine On | |
RewriteRule ^numpy(/.*) https://numpy.org/doc/stable$1 [R=permanent] | ||
# See https://github.com/scipy/scipy/issues/14267 | ||
Redirect 301 /scipy/reference/objects.inv /scipy/objects.inv | ||
RewriteRule scipy/ scipy-1.8.0/reference | ||
RewriteRule scipy-1.8.0/reference scipy-1.8.0/html-scipyorg/reference | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And then this one shouldn't be needed. |
||
RewriteCond %{REQUEST_FILENAME} !-f | ||
RewriteCond %{REQUEST_FILENAME} !-d | ||
RewriteRule . /index.html [L] |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this needs to be as above for numpy:
^scipy(/.*) scipy-1.8.0/html-scipyorg$1
should workThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And probably also one for 1.8:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maxnoe I applied and deployed your suggestions from the review process here.
Note that this did break someting that worked before--the HTML zip and PDF links are now broken on the side list for
1.8.0
:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I think the regex matches to much, the slash should be in front of the parentheses and in front of $1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The adjusted regex would still catch the tarball/PDF, which haven't been moved to the new location with the new theme. There's another issue though noted in #1 (comment) which I don't understand yet, since the file seems to be there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rewrite rule are processed in order, so of we add one rule each first matching exactly the pdf and zipped html that should work, right?