doc correction
README changes
ordering in nested toctree
Showing 1 of 16 files from the diff.
Other files ignored by Codecov
.gitignore
has changed.
tests/test_build.py
has changed.
@@ -98,7 +98,13 @@
Loading
98 | 98 | if secnums != old_secnumbers.get(ref): |
|
99 | 99 | rewrite_needed.append(ref) |
|
100 | 100 | ||
101 | - | for docname in env.numbered_toctrees: |
|
101 | + | # rearrange it to respect ordering in toctree directives |
|
102 | + | rearranged_numbered_toctrees = [] |
|
103 | + | for toc in env.tocs: |
|
104 | + | if toc in env.numbered_toctrees: |
|
105 | + | rearranged_numbered_toctrees.append(toc) |
|
106 | + | ||
107 | + | for docname in rearranged_numbered_toctrees: |
|
102 | 108 | assigned.add(docname) |
|
103 | 109 | doctree = env.get_doctree(docname) |
|
104 | 110 | for toctreenode in doctree.traverse(addnodes.toctree): |
Files | Coverage |
---|---|
sphinx_multitoc_numbering/__init__.py | 90.91% |
Project Totals (1 files) | 90.91% |
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.