Skip to content

Commit

Permalink
Merge pull request #926 from Lorak-mmk/fix-preprocessor
Browse files Browse the repository at this point in the history
Docs: Preprocessor for Python < 3.12
  • Loading branch information
piodul committed Feb 2, 2024
2 parents e94f8f9 + 8b15454 commit e3ae2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sphinx_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def remove_sphinx_markdown(md_file_text, name):

def process_section(section):
if 'Chapter' in section:
print(f'Processing chapter {section['Chapter']['name']}', file=sys.stderr)
print(f'Processing chapter {section["Chapter"]["name"]}', file=sys.stderr)
section['Chapter']['content'] = remove_sphinx_markdown(section['Chapter']['content'], section['Chapter']['name'])
for s in section['Chapter']['sub_items']:
process_section(s)
Expand Down

0 comments on commit e3ae2cd

Please sign in to comment.