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

Function updateDocumentationVersionPlaceholders

tools/scripts/releaseCommon.py:124–130  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

122
123
124def updateDocumentationVersionPlaceholders(version):
125 print('Updating version placeholder in documentation')
126 docsPath = os.path.join(catchPath, 'docs/')
127 for basePath, _, files in os.walk(docsPath):
128 for file in files:
129 if fnmatch.fnmatch(file, "*.md") and "contributing.md" != file:
130 updateVersionPlaceholder(os.path.join(basePath, file), version)
131
132
133def performUpdates(version):

Callers 1

performUpdatesFunction · 0.85

Calls 2

printFunction · 0.85
updateVersionPlaceholderFunction · 0.85

Tested by

no test coverage detected