From 8fe8eb7b98a85de172032b79e90be9754ce4f9e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20J=C3=A4genstedt?= Date: Wed, 10 Jul 2024 11:30:28 +0200 Subject: [PATCH 1/2] Link to docs from dist files --- features/abortable-fetch.yml.dist | 1 + scripts/dist.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/features/abortable-fetch.yml.dist b/features/abortable-fetch.yml.dist index a3185383c8a..3f65283cc95 100644 --- a/features/abortable-fetch.yml.dist +++ b/features/abortable-fetch.yml.dist @@ -1,5 +1,6 @@ # Generated from: abortable-fetch.yml # Do not edit this file by hand. Edit the source file instead! +# See //docs/CONTRIBUTING.md for how to update and review dist files. status: baseline: high diff --git a/scripts/dist.ts b/scripts/dist.ts index 00ff9924371..5b44c852873 100644 --- a/scripts/dist.ts +++ b/scripts/dist.ts @@ -204,6 +204,7 @@ function toDist(sourcePath: string): YAML.Document { dist.commentBefore = [ `Generated from: ${id}.yml`, `Do not edit this file by hand. Edit the source file instead!`, + `See //docs/CONTRIBUTING.md for how to update and review dist files.`, ] .map((line) => ` ${line}`) .join("\n"); From d2a4cc6aa6a7dd0d8b3d0c6874a2cd46242c62e1 Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Mon, 2 Sep 2024 13:20:20 +0200 Subject: [PATCH 2/2] Update path --- features/abortable-fetch.yml.dist | 2 +- scripts/dist.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/abortable-fetch.yml.dist b/features/abortable-fetch.yml.dist index 3f65283cc95..6c45fc3cf7e 100644 --- a/features/abortable-fetch.yml.dist +++ b/features/abortable-fetch.yml.dist @@ -1,6 +1,6 @@ # Generated from: abortable-fetch.yml # Do not edit this file by hand. Edit the source file instead! -# See //docs/CONTRIBUTING.md for how to update and review dist files. +# See /docs/CONTRIBUTING.md for how to update and review dist files. status: baseline: high diff --git a/scripts/dist.ts b/scripts/dist.ts index b5a0e580e6a..63753464ea6 100644 --- a/scripts/dist.ts +++ b/scripts/dist.ts @@ -259,7 +259,7 @@ function toDist(sourcePath: string): YAML.Document { dist.commentBefore = [ `Generated from: ${id}.yml`, `Do not edit this file by hand. Edit the source file instead!`, - `See //docs/CONTRIBUTING.md for how to update and review dist files.`, + `See /docs/CONTRIBUTING.md for how to update and review dist files.`, ] .map((line) => ` ${line}`) .join("\n");