Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Doc]: [source] links is devdocs are broken #21230

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

Closed
anntzer opened this issue Sep 30, 2021 · 0 comments
Closed

[Doc]: [source] links is devdocs are broken #21230

anntzer opened this issue Sep 30, 2021 · 0 comments
Labels
Documentation: website layout/behavior/styling changes
Milestone

Comments

@anntzer
Copy link
Contributor

anntzer commented Sep 30, 2021

Documentation Link

No response

Problem

[source] links in the API reference sectionof the devdocs link to e.g. https://github.com/matplotlib/matplotlib/blob/v3.5.0.dev2153+g4f196f0edc/lib/matplotlib/__init__.py#L1081-L1144 which is broken; the git version should be stripped out.

Suggested improvement

Strip the git version from the links.

Matplotlib Version

v3.5.0.dev2153+g4f196f0edc

Matplotlib documentation version

v3.5.0.dev2153+g4f196f0edc

@anntzer anntzer added the Documentation: website layout/behavior/styling changes label Sep 30, 2021
QuLogic added a commit to QuLogic/matplotlib that referenced this issue Sep 30, 2021
Instead of figuring out a regex ourselves, just use `packaging` to
determine the version. And point to `master` branch if not on an actual
tag.

Fixes matplotlib#21230
QuLogic added a commit to QuLogic/matplotlib that referenced this issue Sep 30, 2021
Instead of figuring out a regex ourselves, just use `packaging` to
determine the version. And point to `master` branch if not on an actual
tag.

Fixes matplotlib#21230
@QuLogic QuLogic added this to the v3.5.0 milestone Oct 1, 2021
tacaswell pushed a commit to tacaswell/matplotlib that referenced this issue Oct 12, 2021
Instead of figuring out a regex ourselves, just use `packaging` to
determine the version. And point to `master` branch if not on an actual
tag.

Fixes matplotlib#21230
tacaswell pushed a commit that referenced this issue Oct 20, 2021
Instead of figuring out a regex ourselves, just use `packaging` to
determine the version. And point to `master` branch if not on an actual
tag.

Fixes #21230
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: website layout/behavior/styling changes
Projects
None yet
Development

No branches or pull requests

2 participants