Skip to content

Commit

Permalink
remove the 'also available offline' hint from offline help
Browse files Browse the repository at this point in the history
  • Loading branch information
r10s committed Apr 6, 2023
1 parent 6c5541f commit 6312c05
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/create-local-help.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ def generate_file(srcdir, destdir, lang, file, add_top_links):
content,
flags=re.MULTILINE|re.DOTALL)

# remove the first blockquote, which is the "this help is also available offline hint"
content = re.sub(r"<blockquote>.*?</blockquote>",
"",
content,
count=1,
flags=re.MULTILINE|re.DOTALL)

for linked_file in linked_files:
srcfile = "../" + linked_file
destfile = "../" + linked_file.split("/")[-1]
Expand Down

0 comments on commit 6312c05

Please sign in to comment.