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: logger warnings (and tests) #8

Closed chrisjsewell closed 3 years ago

chrisjsewell commented 3 years ago

Add warning when toctree directive is found in a file.

codecov[bot] commented 3 years ago

Codecov Report

Merging #8 (e025add) into main (eb6f834) will increase coverage by 1.15%. The diff coverage is 92.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
+ Coverage   84.82%   85.98%   +1.15%     
==========================================
  Files           5        5              
  Lines         290      314      +24     
==========================================
+ Hits          246      270      +24     
  Misses         44       44              
Flag Coverage Ξ”
pytests 85.98% <92.50%> (+1.15%) :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 79.82% <89.47%> (+2.37%) :arrow_up:
sphinx_external_toc/tools.py 91.66% <95.23%> (+4.16%) :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 eb6f834...e025add. Read the comment docs.