Title in `_toc.yml` and page metadata does not over-ride page titles
See original GitHub issueDescribe the bug
When I type:
- file: notebooks/asdf_example/asdf_example.ipynb title: ASDF Example
The result pulls from the title of the notebook instead. Where the notebook is located: https://github.com/spacetelescope/jdat_notebooks/blob/main/notebooks/asdf_example/asdf_example.ipynb
I expect the sidebar to read: “ASD Example”
Picture attached. Entire repo here: https://github.com/spacetelescope/jdat_notebook
sReproduce the bug
The result pulls from the title of the notebook instead. Where the notebook is located: https://github.com/spacetelescope/jdat_notebooks/blob/main/notebooks/asdf_example/asdf_example.ipynb
List your environment
jupyter-book 0.12.3
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6 (3 by maintainers)
Top Results From Across the Web
mkdocs nav title different from page title - markdown
It seems the answer is in the mkdocs.yml file to specify a different/second "page display" name, but many Google searches have turned up...
Read more >Configure the Table of Contents
Configure the Table of Contents#. This page covers some of the options you have available to control your book's behavior via the Table...
Read more >9 Lesson 4: YAML Headers | R Markdown Crash Course
A YAML header contains YAML arguments, such as “title”, “author”, and “output”, demarcated by three dashes (—) on either end. 9.1 Title. The...
Read more >meta
Add it to the top level of the siteConfig.yaml file and configure supported ... The title set here is appended to page titles...
Read more >Head Metadata customized title!
Docusaurus automatically sets useful page metadata in <html> , <head> and <body> for you. It is possible to add extra metadata (or override...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, confirmed. That’s exactly the problem. Thanks.
Update: the incorrect behaviour is gone once the
Non-consecutive header level increase;
warnings are dealt with. IMHO, those probably need to be errors instead of warnings, but I can see how that would be incredibly disruptive.Perhaps a workaround could be to make the warning more specific: in addition to what’s there, add “your table of content may behave in unexpected ways if these warnings are not resolved”