mirror of
https://github.com/adoyle0/leptos-use.git
synced 2025-02-02 10:54:15 -05:00
better structure for guid
This commit is contained in:
parent
9e3ae03537
commit
2c19da21fb
4 changed files with 4 additions and 7 deletions
|
@ -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)
|
||||
|
|
|
@ -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():
|
Loading…
Add table
Reference in a new issue