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

Skip to content

Add source directory config to rstcheck and bump requirement - #32132

Merged
scottshambaugh merged 1 commit into
matplotlib:mainfrom
QuLogic:fix-rstcheck
Jul 29, 2026
Merged

Add source directory config to rstcheck and bump requirement#32132
scottshambaugh merged 1 commit into
matplotlib:mainfrom
QuLogic:fix-rstcheck

Conversation

@QuLogic

@QuLogic QuLogic commented Jul 29, 2026

Copy link
Copy Markdown
Member

PR summary

This allows it to resolve absolute references and fixes issues like:

doc/users/getting_started/index.rst:7: (SEVERE/4) File referenced in "include" directive not found: Could not find sphinx 'source' directory. Please provide via config.

AI Disclosure

None

PR quality check

  • Use an expressive title, e.g. "Fix title font property precedence"
  • New and changed code is tested
  • [n/a] Plotting related features are demonstrated in an example
  • [n/a] New features and API changes have release notes
  • [n/a] Documentation complies with general and docstring guidelines

This allows it to resolve absolute references and fixes issues like:
```
doc/users/getting_started/index.rst:7: (SEVERE/4) File referenced in "include" directive not found: Could not find sphinx 'source' directory. Please provide via config.
```
@scottshambaugh
scottshambaugh merged commit 3007300 into matplotlib:main Jul 29, 2026
41 checks passed
@lumberbot-app

lumberbot-app Bot commented Jul 29, 2026

Copy link
Copy Markdown

Owee, I'm MrMeeseeks, Look at me.

There seem to be a conflict, please backport manually. Here are approximate instructions:

  1. Checkout backport branch and update it.
git checkout v3.11.x
git pull
  1. Cherry pick the first parent branch of the this PR on top of the older branch:
git cherry-pick -x -m1 30073003d7ffa94b3a3c4e889b5131107c549729
  1. You will likely have some merge/cherry-pick conflict here, fix them and commit:
git commit -am 'Backport PR #32132: Add source directory config to rstcheck and bump requirement'
  1. Push to a named branch:
git push YOURFORK v3.11.x:auto-backport-of-pr-32132-on-v3.11.x
  1. Create a PR against branch v3.11.x, I would have named this PR:

"Backport PR #32132 on branch v3.11.x (Add source directory config to rstcheck and bump requirement)"

And apply the correct labels and milestones.

Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon!

Remember to remove the Still Needs Manual Backport label once the PR gets merged.

If these instructions are inaccurate, feel free to suggest an improvement.

@QuLogic
QuLogic deleted the fix-rstcheck branch July 29, 2026 17:47
@QuLogic

QuLogic commented Jul 29, 2026

Copy link
Copy Markdown
Member Author

Backport in #32134

QuLogic added a commit that referenced this pull request Jul 29, 2026
QuLogic added a commit that referenced this pull request Jul 29, 2026
…3.11.x

Backport PR #32132 on branch v3.11.x (Add source directory config to rstcheck and bump requirement)
clin1234 pushed a commit to clin1234/matplotlib that referenced this pull request Aug 23, 2026
…lib#32132)

This allows it to resolve absolute references and fixes issues like:
```
doc/users/getting_started/index.rst:7: (SEVERE/4) File referenced in "include" directive not found: Could not find sphinx 'source' directory. Please provide via config.
```
iccir pushed a commit that referenced this pull request Aug 31, 2026
iccir added a commit that referenced this pull request Aug 31, 2026
…3.11.0-doc

Backport PR #32132: Add source directory config to rstcheck and bump requirement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants