Skip to content

Commit

Permalink
Fix markdown documentatiom generation
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Oct 29, 2024
1 parent 82e7ea4 commit 9e16e33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/config-markdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def create_markdown_user(item, level=1):
if header_include.is_file():
user_content +="\n<!--- header START from tools/include/markdown/"+item['id']+"-header.md --->\n"
with open(header_include, 'r') as file:
user_content += f""+file.read().replace('\n', '')+"\n"
user_content += f""+file.read()+"\n"
user_content +="<!--- header STOP from tools/include/markdown/"+item['id']+"-header.md --->\n\n"

if 'about' in item and item['about']:
Expand All @@ -123,8 +123,8 @@ def create_markdown_user(item, level=1):
if footer_include.is_file():
user_content +="\n<!--- footer START from tools/include/markdown/"+item['id']+"-footer.md --->\n"
with open(footer_include, 'r') as file:
user_content += f""+file.read().replace('\n', '')+"\n"
user_content +="<!--- footer STOP from tools/include/markdown/"+item['id']+"-header.md --->\n\n"
user_content += f""+file.read()+"\n"
user_content +="<!--- footer STOP from tools/include/markdown/"+item['id']+"-footer.md --->\n\n"

user_content += '\n\n***\n\n' # Add extra line for spacing

Expand Down
Binary file removed tools/include/images/CON004.webp
Binary file not shown.

0 comments on commit 9e16e33

Please sign in to comment.