Skip to content

Fix API reference page so all functions render - #502

Open
jjacobson95 wants to merge 1 commit into
mainfrom
docs-api-reference-render
Open

jjacobson95 wants to merge 1 commit into
mainfrom
docs-api-reference-render

Conversation

@jjacobson95

@jjacobson95 jjacobson95 commented Sep 28, 2026 •

Copy link
Copy Markdown
Collaborator

Documentation Update #2


Merge this second.

The API Reference page only displayed the download function; every other function was missing.

Root cause: autodoc_typehints in docs/source/conf.py was set to a list (["none"]) instead of a string. That made Sphinx's typehints handler raise on the first documented object, silently truncating the rest of the page. A second issue: APIreference.rst listed plot_2D_respones_metric with the wrong casing, so that function was never picked up.

Changes:

  • autodoc_typehints = "none" (string, as Sphinx requires)
  • correct the stats function name to plot_2d_respones_metric in APIreference.rst

Verified via the docs workflow: the build succeeds (it was failing on main) and the rendered API page now lists all Dataset/loader/stats functions.

Closes #475

autodoc_typehints must be a string, not a list; the list value made
Sphinx's typehints handler raise on the first documented object, which
silently truncated the API Reference to only the download function.
Also correct the stats function name casing in APIreference.rst
(plot_2d_respones_metric) so it is picked up by autodoc.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs Site API Reference Page is Not Rendering Correctly

1 participant