From e93bb3355a19525257fee62cbdc9f227426e9528 Mon Sep 17 00:00:00 2001 From: Prashanth Rao <35005448+prrao87@users.noreply.github.com> Date: Fri, 6 Mar 2026 11:54:45 -0500 Subject: [PATCH] docs: add meth/func names to mkdocstrings (#3101) LanceDB's SDK API docs do not currently show method names under any given object, and this makes it harder to quickly understand and find relevant method names for a given class. Geneva docs show the available methods in the right navigation. This PR standardizes the appearance of the LanceDB SDK API in the docs to be more similar to Geneva's. image image --- docs/mkdocs.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/mkdocs.yml b/docs/mkdocs.yml index c82ef5109..324b6fda5 100644 --- a/docs/mkdocs.yml +++ b/docs/mkdocs.yml @@ -52,14 +52,21 @@ plugins: options: docstring_style: numpy heading_level: 3 - show_source: true - show_symbol_type_in_heading: true show_signature_annotations: true show_root_heading: true + show_docstring_examples: true + show_docstring_attributes: false + show_docstring_other_parameters: true + show_symbol_type_heading: true + show_labels: false + show_if_no_docstring: true + show_source: false members_order: source docstring_section_style: list signature_crossrefs: true separate_signature: true + filters: + - "!^_" import: # for cross references - https://arrow.apache.org/docs/objects.inv @@ -113,7 +120,7 @@ markdown_extensions: emoji_index: !!python/name:material.extensions.emoji.twemoji emoji_generator: !!python/name:material.extensions.emoji.to_svg - markdown.extensions.toc: - toc_depth: 3 + toc_depth: 4 permalink: true permalink_title: Anchor link to this section