Skip to content

Common documentation/docstring related utlities #12

Description

@Zethson

Description of feature

I think quite many of our packages use a method to inject specific parameters into docstrings to DRY them. Maybe scverse-misc could provide general utilities for docstring handling or more broadly documentation.

We could discuss whether some of these should go into the upcoming scverse-doc (scanpy-doc) instead.

Activity

  1. flying-sheep commented on Apr 23, 2026

    @flying-sheep
    Member

    Yeah, this is part of both deprecated and the upcoming settings.

    Maybe it would be possible (and make sense) to have a sphinx extension here instead of modifying the docstrings. That way we could use introspection to implement the features, and if people want, they could choose to use something other than Sphinx.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions