question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Collapsible TOC entries not displaying correctly

See original GitHub issue

Describe 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:

  1. Go to https://melaniewalsh.github.io/Intro-Cultural-Analytics/Data-Collection/Data-Collection.html
  2. See the down arrow next to “Data Collection (Web Scraping, APIs)” not displaying correctly
Screen Shot 2020-12-30 at 10 24 26 AM

Here’s the HTML for this page: https://github.com/melaniewalsh/Intro-Cultural-Analytics/blob/gh-pages/Data-Collection/Data-Collection.html#L248

  1. Go to https://melaniewalsh.github.io/Intro-Cultural-Analytics/
  2. See none of the collapsible TOC entries displaying
Screen Shot 2020-12-30 at 10 24 12 AM

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:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
melaniewalshcommented, Dec 30, 2020

Thank you!! Upgrading beautifulsoup4 fixed the issue and now the collapsible TOC entries are displaying properly.

1reaction
chrisjsewellcommented, Dec 30, 2020
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found