Skip to content

Add version info to API reference. #3452

@altocumulus

Description

@altocumulus

Mainly while answering questions on StackOverflow I often find myself looking for information about when a method was added to the code base. It would be particularly helpful if we could have this information presented in the API docs themselves like this:

# selection.selectChild([selector]) · Source · Since v2.0.0

Ideally, the version info on the method would link directly to the tagged release version in the GitHub repository like in above example.

Obviously, this needs to be done twice for every method:

  1. Version when added to the module
  2. Version when added to the main bundle

This is a one-time effort, though, as the information will not change in the future. Should we agree on this I would love to volunteer for assembling the information from the repository's history.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions