Skip to content

Requires Tags and Releases with specific prefixes #259

@tlawrie

Description

@tlawrie

When forking and connecting to a new documentation github, the site won't run without tags and releases in the liked docs repo.

It will fail the invariant check on "latestVersion" in docs.$lang.$ref.$.tsx:78

Its also not clear from the documentation or .env.example as to what RELEASE_PACKAGE means. Essentially, from what I could figure out, it is the prefix in the tag i.e. [email protected] vs v0.0.1 and in fact tags / releases must either have the RELEASE_PACKAGE prefix or v.

Is there a way to

  • Get this documented (happy to contribute this, if there is a spot for it)
  • Remove the hardcoding of this logic (could be harder as there seem to be a lot of checks and splits on this business logic)

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