Skip to content

Document Dataset.load_async and DataArray.load_async#11311

Merged
TomNicholas merged 1 commit intopydata:mainfrom
TomNicholas:fix-load-async-docs
Apr 23, 2026
Merged

Document Dataset.load_async and DataArray.load_async#11311
TomNicholas merged 1 commit intopydata:mainfrom
TomNicholas:fix-load-async-docs

Conversation

@TomNicholas
Copy link
Copy Markdown
Member

Summary

  • Adds Dataset.load_async and DataArray.load_async to the autosummary blocks in doc/api/io.rst so Sphinx generates dedicated reference pages for them.
  • Without these entries, only Variable.load_async had a generated page (it's listed in doc/api-hidden.rst), so the :py:meth:\Dataset.load_async`/:py:meth:`DataArray.load_async`cross-references inwhats-new.rst` rendered as plain text.

Reported by @kylebarron in #10327 (comment).

DataTree.load_async is not added here because it doesn't exist yet (it was left unchecked in #10327's API checklist).

Test plan

  • Build the docs locally and confirm xarray.Dataset.load_async and xarray.DataArray.load_async pages are generated and the whats-new cross-references resolve.

[This is Claude Code on behalf of Tom Nicholas]

Add both methods to the autosummary blocks in doc/api/io.rst so Sphinx
generates their reference pages. Without these entries no pages are
built, and the :py:meth: cross-references to them in whats-new.rst
render as plain text.

Co-authored-by: Claude <noreply@anthropic.com>
@TomNicholas TomNicholas merged commit cdd7692 into pydata:main Apr 23, 2026
42 of 43 checks passed
@TomNicholas TomNicholas deleted the fix-load-async-docs branch April 23, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants