-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Fix removed cross-references #22730
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
Fix removed cross-references #22730
Conversation
5109c09
to
d0fc7d4
Compare
@@ -31,7 +31,7 @@ Changes for 0.91.0 | |||
files. In the future the class might actually parse the font to | |||
allow e.g., subsetting. | |||
|
|||
* :mod:`matplotlib.ft2font` now supports ``FT_Attach_File``. In |
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.
This is a bug in the docs that we do not have an entry for matplotlib.ft2font
(which to be fair also lacks a module docstring).
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.
Eh, on consideration, may we do not actually want to document this publicly....
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.
While there is a case that we should be treating these as "bug" in the docs that we have public user-facing attributes that do not have documentation, that is a much much bigger project (because if we add one, we should add them all) and we should take this chance to make the doc builds cleaner.
I also think we should merge these quickly rather than building up one massive PR because PRs are free (well, very very cheap) and dealing with merge conflicts when rebasing docstrings is the worst |
d0fc7d4
to
7c6c5f6
Compare
Updated based on @timhoffm 's suggestion. Still seems to work. |
PR Summary
Primarily in the old release notes, stuff that was removed over time.
Also some fixes that should lead to working cross-references in pyplot documentation.
I will continue along these lines as time allows and at some time regenerate the whole missing references-file.
PR Checklist
Tests and Styling
pytest
passes).flake8-docstrings
and runflake8 --docstring-convention=all
).Documentation
doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).