chore: fix relative links in docs and enforce we dont break them again (#14832)

This commit is contained in:
Samuel Attard
2018-09-28 13:16:38 +10:00
committed by GitHub
parent 46141b8283
commit e86298d5d9
6 changed files with 6 additions and 5 deletions

View File

@@ -32,6 +32,7 @@ def main():
' files within docs directory and its ' +
str(totalDirs) + ' subdirectories.')
print('Found ' + str(totalBrokenLinks) + ' broken relative links.')
return totalBrokenLinks
def getBrokenLinks(filepath):

View File

@@ -30,7 +30,7 @@ def check_tls(verbose):
if sys.platform == "linux" or sys.platform == "linux2":
tutorial = "./docs/development/build-instructions-linux.md"
elif sys.platform == "darwin":
tutorial = "./docs/development/build-instructions-osx.md"
tutorial = "./docs/development/build-instructions-macos.md"
elif sys.platform == "win32":
tutorial = "./docs/development/build-instructions-windows.md"
else: