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
33 stars 18 forks source link

✨ NEW: Add `glob` key #6

Closed chrisjsewell closed 3 years ago

chrisjsewell commented 3 years ago

Store toctree list items as one of: GlobItem, RefItem, UrlItem, add glob logic to append_toctrees, add addtional file creation to create_site_from_toc.

codecov[bot] commented 3 years ago

Codecov Report

Merging #6 (741b5ab) into main (34aa822) will increase coverage by 1.30%. The diff coverage is 85.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
+ Coverage   83.52%   84.82%   +1.30%     
==========================================
  Files           5        5              
  Lines         261      290      +29     
==========================================
+ Hits          218      246      +28     
- Misses         43       44       +1     
Flag Coverage Δ
pytests 84.82% <85.00%> (+1.30%) :arrow_up:

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

Impacted Files Coverage Δ
sphinx_external_toc/events.py 77.45% <74.19%> (+1.62%) :arrow_up:
sphinx_external_toc/api.py 87.96% <96.29%> (+1.76%) :arrow_up:
sphinx_external_toc/tools.py 87.50% <100.00%> (+0.54%) :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 34aa822...741b5ab. Read the comment docs.