executablebooks / sphinx-external-toc

A sphinx extension that allows the site-map to be defined in a single YAML file
https://sphinx-external-toc.readthedocs.io
MIT License
32 stars 18 forks source link

♻️ REFACTOR: Replace attrs with dataclasses #76

Closed chrisjsewell closed 2 years ago

chrisjsewell commented 2 years ago

Removes the external dependency

codecov[bot] commented 2 years ago

Codecov Report

Merging #76 (6cd6f05) into main (bbf855a) will decrease coverage by 0.11%. The diff coverage is 92.92%.

@@            Coverage Diff             @@
##             main      #76      +/-   ##
==========================================
- Coverage   91.07%   90.95%   -0.12%     
==========================================
  Files           6        7       +1     
  Lines         661      730      +69     
==========================================
+ Hits          602      664      +62     
- Misses         59       66       +7     
Flag Coverage Δ
pytests 90.95% <92.92%> (-0.12%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
sphinx_external_toc/_compat.py 87.71% <87.71%> (ø)
sphinx_external_toc/api.py 94.05% <100.00%> (+0.72%) :arrow_up:
sphinx_external_toc/parsing.py 92.13% <100.00%> (+0.04%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update bbf855a...6cd6f05. Read the comment docs.