From 0d1794fec30bdbf09955d5f807d48f532aed9e43 Mon Sep 17 00:00:00 2001 From: sholderbach Date: Sun, 22 Dec 2024 23:41:02 +0100 Subject: [PATCH 1/5] Make sure to fail command doc workflow --- .github/workflows/command-block.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/command-block.yml b/.github/workflows/command-block.yml index 7aa910fd262..c886fd95560 100644 --- a/.github/workflows/command-block.yml +++ b/.github/workflows/command-block.yml @@ -22,3 +22,6 @@ jobs: '- Else, please look for the command in the [source tree](https://github.com/nushell/nushell/tree/main/crates) and make your changes directly there.\n\n'+ 'Thanks for helping out!' }) + - run: | + echo "This PR touched autogenerated command docs. If you are not a maintainer of the autogenerated docs, please revert changes to `commands/docs/**` and make the change on the nushell side" + exit 1 From 06177de6370b5ba3c2d94693304524f61931b77e Mon Sep 17 00:00:00 2001 From: sholderbach Date: Sun, 22 Dec 2024 23:45:14 +0100 Subject: [PATCH 2/5] Troll around to see if it launches on later commits --- commands/docs/alias.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/docs/alias.md b/commands/docs/alias.md index a58b552b7f5..d9d02df2ed8 100644 --- a/commands/docs/alias.md +++ b/commands/docs/alias.md @@ -18,6 +18,8 @@ usage: | ```> alias {flags} (name) (initial_value)``` +TROL:LING + ## Parameters - `name`: Name of the alias. @@ -40,4 +42,4 @@ Alias ll to ls -l ## Notes This command is a parser keyword. For details, check: - https://www.nushell.sh/book/thinking_in_nu.html \ No newline at end of file + https://www.nushell.sh/book/thinking_in_nu.html From 8623bf04ba84f891b3f3f638af8449338c0a4234 Mon Sep 17 00:00:00 2001 From: sholderbach Date: Sun, 22 Dec 2024 23:47:07 +0100 Subject: [PATCH 3/5] Revert "Troll around to see if it launches on later commits" This reverts commit 06177de6370b5ba3c2d94693304524f61931b77e. --- commands/docs/alias.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/commands/docs/alias.md b/commands/docs/alias.md index d9d02df2ed8..a58b552b7f5 100644 --- a/commands/docs/alias.md +++ b/commands/docs/alias.md @@ -18,8 +18,6 @@ usage: | ```> alias {flags} (name) (initial_value)``` -TROL:LING - ## Parameters - `name`: Name of the alias. @@ -42,4 +40,4 @@ Alias ll to ls -l ## Notes This command is a parser keyword. For details, check: - https://www.nushell.sh/book/thinking_in_nu.html + https://www.nushell.sh/book/thinking_in_nu.html \ No newline at end of file From eaec9808404fe1088fa5fa55b4b1be16d23cfc6e Mon Sep 17 00:00:00 2001 From: sholderbach Date: Sun, 22 Dec 2024 23:48:41 +0100 Subject: [PATCH 4/5] Revert "Revert "Troll around to see if it launches on later commits"" This reverts commit 8623bf04ba84f891b3f3f638af8449338c0a4234. --- commands/docs/alias.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/docs/alias.md b/commands/docs/alias.md index a58b552b7f5..d9d02df2ed8 100644 --- a/commands/docs/alias.md +++ b/commands/docs/alias.md @@ -18,6 +18,8 @@ usage: | ```> alias {flags} (name) (initial_value)``` +TROL:LING + ## Parameters - `name`: Name of the alias. @@ -40,4 +42,4 @@ Alias ll to ls -l ## Notes This command is a parser keyword. For details, check: - https://www.nushell.sh/book/thinking_in_nu.html \ No newline at end of file + https://www.nushell.sh/book/thinking_in_nu.html From 534f89079b92c34bc89de4552fcd1c0424bfcddd Mon Sep 17 00:00:00 2001 From: sholderbach Date: Mon, 23 Dec 2024 00:01:06 +0100 Subject: [PATCH 5/5] Revert "Revert "Revert "Troll around to see if it launches on later commits""" This reverts commit eaec9808404fe1088fa5fa55b4b1be16d23cfc6e. --- commands/docs/alias.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/commands/docs/alias.md b/commands/docs/alias.md index d9d02df2ed8..a58b552b7f5 100644 --- a/commands/docs/alias.md +++ b/commands/docs/alias.md @@ -18,8 +18,6 @@ usage: | ```> alias {flags} (name) (initial_value)``` -TROL:LING - ## Parameters - `name`: Name of the alias. @@ -42,4 +40,4 @@ Alias ll to ls -l ## Notes This command is a parser keyword. For details, check: - https://www.nushell.sh/book/thinking_in_nu.html + https://www.nushell.sh/book/thinking_in_nu.html \ No newline at end of file