Skip to content

Commit

Permalink
Update doc "report an issue" button
Browse files Browse the repository at this point in the history
Attempt to fix #17176 by:
- Creating a new template for doc issues
- Populating the "page link" field with a full link (domain + path)
- Updating labels

Closes #17177.

PiperOrigin-RevId: 508553013
Change-Id: I2d52125eb9b8a6efd1f3fe3e2be8cfe4ad2d8230
  • Loading branch information
keertk authored and copybara-github committed Feb 10, 2023
1 parent 6bd2cc3 commit 1a2a32b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/doc_issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: bazel.build doc issue
description: File a documentation issue through bazel.build's "Report an Issue" button
body:
- type: input
id: link
attributes:
label: >
Page link:
- type: textarea
id: desc
attributes:
label: >
Problem description (include actual vs expected text, if applicable):
- type: textarea
id: location
attributes:
label: >
Where do you see this issue? (include link to specific section of the page, if applicable)
- type: textarea
id: extras
attributes:
label: Any other information you'd like to share?
2 changes: 1 addition & 1 deletion site/en/_buttons.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<a class="button button-with-icon" href="https://github.com/bazelbuild/bazel/issues/new?title=%5Bbazel.build%5D+Problem+with+{% dynamic print request.path %}&labels=type%3A%20documentation%20%28cleanup%29" target="_blank">
<a class="button button-with-icon" href="https://github.com/bazelbuild/bazel/issues/new?title=%5Bbazel.build%5D+Problem+with+{% dynamic print request.path %}&labels=team-Documentation&template=doc_issue.yml&link=https%3A%2F%2Fbazel.build{% dynamic print request.path %}" target="_blank">
Report an issue<span class="material-icons icon-after" aria-hidden="true">open_in_new</span>
</a>
{% dynamic if not setvar.source_file %}
Expand Down

0 comments on commit 1a2a32b

Please sign in to comment.