You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NumberSections above is perfect. If it numbered the document headers in the "Secondary Sidebar" it would be more perfect 😄
When I researched NumberSections I found a github entry. The issue is unrelated, but the author of the post showed an example of their documents' front-matter that contained "numberSections: true". They were referencing JupyterBooks, so I did a site search at jupyterbook.org, but there were no results. I tried it, and it did not number the document's headings and there was no error.
So I'm back to these modules, are these modules "standard" or is there a more official way?
Would it be a Feature Request to make NumberSections, as used in the MyST-Parser documentation, official? Same goes for MystExampleDirective?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In the MySt-Parser documentation on github, the conf.py contains a section "Local Sphinx extensions".
There are at least two modules that are of interest:
Unlike
toctree numbered
andSphinx-multitoc-numbering
, I'm looking to number each autonomous markdown document starting at 1, similar to this and the myst-parser documentation itself.NumberSections
above is perfect. If it numbered the document headers in the "Secondary Sidebar" it would be more perfect 😄When I researched NumberSections I found a github entry. The issue is unrelated, but the author of the post showed an example of their documents' front-matter that contained "numberSections: true". They were referencing JupyterBooks, so I did a site search at jupyterbook.org, but there were no results. I tried it, and it did not number the document's headings and there was no error.
So I'm back to these modules, are these modules "standard" or is there a more official way?
Would it be a Feature Request to make NumberSections, as used in the MyST-Parser documentation, official? Same goes for MystExampleDirective?
Thank you in advance.
Environment: Sphinx + myst-parser + sphinx-book-theme
Beta Was this translation helpful? Give feedback.
All reactions