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 `external_toc_exclude_missing` config #9

Closed chrisjsewell closed 3 years ago

chrisjsewell commented 3 years ago

This is a re-implementation of https://github.com/executablebooks/jupyter-book/pull/1123 (by @alex-treebeard), with some improvements:

(also it does not require the nested_lookup dependency)

codecov[bot] commented 3 years ago

Codecov Report

Merging #9 (7d85182) into main (74196a4) will increase coverage by 0.91%. The diff coverage is 92.68%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #9      +/-   ##
==========================================
+ Coverage   88.03%   88.95%   +0.91%     
==========================================
  Files           5        5              
  Lines         301      326      +25     
==========================================
+ Hits          265      290      +25     
  Misses         36       36              
Flag Coverage Δ
pytests 88.95% <92.68%> (+0.91%) :arrow_up:

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

Impacted Files Coverage Δ
sphinx_external_toc/api.py 88.48% <87.50%> (+0.51%) :arrow_up:
sphinx_external_toc/events.py 87.39% <95.65%> (+2.24%) :arrow_up:
sphinx_external_toc/__init__.py 91.66% <100.00%> (+0.75%) :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 74196a4...7d85182. Read the comment docs.