Skip to content

Migrate to Starlark API Docs for BCR #113

Description

@sin-ack

Recently, there has been a new development in the Bazel Central Registry that allows documentation to be hosted directly on BCR: https://blog.aspect.build/stardocs-on-bcr

The steps to include the docs as part of BCR are documented on the blog. Or an example from bazel_lib itself:

https://github.com/bazel-contrib/bazel-lib/blob/0a2f475200309e581f4e0d8aa6989eda7caed4e6/.bcr/source.template.json#L4

https://github.com/bazel-contrib/bazel-lib/blob/0a2f475200309e581f4e0d8aa6989eda7caed4e6/.github/workflows/release_prep.sh#L46-L52

This is nice because it allows package documentation to be centralized and versioned.

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions