better structure for guid

This commit is contained in:
Maccesch 2023-06-02 20:40:11 +01:00
parent 9e3ae03537
commit 2c19da21fb
4 changed files with 4 additions and 7 deletions

View file

@ -1,13 +1,10 @@
# Summary
[Introduction]()
[Get Started](get_started.md)
[Functions](functions.md)
[Changelog](changelog.md)
# Getting Started
- [Get Started](getting_started/get_started.md)
- [Functions](getting_started/functions.md)
# Elements
- [use_resize_observer](elements/use_resize_observer.md)

View file

@ -10,7 +10,7 @@ def main():
def generate_function_overview_for_category(category):
print(f"## {category.title()}")
listdir = os.listdir(os.path.join(os.getcwd(), "..", category))
listdir = os.listdir(os.path.join(os.getcwd(), category))
listdir.sort()
for name in listdir:
@ -19,7 +19,7 @@ def generate_function_overview_for_category(category):
def generate_function_overview(category, name):
file_name = f"../../../../src/{name}.rs"
file_name = f"../../../src/{name}.rs"
with open(file_name) as f:
in_code_block = False
for line in f.readlines():