From 483d52128df75c551bf99b6e699b2a9401d69963 Mon Sep 17 00:00:00 2001 From: Sara Damiano Date: Tue, 13 Aug 2024 15:13:29 -0400 Subject: [PATCH] internal debug change Signed-off-by: Sara Damiano --- docs/markdown_prefilter.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/markdown_prefilter.py b/docs/markdown_prefilter.py index 42ad497..faf80ca 100644 --- a/docs/markdown_prefilter.py +++ b/docs/markdown_prefilter.py @@ -38,6 +38,7 @@ def github_slugify(name): .replace(" ", "-") ) + # %% print_me = True skip_me = False @@ -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.