Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion build_multiversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ def handle_file_url_rename(file_path, file_url):
child_md.append(f"{child['title']} <{file_url}>")

with open(version_tmp_dir / new_file_path, "a") as ind_f:
ind_f.write("```")
# Include {toctree} for children below the .md text
ind_f.write("\n```")
ind_f.write("\n".join(toc_directives) + "\n")
ind_f.writelines("\n".join(child_md) + "\n")
ind_f.write("```\n")
Expand Down