Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navbar section numbering doesn't renders on local build or on web deploy #16

Open
rickecon opened this issue Jul 30, 2020 · 4 comments
Open
Labels
bug Something isn't working

Comments

@rickecon
Copy link
Member

I have posted this problem as an bug Issue #822 in the Jupyter Book repository. Our chapter numbers are not rendering when we build the book.

In an earlier version of jupyter-book the local build of the book accessed by opening the file ./_build/html/index.html in a Google Chrome browser, the left-side navbar looks as expected. I've circled in red the navbar chapter numbers we expected.

JupyterBook_wnums2

However, with the updated jupyter-book=0.7.3 and the updated _config.yml and _toc.yml, the book now renders locally and on the GitHub page upon build with no chapter numbers.

JupyterBook_nonums2

@rickecon rickecon added the bug Something isn't working label Jul 30, 2020
@jdebacker
Copy link
Member

Building Jupyter-Book from the master branch, I am able to get the book to build with numbered sections, but section numbers begin again in each chapter:

Screen Shot 2020-07-30 at 1 29 25 PM

@rickecon
Copy link
Member Author

Yes @jdebacker . I just installed the most recent commits to jupyter-book's master that are not yet in version 0.7.3 and I get the same numbering, although it also repeats in each section.

JupyterBook_wnum2

The conclusion at the end of my issue thread in the jupyter-book repository is that the numbering is not set up correctly yet. So I am going to remove the numbering from the _toc.yml for now and put it back in when the numbering behavior works better.

@jdebacker
Copy link
Member

@rickecon Sounds like a good plan.

@rickecon
Copy link
Member Author

This problem with numbering is still true in Jupyter Book version 0.7.4, which became part of the environment in PR #25. PR #26 updates the _toc.yml to the version 0.7.4 format, but the chapter numbers still repeat across parts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants