Skip to content

Add Documentation to Rules Emitted by bazel info build-language #15817

@abhillman

Description

@abhillman

Description of the feature request:

Add documentation to the result of bazel info build-language

What underlying problem are you trying to solve with this feature?

bazel info build-language is relied upon by the IntelliJ plugin (i.e. see https://github.com/bazelbuild/intellij/blob/master/base/src/com/google/idea/blaze/base/lang/buildfile/sync/BuildLangSyncPlugin.java#L125 -- this runs bazel info build-language and then parses the output).

Because bazel info build-language does not emit documentation, all that is displayed for a given internal rule is the following (which is generated by the plugin and is the same for every built-in rule):

image

By adding documentation to the rules emitted, better documentation can be displayed for IntelliJ bazel users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3We're not considering working on this, but happy to review a PR. (No assignee)staleIssues or PRs that are stale (no activity for 30 days)team-DocumentationDocumentation improvements that cannot be directly linked to other team labelsteam-Rules-APIAPI for writing rules/aspects: providers, runfiles, actions, artifactstype: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions