Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
upd: idk how it works aaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
imperialwool committed May 17, 2024
1 parent d2df96d commit 4d39439
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,11 @@

## ::: mkdocs_gen_files
options:
members: false
members: false

### ::: mkdocs_gen_files.editor.FilesEditor
options:
filters: ['!', open, config]
show_root_heading: false

## ::: mkdocs_gen_files.editor.FilesEditor
5 changes: 5 additions & 0 deletions docs/scripts/gen_ref_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@

root = Path(__file__).parent.parent
src = root / "aminofixfix"
print(src)

for path in sorted(src.rglob("*.py")):
print(path)
module_path = path.relative_to(src).with_suffix("")
print(module_path)
doc_path = path.relative_to(src).with_suffix(".md")
print(doc_path)
full_doc_path = Path("reference", doc_path)
print(full_doc_path)

parts = tuple(module_path.parts)

Expand Down

0 comments on commit 4d39439

Please sign in to comment.