Skip to content

Commit

Permalink
remove the check for changelog
Browse files Browse the repository at this point in the history
Co-authored-by: Akuli <[email protected]>
  • Loading branch information
littlewhitecloud and Akuli authored Jan 13, 2025
1 parent 4a207da commit f3add80
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions check-markdown-links.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@ def find_markdown_files():
def find_links(markdown_file_path):
content = markdown_file_path.read_text(encoding="utf-8")

# TODO: do we have changelog.md in jou?
if markdown_file_path.name == "CHANGELOG.md":
# Ignore changelogs of old versions. Editing them doesn't make sense.
header_matches = list(re.finditer("^## ", content, flags=re.MULTILINE))
end_of_current_version = header_matches[1].start()
content = content[:end_of_current_version]

for lineno, line in enumerate(content.splitlines(), start=1):
link_regexes = [
# [text](target)
Expand Down

0 comments on commit f3add80

Please sign in to comment.