Skip to content

Commit

Permalink
Fix signature crossrefs
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs committed Oct 16, 2024
1 parent c46093b commit 9086073
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rerun_py/docs/gen_common_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ class Section:
"RecordingView",
"RRDArchive",
"Schema",
"ViewContentsLike",
],
show_tables=True,
),
Expand Down Expand Up @@ -466,6 +467,12 @@ def make_slug(s: str) -> str:
fd.write(" filters: []\n")
if section.show_submodules:
fd.write(" show_submodules: True\n")
# Helpful for debugging
if 0:
with mkdocs_gen_files.open(write_path, "r") as fd:
print("FOR SECTION", section.title)
print(fd.read())
print()

# Write out a table for the section in the index_file
if section.show_tables:
Expand Down
3 changes: 3 additions & 0 deletions rerun_py/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ plugins:
load_external_modules: true
preload_modules:
- rerun_bindings
annotations_path: brief
signature_crossrefs: true

- gen-files: # https://oprypin.github.io/mkdocs-gen-files
scripts:
- docs/gen_common_index.py
Expand Down
1 change: 1 addition & 0 deletions rerun_py/rerun_sdk/rerun/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@
AnyColumn as AnyColumn,
AnyComponentColumn as AnyComponentColumn,
ComponentLike as ComponentLike,
ViewContentsLike as ViewContentsLike,
)

0 comments on commit 9086073

Please sign in to comment.