We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug
If there are multiple files with the same name but different file extensions; sphinx will silently choose only one to parse:
To Reproduce Steps to reproduce the behavior:
Given I have an extension installed to parse md
md
with:
index.rst a.md a.rst
index.rst:
.. toctree:: a.md
This will actually include a.rst in the document, not a.md
a.rst
a.md
Expected behavior A clear and concise description of what you expected to happen.
Ideally you would have a config option to specify the order of preference for file extensions, or if not set, a warning would be logged.
Your project Link to your sphinx project, or attach zipped small project sample.
First noted in: executablebooks/MyST-NB#82 (comment)
Screenshots If applicable, add screenshots to help explain your problem.
Environment info
myst-parser
Additional context Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
2360473
Merge pull request #7351 from tk0miya/7324_multiple_suffixes_for_same…
79989ce
…_document Fix #7324: Emit a warning if multiple files for same document found
No branches or pull requests
Describe the bug
If there are multiple files with the same name but different file extensions;
sphinx will silently choose only one to parse:
To Reproduce
Steps to reproduce the behavior:
Given I have an extension installed to parse
md
with:
index.rst:
.. toctree:: a.md
This will actually include
a.rst
in the document, nota.md
Expected behavior
A clear and concise description of what you expected to happen.
Ideally you would have a config option to specify the order of preference for file extensions,
or if not set, a warning would be logged.
Your project
Link to your sphinx project, or attach zipped small project sample.
First noted in:
executablebooks/MyST-NB#82 (comment)
Screenshots
If applicable, add screenshots to help explain your problem.
Environment info
myst-parser
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: