MCPcopy Create free account
hub / github.com/catchorg/Catch2 / excludeHeadingsFor

Function excludeHeadingsFor

tools/scripts/updateDocumentToC.py:358–359  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

356 return os.path.basename(f) == releaseNotesName
357
358def excludeHeadingsFor(f):
359 return headingExcludeRelease if isReleaseNotes(f) else headingExcludeDefault
360
361def updateSingleDocumentToC(input_file, min_toc_len, verbose=False):
362 """Add or update table of contents in specified file. Return 1 if file changed, 0 otherwise."""

Callers 1

updateSingleDocumentToCFunction · 0.85

Calls 1

isReleaseNotesFunction · 0.85

Tested by

no test coverage detected