Skip to content
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

Make intersphinx update script more robust #2534

Merged

Conversation

adeak
Copy link
Member

@adeak adeak commented Apr 30, 2022

#2285 introduced a broken SciPy intersphinx mapping file, because the URL changed and the older path became a redirect (see also scipy/scipy#14267). curl doesn't follow redirects automatically so instead of the intersphinx mapping file the redirect's HTML response was saved instead.

In hindsight the -88 KB change of the corresponding file at https://github.com/pyvista/pyvista/pull/2285/files is suspicious, but I wouldn't have noticed this either.

I've updated every intersphinx mapping while I'm at it.

@adeak adeak added documentation Anything related to the documentation/website maintenance Low-impact maintenance activity labels Apr 30, 2022
@codecov
Copy link

codecov bot commented Apr 30, 2022

Codecov Report

Merging #2534 (cf1a001) into main (9a1373d) will increase coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2534      +/-   ##
==========================================
+ Coverage   93.72%   93.78%   +0.06%     
==========================================
  Files          75       75              
  Lines       16120    16120              
==========================================
+ Hits        15108    15118      +10     
+ Misses       1012     1002      -10     

@adeak adeak changed the title Make intersphinx upload script more robust Make intersphinx update script more robust Apr 30, 2022
Copy link
Contributor

@MatthewFlamm MatthewFlamm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@akaszynski akaszynski merged commit 48e4fb0 into pyvista:main May 2, 2022
@bskinn
Copy link

bskinn commented May 20, 2022

FYI: In case you didn't see it, scipy implemented a full docs layout fix. This includes fixing the aberrant hosting location of the v1.8.0 docs, so if you have anything pointing specifically to 1.8.0, it'll need an update.

@adeak
Copy link
Member Author

adeak commented May 20, 2022

Thanks a lot @bskinn. I did see it today on the SciPy mailing list, but haven't had the time yet to look into this regarding PyVista. After a cursory glance earlier today it seemed to me that we don't even use any SciPy intersphinx links (but we could/should in a few places which I intend to look into).

@adeak
Copy link
Member Author

adeak commented May 22, 2022

According to scipy/scipy#14267 (comment) we are using the correct final intersphinx URL as of this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Anything related to the documentation/website maintenance Low-impact maintenance activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants