From 423d3864da4d2398e9e0de59f6ccee654ff03d7f Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Tue, 23 Sep 2025 23:44:55 +0000 Subject: [PATCH] Re-run autogen-spicy-docs, but disable spicy-format for output --- .pre-commit-config.yaml | 2 +- doc/devel/spicy/autogen/tftp-no-accept.spicy | 3 +++ doc/devel/spicy/autogen/zeek-functions.spicy | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index da07da7d62..d77a7008be 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -56,4 +56,4 @@ repos: rev: v0.26.0 hooks: - id: spicy-format - exclude: '^testing/.*' + exclude: '^(testing/.*|doc/devel/spicy/autogen/.*)' diff --git a/doc/devel/spicy/autogen/tftp-no-accept.spicy b/doc/devel/spicy/autogen/tftp-no-accept.spicy index 20c27685d4..b339146534 100644 --- a/doc/devel/spicy/autogen/tftp-no-accept.spicy +++ b/doc/devel/spicy/autogen/tftp-no-accept.spicy @@ -53,6 +53,9 @@ type Opcode = enum { type Request = unit(is_read: bool) { filename: bytes &until=b"\x00"; mode: bytes &until=b"\x00"; + + on %done { + } }; # Figure 5-2: DATA packet diff --git a/doc/devel/spicy/autogen/zeek-functions.spicy b/doc/devel/spicy/autogen/zeek-functions.spicy index 3eca1c67fc..53126ad50f 100644 --- a/doc/devel/spicy/autogen/zeek-functions.spicy +++ b/doc/devel/spicy/autogen/zeek-functions.spicy @@ -733,3 +733,4 @@ id: fully-qualified name of the global Zeek vector to check Returns the size of a Zeek vector. v: opaque handle to the Zeek vector, as returned by other functions +