Skip to content

Commit

Permalink
Example source -> Example materials
Browse files Browse the repository at this point in the history
  • Loading branch information
hmellor committed Jan 6, 2025
1 parent 66763fa commit 89263bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/generate_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def generate(self) -> str:
include = "include" if self.main_file.suffix == ".md" else "literalinclude"
content += f":::{{{include}}} {make_relative(self.main_file)}\n:::\n\n"
if self.other_files:
content += "## Example source\n\n"
content += "## Example materials\n\n"
for file in self.other_files:
include = "include" if file.suffix == ".md" else "literalinclude"
content += f":::{{admonition}} {file.relative_to(self.path)}\n:class: dropdown\n\n"
Expand Down

0 comments on commit 89263bd

Please sign in to comment.