Skip to content

Commit

Permalink
Avoid double conflict on README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter committed Jul 27, 2023
1 parent 7f4ac9b commit 8f20119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class CommonExampleInfo(ExampleInfo):
print("Copying markdown files")
for f in repo.glob("*.md"):
print(f.name)
shutil.copy(f, here)
if (f.name != "README.md"): shutil.copy(f, here) # Workaround for https://github.com/mkdocs/mkdocs/issues/3313

# String replace "##__EXAMPLES_LIST__##" with autogenerated tables
# Note: We use the copy for the site build in the Documentation folder so that the
Expand Down

0 comments on commit 8f20119

Please sign in to comment.