Skip to content

Issue when using "search" as a filename #16

Description

@mmcky

Describe the bug

When building html it seems that if you use search as a filename -- sphinx replaces it with a search page and ignores the content in that file. Perhaps this is a reserved additional page for sphinx?

If _toc.yml contains:

- file: search

the issue occurs.

However if the file is nested in a folder there is no issue.

- file: folder/search

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

▶ jb --version
Jupyter Book: 0.8.2
MyST-NB: 0.10.1
Sphinx Book Theme: 0.0.37
MyST-Parser: 0.12.10
Jupyter-Cache: 0.4.1
NbClient: 0.5.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions