Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Add generated comment in generated file
Browse files Browse the repository at this point in the history
Avoids people sending PRs against generated content
  • Loading branch information
alexeagle committed Jun 15, 2021
1 parent 454981e commit e8c0c57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ load("@io_bazel_stardoc//stardoc:stardoc.bzl", "stardoc")
write_file(
name = "gen_header",
out = "header.vm",
content = ["${moduleDocstring}"],
content = [
"<!-- Generated with Stardoc, Do Not Edit! -->",
"",
"${moduleDocstring}",
],
)

stardoc(
Expand Down

0 comments on commit e8c0c57

Please sign in to comment.