Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Commit 464d0d1

Browse files
committed
Regenerate docs for rst linting fixes from scripts and bifs
1 parent f2e1e3a commit 464d0d1

File tree

15 files changed

+106
-100
lines changed

15 files changed

+106
-100
lines changed

scripts/base/bif/event.bif.zeek.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,8 +662,8 @@ Events
662662
of the file. The analysis can be augmented at this time via
663663
:zeek:see:`Files::add_analyzer`. The amount of data fed into the file
664664
sniffing can be increased or decreased by changing either
665-
:zeek:see:`default_file_bof_buffer_size` or the `bof_buffer_size` field
666-
in an `fa_file` record. The event will be raised even if content inspection
665+
:zeek:see:`default_file_bof_buffer_size` or the ``bof_buffer_size`` field
666+
in an :zeek:type:`fa_file` record. The event will be raised even if content inspection
667667
has been unable to infer any metadata, in which case the fields in *meta*
668668
will be left all unset.
669669

scripts/base/bif/packet_analysis.bif.zeek.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ Summary
1212
~~~~~~~
1313
Functions
1414
#########
15-
====================================================================================== ==============================================================================================================
15+
====================================================================================== ================================================================================================================
1616
:zeek:id:`PacketAnalyzer::__disable_analyzer`: :zeek:type:`function` Internal function to disable a packet analyzer.
1717
:zeek:id:`PacketAnalyzer::__enable_analyzer`: :zeek:type:`function` Internal function to enable a packet analyzer.
18-
:zeek:id:`PacketAnalyzer::__set_ignore_checksums_nets`: :zeek:type:`function` Internal function that is used to update the core-mirror of the script-level `ignore_checksums_nets` variable.
18+
:zeek:id:`PacketAnalyzer::__set_ignore_checksums_nets`: :zeek:type:`function` Internal function that is used to update the core-mirror of the script-level ``ignore_checksums_nets`` variable.
1919
:zeek:id:`PacketAnalyzer::register_packet_analyzer`: :zeek:type:`function` Add an entry to parent's dispatcher that maps a protocol/index to a next-stage child analyzer.
2020
:zeek:id:`PacketAnalyzer::register_protocol_detection`: :zeek:type:`function` Registers a child analyzer with a parent analyzer to perform packet detection when determining whether
2121
to forward from parent to child.
22-
:zeek:id:`PacketAnalyzer::try_register_packet_analyzer_by_name`: :zeek:type:`function` Attempts to add an entry to `parent`'s dispatcher that maps a protocol/index to a next-stage `child`
22+
:zeek:id:`PacketAnalyzer::try_register_packet_analyzer_by_name`: :zeek:type:`function` Attempts to add an entry to ``parent``'s dispatcher that maps a protocol/index to a next-stage ``child``
2323
analyzer.
24-
====================================================================================== ==============================================================================================================
24+
====================================================================================== ================================================================================================================
2525

2626

2727
Detailed Interface
@@ -47,7 +47,7 @@ Functions
4747

4848
:Type: :zeek:type:`function` (v: :zeek:type:`subnet_set`) : :zeek:type:`bool`
4949

50-
Internal function that is used to update the core-mirror of the script-level `ignore_checksums_nets` variable.
50+
Internal function that is used to update the core-mirror of the script-level ``ignore_checksums_nets`` variable.
5151

5252
.. zeek:id:: PacketAnalyzer::register_packet_analyzer
5353
:source-code: base/bif/packet_analysis.bif.zeek 15 15
@@ -82,7 +82,7 @@ Functions
8282

8383
:Type: :zeek:type:`function` (parent: :zeek:type:`string`, identifier: :zeek:type:`count`, child: :zeek:type:`string`) : :zeek:type:`bool`
8484

85-
Attempts to add an entry to `parent`'s dispatcher that maps a protocol/index to a next-stage `child`
85+
Attempts to add an entry to ``parent``'s dispatcher that maps a protocol/index to a next-stage ``child``
8686
analyzer. This may fail if either of the two names does not respond to a known analyzer.
8787

8888

scripts/base/frameworks/broker/main.zeek.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Runtime Options
2121

2222
Redefinable Options
2323
###################
24-
============================================================================================ =======================================================================
24+
============================================================================================ ===========================================================================
2525
:zeek:id:`Broker::aggressive_interval`: :zeek:type:`count` :zeek:attr:`&redef` Frequency of work-stealing polling attempts for Broker/CAF threads
2626
in "aggressive" mode.
2727
:zeek:id:`Broker::aggressive_polls`: :zeek:type:`count` :zeek:attr:`&redef` Number of work-stealing polling attempts for Broker/CAF threads
@@ -67,9 +67,9 @@ Redefinable Options
6767
certificate.
6868
:zeek:id:`Broker::ssl_passphrase`: :zeek:type:`string` :zeek:attr:`&redef` Passphrase to decrypt the private key specified by
6969
:zeek:see:`Broker::ssl_keyfile`.
70-
:zeek:id:`Broker::web_socket_buffer_size`: :zeek:type:`count` :zeek:attr:`&redef` Same as `peer_buffer_size` but for WebSocket clients.
71-
:zeek:id:`Broker::web_socket_overflow_policy`: :zeek:type:`string` :zeek:attr:`&redef` Same as `peer_overflow_policy` but for WebSocket clients.
72-
============================================================================================ =======================================================================
70+
:zeek:id:`Broker::web_socket_buffer_size`: :zeek:type:`count` :zeek:attr:`&redef` Same as :zeek:see:`Broker::peer_buffer_size` but for WebSocket clients.
71+
:zeek:id:`Broker::web_socket_overflow_policy`: :zeek:type:`string` :zeek:attr:`&redef` Same as :zeek:see:`Broker::peer_overflow_policy` but for WebSocket clients.
72+
============================================================================================ ===========================================================================
7373

7474
Types
7575
#####
@@ -299,7 +299,7 @@ Redefinable Options
299299
:Default: ``1``
300300

301301
Max number of threads to use for Broker/CAF functionality. The
302-
ZEEK_BROKER_MAX_THREADS environment variable overrides this setting.
302+
``ZEEK_BROKER_MAX_THREADS`` environment variable overrides this setting.
303303

304304
.. zeek:id:: Broker::moderate_interval
305305
:source-code: base/frameworks/broker/main.zeek 140 140
@@ -340,7 +340,7 @@ Redefinable Options
340340

341341
Max number of items we buffer at most per peer. What action to take when
342342
the buffer reaches its maximum size is determined by
343-
`peer_overflow_policy`.
343+
:zeek:see:`Broker::peer_overflow_policy`.
344344

345345
.. zeek:id:: Broker::peer_overflow_policy
346346
:source-code: base/frameworks/broker/main.zeek 99 99
@@ -454,7 +454,7 @@ Redefinable Options
454454
:Attributes: :zeek:attr:`&redef`
455455
:Default: ``512``
456456

457-
Same as `peer_buffer_size` but for WebSocket clients.
457+
Same as :zeek:see:`Broker::peer_buffer_size` but for WebSocket clients.
458458

459459
.. zeek:id:: Broker::web_socket_overflow_policy
460460
:source-code: base/frameworks/broker/main.zeek 105 105
@@ -463,7 +463,7 @@ Redefinable Options
463463
:Attributes: :zeek:attr:`&redef`
464464
:Default: ``"disconnect"``
465465

466-
Same as `peer_overflow_policy` but for WebSocket clients.
466+
Same as :zeek:see:`Broker::peer_overflow_policy` but for WebSocket clients.
467467

468468
Types
469469
#####

scripts/base/frameworks/input/main.zeek.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Runtime Options
7272
:Attributes: :zeek:attr:`&redef`
7373
:Default: ``Input::MANUAL``
7474

75-
The default reader mode used. Defaults to `MANUAL`.
75+
The default reader mode used. Defaults to ``MANUAL``.
7676

7777
.. zeek:id:: Input::default_reader
7878
:source-code: base/frameworks/input/main.zeek 28 28
@@ -81,7 +81,7 @@ Runtime Options
8181
:Attributes: :zeek:attr:`&redef`
8282
:Default: ``Input::READER_ASCII``
8383

84-
The default input reader used. Defaults to `READER_ASCII`.
84+
The default input reader used. Defaults to ``READER_ASCII``.
8585

8686
Redefinable Options
8787
###################
@@ -223,8 +223,8 @@ Types
223223

224224
ev: :zeek:type:`any`
225225
The event that is raised each time a new line is received from the
226-
reader. The event will receive an Input::EventDescription record
227-
as the first argument, an Input::Event enum as the second
226+
reader. The event will receive an :zeek:see:`Input::EventDescription` record
227+
as the first argument, an :zeek:see:`Input::Event` enum as the second
228228
argument, and the fields (as specified in *fields*) as the following
229229
arguments (this will either be a single record value containing
230230
all fields, or each field value as a separate argument).
@@ -233,8 +233,8 @@ Types
233233
Error event that is raised when an information, warning or error
234234
is raised by the input stream. If the level is error, the stream will automatically
235235
be closed.
236-
The event receives the Input::EventDescription as the first argument, the
237-
message as the second argument and the Reporter::Level as the third argument.
236+
The event receives the :zeek:see:`Input::EventDescription` as the first argument, the
237+
message as the second argument and the :zeek:see:`Reporter::Level` as the third argument.
238238

239239
The event is raised like it had been declared as follows:
240240
error_ev: function(desc: EventDescription, message: string, level: Reporter::Level) &optional;
@@ -390,7 +390,7 @@ Functions
390390
Create a new event input stream from a given source.
391391

392392

393-
:param description: `EventDescription` record describing the source.
393+
:param description: :zeek:see:`Input:EventDescription` record describing the source.
394394

395395

396396
:returns: true on success.
@@ -403,7 +403,7 @@ Functions
403403
Create a new table input stream from a given source.
404404

405405

406-
:param description: `TableDescription` record describing the source.
406+
:param description: :zeek:see:`TableDescription` record describing the source.
407407

408408

409409
:returns: true on success.

scripts/base/frameworks/logging/main.zeek.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Redefinable Options
2929
###################
3030
=========================================================================================== =====================================================================
3131
:zeek:id:`Log::default_ext_prefix`: :zeek:type:`string` :zeek:attr:`&redef` A prefix for extension fields which can be optionally prefixed
32-
on all log lines by setting the `ext_func` field in the
32+
on all log lines by setting the ``ext_func`` field in the
3333
log filter.
3434
:zeek:id:`Log::default_field_name_map`: :zeek:type:`table` :zeek:attr:`&redef` Default field name mapping for renaming fields in a logging framework
3535
filter.
@@ -199,7 +199,7 @@ Redefinable Options
199199
:Default: ``"_"``
200200

201201
A prefix for extension fields which can be optionally prefixed
202-
on all log lines by setting the `ext_func` field in the
202+
on all log lines by setting the ``ext_func`` field in the
203203
log filter.
204204

205205
.. zeek:id:: Log::default_field_name_map
@@ -326,8 +326,8 @@ Redefinable Options
326326

327327
Default separator for log field scopes when logs are unrolled and
328328
flattened. This will be the string between field name components.
329-
For example, setting this to "_" will cause the typical field
330-
"id.orig_h" to turn into "id_orig_h".
329+
For example, setting this to ``_`` will cause the typical field
330+
``id.orig_h`` to turn into ``id_orig_h``.
331331

332332
.. zeek:id:: Log::default_writer
333333
:source-code: base/frameworks/logging/main.zeek 27 27

scripts/base/frameworks/notice/main.zeek.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ Redefinable Options
213213
on rotation with :zeek:enum:`Notice::ACTION_ALARM`.
214214

215215
Note that this is overridden by the ZeekControl MailTo option or by
216-
the `email_dest` field in the :zeek:see:`Notice::Info` record.
216+
the ``email_dest`` field in the :zeek:see:`Notice::Info` record.
217217

218218
.. zeek:id:: Notice::max_email_delay
219219
:source-code: base/frameworks/notice/main.zeek 221 221
@@ -607,7 +607,7 @@ Types
607607

608608

609609
Limitations in BPF make shunting some connections with BPF
610-
impossible. This notice encompasses those various cases.
610+
impossible. This notice encompasses those various cases.
611611

612612
.. zeek:enum:: Software::Software_Version_Change Notice::Type
613613

scripts/base/frameworks/spicy/init-bare.zeek.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ Constants
2727

2828
Types
2929
#####
30-
====================================================== ==========================================
31-
:zeek:type:`Spicy::ResourceUsage`: :zeek:type:`record` Result type for `Spicy::resource_usage()`.
32-
====================================================== ==========================================
30+
====================================================== ============================================
31+
:zeek:type:`Spicy::ResourceUsage`: :zeek:type:`record` Result type for ``Spicy::resource_usage()``.
32+
====================================================== ============================================
3333

3434

3535
Detailed Interface
@@ -118,7 +118,7 @@ Types
118118
cached_fibers: :zeek:type:`count`
119119
number of fibers currently cached
120120

121-
Result type for `Spicy::resource_usage()`. The values reflect resource
121+
Result type for ``Spicy::resource_usage()``. The values reflect resource
122122
usage as reported by the Spicy runtime system.
123123

124124

scripts/base/frameworks/supervisor/api.zeek.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Hooks
206206
:Type: :zeek:type:`hook` (node: :zeek:type:`string`, msg: :zeek:type:`string`) : :zeek:type:`bool`
207207

208208
Hooks into the stderr stream for all supervisor's child processes.
209-
If a hook terminates with `break`, that will suppress output to the
209+
If a hook terminates with ``break``, that will suppress output to the
210210
associated stream.
211211

212212

@@ -226,7 +226,7 @@ Hooks
226226
:Type: :zeek:type:`hook` (node: :zeek:type:`string`, msg: :zeek:type:`string`) : :zeek:type:`bool`
227227

228228
Hooks into the stdout stream for all supervisor's child processes.
229-
If a hook terminates with `break`, that will suppress output to the
229+
If a hook terminates with ``break``, that will suppress output to the
230230
associated stream.
231231

232232

0 commit comments

Comments
 (0)