Skip to content

Commit 58cc956

Browse files
committed
docs: replace md links with html.
1 parent 739b86c commit 58cc956

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/generate_html_pages.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def get_doc_links():
108108
from urllib.request import urlopen
109109

110110
html = urlopen(tadoc_homepage).read()
111-
with open(html_file_path, 'w') as f:
111+
with open(html_file_path, 'wb') as f:
112112
f.write(html)
113113

114114
# find every link that's for an indicator and convert to absolute urls
@@ -227,6 +227,7 @@ def run_convert_to_html(output_dir):
227227
for md_file_path in get_markdown_file_paths():
228228
with open(md_file_path, 'r') as f:
229229
html = markdown_to_html(f.read())
230+
html = html.replace('.md">', '.html">')
230231

231232
head = HEADER
232233
if 'func_groups' in md_file_path:

0 commit comments

Comments
 (0)