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.

Incorrect rendering of part titles in toc

See original GitHub issue

Describe the bug

The part titles don’t seem to have emphasis applied to them.

To Reproduce

Steps to reproduce the behavior:

  1. jupyter-book create test_book && cd test_book

  2. _toc.yml
    - file: intro
    - part: first part
      chapters:
        - file: content
    
  3. jupyter-book build .

Navigate to the documentation, observe

image

Expected behavior

The part title should be boldface, like at https://jupyterbook.org/

Environment

  • Python Version: 3.8.3
  • Package versions or output of jupyter-book --version:
Jupyter Book: 0.7.5  # also current master
MyST-NB: 0.10.0
Sphinx Book Theme: 0.0.36  # also current master
MyST-Parser: 0.12.7
Jupyter-Cache: 0.4.1
  • Operating System: Ubuntu

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:21 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisjsewellcommented, Sep 8, 2020

See the screenshot that I posted

Ok cheers I will have a look

in that case please find an alternative way. You are breaking the packaging system

Indeed, I didn’t implement that, but I have found an alternative in executablebooks/sphinx-panels#31, which is why I keep mentioning it lol

0reactions
chrisjsewellcommented, Sep 8, 2020

You are breaking the packaging system.

Ironically the maintainer of pip wrote it

Read more comments on GitHub >

github_iconTop Results From Across the Web

Table of Contents has one heading that is formatted wrong
I have a table of contents listing Appendices A-G in the document. A, B, C, D, E, and G are all formatted correctly...
Read more >
Section and subsection TOC title formatting - TeX
My problem here is that the TOC doesn't put a title for each section and subsection, as there is no argument passed in...
Read more >
TOC Tips and Tricks - Suzanne S. Barnhill
By default, Word creates a TOC based on Headings 1–3. It also includes other built-in styles that have an outline level of 1,...
Read more >
Unnumber chapters in the TOC are not shown as active with ...
However, when rendering the book and navigating throughout the different ... class="chapter" to the <li> tags of the ToC solves the problem!
Read more >
Why your headings don't match your Table of Contents
I am using Styles for my document headings in my appellate brief. But, even though my Heading 1 is all caps, it shows...
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