Skip to content

Commit

Permalink
Add links to subpages in lakefs_spec API reference
Browse files Browse the repository at this point in the history
  • Loading branch information
leonpawelzik committed Mar 15, 2024
1 parent a1d7119 commit cf1d022
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/_scripts/gen_api_ref_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
identifier = ".".join(parts)
print("::: " + identifier, file=fd)

if identifier == "lakefs_spec":
print("\nSee also:\n", file=fd)
print("- [errors](errors.md): Module for error handling and custom exceptions.", file=fd)
print("- [spec](spec.md): Main module defining the lakeFS filesystem specification.", file=fd)
print("- [transaction](transaction.md): Module for handling transactions in the lakeFS filesystem.", file=fd)
print("- [util](util.md): Utility functions and helper classes for the lakeFS filesystem.", file=fd)


mkdocs_gen_files.set_edit_path(full_doc_path, path)

with mkdocs_gen_files.open("reference/SUMMARY.md", "w") as nav_file:
Expand Down

0 comments on commit cf1d022

Please sign in to comment.