Skip to content

Commit

Permalink
Deployed d8accde with MkDocs version: 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Nov 23, 2024
1 parent 18c4257 commit 61a1b8d
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions gen_ref_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@

import mkdocs_gen_files

with Path("README.md").open("r") as readme, mkdocs_gen_files.open(
"index.md",
"w",
) as index_file:
with (
Path("README.md").open("r") as readme,
mkdocs_gen_files.open(
"index.md",
"w",
) as index_file,
):
index_file.writelines(readme.read())

with Path("docs/screenshot.png").open("rb") as orig, mkdocs_gen_files.open(
"docs/screenshot.png", "wb"
) as screenshot:
with (
Path("docs/screenshot.png").open("rb") as orig,
mkdocs_gen_files.open("docs/screenshot.png", "wb") as screenshot,
):
screenshot.write(orig.read())

0 comments on commit 61a1b8d

Please sign in to comment.