aboutsummaryrefslogtreecommitdiff
path: root/website/tools/releases-toml.py
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2021-02-01 17:55:05 +0000
committerEd Maste <emaste@FreeBSD.org>2021-02-04 14:39:06 +0000
commitfbc1409c73012ea3d33c1bad851530ed29eb80da (patch)
tree8991f00222c05df30233532ecba06d078b6e5444 /website/tools/releases-toml.py
parente11aaf5a76d696458092bbde8f3e8f88cfbb3e96 (diff)
downloaddoc-fbc1409c73012ea3d33c1bad851530ed29eb80da.tar.gz
doc-fbc1409c73012ea3d33c1bad851530ed29eb80da.zip
Use @generated in generated files
@generated is used by various tools to identify generated files. For example, Phabricator will not display diffs in generated files by default. Reviewed by: gjb Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D28446
Diffstat (limited to 'website/tools/releases-toml.py')
-rw-r--r--website/tools/releases-toml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/website/tools/releases-toml.py b/website/tools/releases-toml.py
index 2e0b72b688..2dc96d310f 100644
--- a/website/tools/releases-toml.py
+++ b/website/tools/releases-toml.py
@@ -49,7 +49,7 @@ def main(argv):
elif opt in ("-p", "--path"):
path = arg
- releasesTOML = "# Code generated by the FreeBSD Documentation toolchain. DO NOT EDIT.\n"
+ releasesTOML = "# Code @" + "generated by the FreeBSD Documentation toolchain. DO NOT EDIT.\n"
releasesTOML += "# Please don't change this file manually but run `make` to update it.\n"
releasesTOML += "# For more information, please read the FreeBSD Documentation Project Primer\n"
releasesTOML += '\n'