Giter Site home page Giter Site logo

Comments (8)

choldgraf avatar choldgraf commented on September 13, 2024 1

hey @jmason86 just a quick update on this. The new version of this repo (now called "jupyter book") includes the prefixed numerals directly in the jekyll template instead of being hard-coded in the title of each page. If you wanna use the build system it is very similar to the old one, but will require some modifications (guide to deploy the new build system is here: https://predictablynoisy.com/jupyter-book/guide/00_intro)

from jupyter-book.

jmason86 avatar jmason86 commented on September 13, 2024 1

Nice. Good to know! Thanks!

from jupyter-book.

choldgraf avatar choldgraf commented on September 13, 2024

If I recall, this was old behavior and I opted instead to auto-generate numbers with a flag in "config.yml":

https://github.com/choldgraf/textbooks-with-jupyter/blob/master/_config.yml#L24

Did you play around with that to see if it got the behavior you wanted?

from jupyter-book.

jmason86 avatar jmason86 commented on September 13, 2024

I hadn't! But I did just try and still don't see chapter numbers in the SUMMARY.md file.

from jupyter-book.

choldgraf avatar choldgraf commented on September 13, 2024

they chapter numbers should only show up in the sidebar of the site, but they won't be in the SUMMARY file. This is a way to avoid hard-coding them into the section titles. Do the numbers show up in your built site?

from jupyter-book.

jmason86 avatar jmason86 commented on September 13, 2024

Ah. Looks like the order in SUMMARY.md isn't maintained, but it is on the built site. But, on the built site, the numbering is kind of strange for notebooks/chapter#/*.md files. For example, it shows "2. 1. James Intro" and the subchapter numbering corresponds to that second number.

Could definitely be a case of PEBKAC.

from jupyter-book.

choldgraf avatar choldgraf commented on September 13, 2024

It is definitely possible there's a bug in the numbering :-)

The ordering in the sidebar should always match the ordering that's in the summary.md, so I wonder if we have encountered a bug somewhere.

from jupyter-book.

choldgraf avatar choldgraf commented on September 13, 2024

I'm gonna close this as I think it's now fixed!

from jupyter-book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.