-
Notifications
You must be signed in to change notification settings - Fork 19
Advanced section numbering customization #112
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
Merged
Merged
Changes from 88 commits
Commits
Show all changes
99 commits
Select commit
Hold shift + click to select a range
3ad110e
Add logging to extension initialization
douden 81da090
Add custom TocTreeCollector and disable built-in collector
douden 498ef7a
Add 'style' field to TocTree and propagate to nodes
douden 97bb7c0
Update validator lambda signature in TocTree
douden 7ada9d8
Add and enforce 'style' option for toctree
douden ffca368
Replace TocTreeCollectorWithAppendices with TocTreeCollectorWithStyles
douden a49d589
Remove unused toctree import from collectors.py
douden 4408cea
Refactor to override assign_section_numbers method
douden 77eba84
Add logging for docnames in TocTreeCollectorWithStyles
douden 594ac62
Add logging for found toctree nodes in collector
douden fba99bd
Log non-numerical toctree styles in collector
douden e15a4f2
Improve toctree style warning message
douden 50ae7c8
Update collectors.py
douden c662e73
Update collectors.py
douden d3c177e
Add __renumber method to TocTreeCollectorWithStyles
douden 07344a2
Update collectors.py
douden 010398f
Add Roman numeral support to TOC numbering styles
douden b227b4d
Update collectors.py
douden 1b60bd3
Update collectors.py
douden 6a39651
Add alpha section numbering to TocTreeCollectorWithStyles
douden 2211db8
Support numerical style renumbering in TocTreeCollectorWithStyles
douden 9dfe082
Add TOC section renumbering with style support
douden e9c5c97
Comment out nested toctree RuntimeError
douden baec699
Update collectors.py
douden f7889b8
Update collectors.py
douden dab5bfc
Refactor section number increment logic in collector
douden 83bb1e2
Update collectors.py
douden 8059239
Update collectors.py
douden ae119ef
Update collectors.py
douden 44ec28e
Update collectors.py
douden 0666bf5
Update collectors.py
douden fd9a47d
Update collectors.py
douden 4c8b84e
Update collectors.py
douden 70fa360
Update collectors.py
douden d9b60d0
Update collectors.py
douden 28a98ed
Update collectors.py
douden 6f371fb
Update collectors.py
douden 354ae65
Update collectors.py
douden 36ce81c
Update collectors.py
douden ba0355b
Update collectors.py
douden a0c43fc
Update collectors.py
douden 924ccaa
Update collectors.py
douden 6c58b37
Update collectors.py
douden e1c79ca
Update collectors.py
douden 3986773
Update collectors.py
douden b8fa42a
Update collectors.py
douden 39c2911
Update collectors.py
douden 687a57a
Update collectors.py
douden 3d6d925
Update collectors.py
douden ccc639d
Update collectors.py
douden f380615
Handle nested toctrees in TocTreeCollectorWithStyles
douden 30eb447
Add restart_numbering option to TocTree and parsing
douden ceb541f
Add support for restarting section numbering in toctree
douden 32bdcc4
Update events.py
douden 69f1ab3
Support list values for toctree style attribute
douden 601f5a1
Improve style conversion for numbered toctree items
douden ee71be1
Update collectors.py
douden 1c762dc
Update collectors.py
douden 061a845
Update collectors.py
douden 47ff9c6
Improve type checks in renumbering logic
douden 5666533
Remove debug logging from TocTreeCollectorWithStyles
douden 217a776
Update README with section numbering style options
douden a585672
Fix secnumber handling in TocTreeCollectorWithStyles
douden eec33bf
Update README with new features and clarifications
douden 0fc6222
Remove unused logger from __init__.py
douden 39f4d36
Update README and improve section numbering logic
douden a77ace3
Add sphinx-multitoc-numbering to dependencies
douden f2d6535
Add __version__ and include version in setup return
douden e58e782
Update README with Jupyter Book configuration info
Tom-van-Woudenberg 06c77c4
Update README.md
douden 90dcded
Merge pull request #1 from TeachBooks/Tom-van-Woudenberg-patch-1
douden 1640204
Update numbering options and defaults for ToC subtrees
douden 98b3408
Remove warnings and notes about numbered option in Sphinx docs
douden 08d86ae
Fix config access for multitoc numbering option
douden 9363eaf
Merge pull request #2 from TeachBooks/patch-multitoc
douden b8e60fb
Improve section number mapping in TOC collector
douden 9736f40
Remove unused mapping and cleanup in TocTreeCollectorWithStyles
douden 7de069d
Remove unused variables in TocTreeCollectorWithStyles
douden e280561
Merge pull request #4 from TeachBooks/issue-3
Tom-van-Woudenberg bf2138e
Update docs
Tom-van-Woudenberg fd4b7dc
Fix formattin gisseus
Tom-van-Woudenberg 93c7c01
Update __init__.py
Tom-van-Woudenberg 45c0fe9
formatting
Tom-van-Woudenberg 417b0fe
Skip urls
Tom-van-Woudenberg f114098
Reformat code for improved readability and consistency
douden 57877a7
Add style and restart_numbering to toctree data
douden d625661
Normalize boolean values in file regression tests
douden ed8e5c9
Reformat code for improved readability
douden 8cad09f
Remove fork-specific note from README
douden d45f741
Update test workflow for Python 3.14 support
douden e3ac004
Add tests for collectors module
douden 806767b
Expand test matrix and improve test formatting
douden d0bca04
Update Windows test matrix in CI workflow
douden 3d6bc50
Expand and improve tests for collectors module
douden fc5f3eb
Add tests for _compat module and clean up collectors tests
douden 5d586cb
Add tests for TOC parsing and CLI coverage
douden ed7bf26
Refactor test formatting and remove unused imports
douden 592dc68
Add CLI invocation to migrate_toc output file test
douden e0ddb28
Reformat assert statements for readability in tests
douden File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,3 +15,4 @@ python: | |
| sphinx: | ||
| builder: html | ||
| fail_on_warning: true | ||
| configuration: docs/conf.py | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.