-
Notifications
You must be signed in to change notification settings - Fork 18
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
Issue when using "search" as a filename #16
Comments
ah yeah - I feel like this is an annoying Sphinx bug that has bitten me before too. Perhaps a warning is the right way to go here, so that users know why things are breaking 👍 |
I think another one -- but a lot less likely to occur is |
This issue just took a couple of hours of my life that I won't get back, so it might be worth a warning :) |
thanks for the feedback @AllenDowney -- sorry about the lost hours. Love your books!
|
Thanks, @mmcky ! |
Describe the bug
When building
html
it seems that if you usesearch
as a filename -- sphinx replaces it with a search page and ignores the content in that file. Perhaps this is a reservedadditional page
for sphinx?If
_toc.yml
contains:the issue occurs.
However if the file is nested in a folder there is no issue.
also other names such as
my_search
don't face the issue.A minimal example is available here
To Reproduce
Clone minimal example
and
jb build ./
with html
Expected behavior
Either a warning for using a special filename or use the user provided file.
Environment
The text was updated successfully, but these errors were encountered: