Skip to content

Commit 21c1098

Browse files
Update doc/python/dropdowns.md
Co-authored-by: Liam Connors <connorsl@tcd.ie>
1 parent fd655c2 commit 21c1098

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/python/dropdowns.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -494,9 +494,9 @@ for n, figname in enumerate(fig_dict.keys()):
494494
data_for_jinja["divs"]+=f'<div id="{figname}" class="content-div" {initially_hide_divs_other_than_the_first}>{fig_html}{text_dict[figname]}</div>'
495495

496496
# Insert data into the template and write the file to disk
497-
# YOU WILL LIKELY NEED TO CUSTOMIZE THESE PATHS
498-
input_template_path=r"C:\data\demo_template.jinja"
499-
output_html_path=r"C:\data\demo_result.html"
497+
# You'll need to add the path to your template and where to output the generated file
498+
input_template_path=r"<path-to-Jinja-template.html>"
499+
output_html_path=r"<path-to-output-file.html>"
500500

501501
with open(output_html_path, "w", encoding='utf-8') as output_file:
502502
with open(input_template_path) as template_file:

0 commit comments

Comments
 (0)