Skip to content

Latest version placeholder #1816

Open
Open
@francislavoie

Description

@francislavoie

I originally asked about this here #1802 (comment) but I didn't get an answer, so I figured I'd open an issue instead to discuss it.

Is there any way to dynamically replace this <version> with a placeholder? I dug through the scripts in this repo and I didn't find any relevant placeholders.

Ideally, I'd like a %%LATEST_VERSION%% placeholder that would basically be the version number that the latest tag shares.

I've already gotten a question from a user recently who is new to Docker asking "do I need to replace <version>?" so I think this should be improved.

I realize that this is probably non-trivial because the latest tag doesn't directly map to a specific version because of how tagging works. Maybe there's a way to hook into the docs generator to provide additional placeholders? We could write a simple script that extracts the relevant info based on some heuristic.

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