From 545f6548a8427954cd9c70560fcb1176d08ceaf4 Mon Sep 17 00:00:00 2001 From: skedwards88 Date: Thu, 10 Sep 2026 14:06:48 -0700 Subject: [PATCH 1/2] edit text and comment preceding generated error table --- .../dtsx/docs/commands/docgen/table_errors/TableErrorsCmd.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/dtsx/docs/commands/docgen/table_errors/TableErrorsCmd.java b/src/main/java/com/dtsx/docs/commands/docgen/table_errors/TableErrorsCmd.java index 3563fb7..a3dcb97 100644 --- a/src/main/java/com/dtsx/docs/commands/docgen/table_errors/TableErrorsCmd.java +++ b/src/main/java/com/dtsx/docs/commands/docgen/table_errors/TableErrorsCmd.java @@ -35,7 +35,8 @@ public class TableErrorsCmd extends BaseCmd { "The {data-api} may return the following errors:", "", "// Note: The following table is autogenerated from the actual Data API error codes and should not be edited manually.", - "// If there is a typo or a description clarity, the source Data API code should be updated instead.", + "// If there is a typo or an issue with description clarity, the source Data API code should be updated instead.", + "// To regenerate, run 'dh docgen table-errors' from the datastax/astra-client-docs-tests repo. Pass the raw 'src/main/resources/errors.yaml' file from the stargate/data-api repo corresponding to the desired release.", "" }; From 300887bd040a52daf4cd0456039239e94bf0ed68 Mon Sep 17 00:00:00 2001 From: skedwards88 Date: Thu, 10 Sep 2026 14:11:06 -0700 Subject: [PATCH 2/2] update text in actual place --- .../dtsx/docs/commands/docgen/table_errors/TableErrorsCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/dtsx/docs/commands/docgen/table_errors/TableErrorsCmd.java b/src/main/java/com/dtsx/docs/commands/docgen/table_errors/TableErrorsCmd.java index a3dcb97..7af835c 100644 --- a/src/main/java/com/dtsx/docs/commands/docgen/table_errors/TableErrorsCmd.java +++ b/src/main/java/com/dtsx/docs/commands/docgen/table_errors/TableErrorsCmd.java @@ -32,7 +32,7 @@ public class TableErrorsCmd extends BaseCmd { private static final String[] ASCIIDOC_PREFIX = { "= {data-api} error codes", "", - "The {data-api} may return the following errors:", + "The {data-api} can return the following errors:", "", "// Note: The following table is autogenerated from the actual Data API error codes and should not be edited manually.", "// If there is a typo or an issue with description clarity, the source Data API code should be updated instead.",