Collapsible TOC entries not displaying correctly
See original GitHub issueDescribe the bug
I just upgraded to jupyter-book v 0.9 but for some reason the collapsible TOC entries aren’t displaying correctly.
To Reproduce
Steps to reproduce the behavior:
- Go to https://melaniewalsh.github.io/Intro-Cultural-Analytics/Data-Collection/Data-Collection.html
- See the down arrow next to “Data Collection (Web Scraping, APIs)” not displaying correctly
Here’s the HTML for this page: https://github.com/melaniewalsh/Intro-Cultural-Analytics/blob/gh-pages/Data-Collection/Data-Collection.html#L248
- Go to https://melaniewalsh.github.io/Intro-Cultural-Analytics/
- See none of the collapsible TOC entries displaying
Environment
- Python Version [e.g. 3.7.1]: 3.7.6
- Package versions or output of
jupyter-book --version
:
Jupyter Book: 0.9.1
MyST-NB: 0.10.1
Sphinx Book Theme: 0.0.39
MyST-Parser: 0.13.0
Jupyter-Cache: 0.4.1
NbClient: 0.4.0
- Operating System: Mac OS
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Solved: Collapse All in Table of Contents not working in A...
Solved: I have selected "Collapse All" in the Table of Contents settings, but the TOC does not collapse. It stays open.
Read more >Video: Advanced tables of contents - Microsoft Support
Training: Learn how to create the ultimate custom automatic table of contents, in which you have complete control over your TOC.
Read more >Collapsible TOC? - MobileRead Forums
the issue is, when viewing it in an eReader, the TOC is expanded by default, so it takes 5 minutes to swipe through...
Read more >TOC/Index/Search Content Does not display in Vista - MadCap ...
Please tell me how TOC/Index/Search can display correctly in Vista. This is a show-stopper. I'm producing output with Flare 4.2 on Windows XP...
Read more >Titlesec not showing bookmarks in right hierarchy and not ...
When hyperref adds entries to the bookmarks, it takes the level information from commands of the form \toclevel@<name> , where <name> is the ......
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
Thank you!! Upgrading beautifulsoup4 fixed the issue and now the collapsible TOC entries are displaying properly.
yeh I believe it is due to this change in 4.6.1 https://bazaar.launchpad.net/~leonardr/beautifulsoup/bs4/view/head:/CHANGELOG#L258