Skip to content

Commit

Permalink
internal debug change
Browse files Browse the repository at this point in the history
Signed-off-by: Sara Damiano <[email protected]>
  • Loading branch information
SRGDamia1 committed Aug 13, 2024
1 parent 3281928 commit 483d521
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/markdown_prefilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def github_slugify(name):
.replace(" ", "-")
)


# %%
print_me = True
skip_me = False
Expand All @@ -63,15 +64,15 @@ def github_slugify(name):
seper = "\\"
else:
seper = "/"
# sys.stdout.buffer.write("Separator: '{}'\n".format(seper).encode("utf-8"))
# print("Separator: '{}'\n".format(seper))
file_dir = file_name_dir.rsplit(sep=seper, maxsplit=1)[0]
file_name_ext = file_name_dir.rsplit(sep=seper, maxsplit=1)[1]
file_name = file_name_ext.rsplit(sep=".", maxsplit=1)[0]
file_ext = file_name_ext.rsplit(sep=".", maxsplit=1)[1]
# sys.stdout.buffer.write(
# print(
# "File Directory: {}, File Name: {}, File Extension: {}\n".format(
# file_dir, file_name, file_ext
# ).encode("utf-8")
# )
# )
# For the example walk-throughs, written in the ReadMe files,
# we want the example name, which is part of the directory.
Expand Down

0 comments on commit 483d521

Please sign in to comment.