@@ -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%
sphinx-multitoc-numbering-pytest-py3.7
Build #331280522 -
pytests
1
coverage:
2
  status:
3
    project:
4
      default:
5
        target: 85%
6
        threshold: 0.5%
7
    patch:
8
      default:
9
        target: 80%
10
        threshold: 0.5%
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.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading