mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-13 06:35:52 +00:00
add more configuration options, including toc
This commit is contained in:
parent
20a3b0ecfb
commit
0527e30da4
2 changed files with 12 additions and 6 deletions
|
|
@ -1,8 +1,13 @@
|
|||
# Configuration of _toc.yml file is explained in detail here: https://sphinx-external-toc.readthedocs.io/en/latest/user_guide/sphinx.html
|
||||
|
||||
format: jb-book
|
||||
root: intro.md
|
||||
|
||||
parts:
|
||||
- caption: Part with some content
|
||||
- caption: Part with some content # A title for the whole the subtree, e.g. shown above the subtree in ToCs, configuration part of sphinx-external-toc (https://sphinx-external-toc.readthedocs.io/en/latest/intro.html)
|
||||
numbered: false # Whether to number the chapters/sections in this part, configuration part of sphinx-external-toc (https://sphinx-external-toc.readthedocs.io/en/latest/intro.html)
|
||||
style: numerical # Style of numbering for this part, configuration part of TeachBooks' version of sphinx-external-toc (https://github.com/TeachBooks/sphinx-external-toc?tab=readme-ov-file#toc-tree-options)
|
||||
restart_numbering: false # Whether to restart numbering for this part, configuration part of TeachBooks' version of sphinx-external-toc (https://github.com/TeachBooks/sphinx-external-toc?tab=readme-ov-file#toc-tree-options)
|
||||
chapters:
|
||||
- file: some_content/overview.md
|
||||
sections:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue