Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOC: Don't try to link paths that are on a different drive#24592

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ksunden merged 1 commit intomatplotlib:mainfromQuLogic:fix-doc-linkage
Dec 5, 2022

Conversation

QuLogic
Copy link
Member

PR Summary

This may happen if Python is installed on C: and Matplotlib is installed on some other drive. As the point of this extension is to create GitHub links for Matplotlibonly, we should ignore all paths that cannot be relativized to it.

Fixes#24574

PR Checklist

Documentation and Tests

  • [n/a] Has pytest style unit tests (andpytest passes)
  • [n/a] Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).
  • [n/a] New plotting related features are documented with examples.

Release Notes

  • [n/a] New features are marked with a.. versionadded:: directive in the docstring and documented indoc/users/next_whats_new/
  • [n/a] API changes are marked with a.. versionchanged:: directive in the docstring and documented indoc/api/next_api_changes/
  • [n/a] Release notes conform with instructions innext_whats_new/README.rst ornext_api_changes/README.rst

This may happen if Python is installed on C: and Matplotlib is installedon some other drive. As the point of this extension is to create GitHublinks for Matplotlib *only*, we should ignore all paths that cannot berelativized to it.Fixesmatplotlib#24574
@QuLogicQuLogic added the Documentation: buildbuilding the docs labelDec 3, 2022
@QuLogicQuLogic added this to thev3.6.3 milestoneDec 3, 2022
@tacaswell
Copy link
Member

Should we bail earlier if the module does not belong to us?

@ksundenksunden merged commit68832ff intomatplotlib:mainDec 5, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestDec 5, 2022
tacaswell added a commit that referenced this pull requestDec 5, 2022
…592-on-v3.6.xBackport PR#24592 on branch v3.6.x (DOC: Don't try to link paths that are on a different drive)
@QuLogicQuLogic deleted the fix-doc-linkage branchDecember 5, 2022 21:42
@QuLogic
Copy link
MemberAuthor

Should we bail earlier if the module does not belong to us?

That's the next line.

@ksundenksunden mentioned this pull requestFeb 20, 2023
6 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell approved these changes

@ksundenksundenksunden approved these changes

Assignees
No one assigned
Labels
Documentation: buildbuilding the docs
Projects
None yet
Milestone
v3.6.3
Development

Successfully merging this pull request may close these issues.

[Bug]: Extension error (sphinx.ext.linkcode) while building docs
3 participants
@QuLogic@tacaswell@ksunden

[8]ページ先頭

©2009-2025 Movatter.jp