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

👌 IMPROVE: validate URL #24

Closed chrisjsewell closed 3 years ago

chrisjsewell commented 3 years ago

Ensure value of url keys match regex used by Sphinx to identify them

codecov[bot] commented 3 years ago

Codecov Report

Merging #24 (5272b81) into main (d073b8a) will increase coverage by 0.24%. The diff coverage is 83.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #24      +/-   ##
==========================================
+ Coverage   90.59%   90.83%   +0.24%     
==========================================
  Files           6        6              
  Lines         627      633       +6     
==========================================
+ Hits          568      575       +7     
+ Misses         59       58       -1     
Flag Coverage Δ
pytests 90.83% <83.33%> (+0.24%) :arrow_up:

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

Impacted Files Coverage Δ
sphinx_external_toc/parsing.py 92.09% <81.25%> (+0.86%) :arrow_up:
sphinx_external_toc/api.py 92.20% <100.00%> (ø)

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 d073b8a...5272b81. Read the comment docs.