Skip to content

DOC/DX: add documentation for interactive examples and their maintenance #27310

@agriyakhetarpal

Description

@agriyakhetarpal

Issue with current documentation:

This is a short follow-up issue stemmed off from gh-26745 (review) and gh-26745 (comment) – once said PR is merged, the NumPy documentation for contributors and core developers should mention how to enable interactive examples with jupyterlite-sphinx. This issue aims to track that process, with the information to be added pertaining to:

Additional context

cc: @melissawm, @rgommers, @steppi

Idea or request for content:

My idea is that the most appropriate place(s) to add documentation related to this should be in these pages and cross-linked with each other, based on the last point above:

  1. https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst, and
  2. https://numpy.org/devdocs/dev/howto-docs.html#docstring-intro, and
  3. perhaps a "Pyodide" section nearby https://numpy.org/devdocs/dev/howto_build_docs.html#instructions?

Additionally, some suggestions from @melissawm are as follows:

I would either link or get inspiration from scipy.github.io/devdocs/dev/core-dev/index.html#wrapping-up (for the release guide) and the "Interactive documentation" section on scipy.github.io/devdocs/dev/contributor/rendering_documentation.html#rendering-documentation-locally-with-sphinx


With some guidelines set on the interactive documentation goal and once gh-26745 gets merged, we could soon start looking at enabling interactivity in the "User Guide" pages and potentially for https://numpy.org/numpy-tutorials/ in the future. IMO, some of these points I have mentioned above could be better placed in part in a SPEC document rather than completely in the NumPy documentation, though.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions