Skip to content

Allow customization of the "install" tab #3403

Closed as not planned
Closed as not planned
@jonasfj

Description

@jonasfj

We should render INSTALL.md on the "install" tab, if the package contains an INSTALL.md file.
(motivated by #2125)

This allows packages with external dependencies to specify how they are installed. Imagine packages using dart:ffi, it also allows packages that can be globally activated to indicate that this is how they should be used. And it allows packages that prefers to be dev_dependencies to indicate this.

Moreover, it allows packages to recommend version constraint ranges, useful in cases when bump to 1.0.0 happened for cosmetic reasons and didn't cause any breaking changes (#3385).

Mostly, I think this is generally useful to allow packages to specify their own install instructions, if they want to.

@mit-mit, @kevmoo, thougths?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions