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
Add include_patterns
as the opposite of exclude_patterns
#10518
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AA-Turner
added
type:enhancement
enhance or introduce a new feature
internals:config
labels
Jun 3, 2022
AA-Turner
force-pushed
the
include-patterns
branch
from
June 3, 2022 22:54
fac1162
to
6b5af69
Compare
AA-Turner
force-pushed
the
include-patterns
branch
from
June 3, 2022 23:00
6b5af69
to
509ade6
Compare
# Conflicts: # doc/extdev/deprecated.rst # sphinx/templates/quickstart/conf.py_t
AA-Turner
added a commit
that referenced
this pull request
Jul 17, 2022
tk0miya
reviewed
Jul 18, 2022
Sorry for the late review. But it would be better to refine this. +1 for adding this configuration. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently Sphinx walks the source directory recursivley, looking for files. This is useful when documentation sources are in a distinct
Documentation
or etc folder, but for projects like the PEPs where the project is the documentation, it is more useful to specify which files we want to include.This adds an implementation which by default works exactly the same as today, but allows configuring
include_paths
.Feature or Bugfix
A