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

DOC: Move Sphinx numpy target in reference index. #18845

Merged
merged 1 commit into from
Apr 25, 2021

Conversation

adrn
Copy link
Contributor

@adrn adrn commented Apr 24, 2021

This is a possible improvement / step in the direction of a fix for #18844. However, this won't be a complete fix for that issue because the nav bar will still overlap the target location that is scrolled to in the body text.

@charris charris changed the title Move Sphinx module target location DOC: Move Sphinx numpy target in reference index. Apr 24, 2021
@melissawm
Copy link
Member

This LGTM - I´m pretty sure the overlap you´re describing is related to #18620, can you confirm?

@adrn
Copy link
Contributor Author

adrn commented Apr 25, 2021

Ah, yes, sorry - the overlap comment is a duplicate of #18620!

@adrn
Copy link
Contributor Author

adrn commented Apr 25, 2021

And for completeness: I do think it's still worth moving the target location. Following the suggestion in #18620 to try with /devdocs/ instead of /stable/, the navbar issue is fixed but the target location still goes too far down in the page (IMO):

https://numpy.org/devdocs/reference/index.html#module-numpy goes to:
image

With this PR, it should go to:
image

@melissawm melissawm merged commit e4eb0dc into numpy:main Apr 25, 2021
@melissawm
Copy link
Member

Agreed - thanks @adrn !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants