mirror of https://github.com/OISF/suricata
doc/userguide: generate eve documentation
Add EVE documentation for QUIC and Pgsql to their respective sections of the userguide. Also add a complete EVE reference as an appendix. Other protocols can be done, but its a manual process to document in the schema, then add the glue to pull them into the documentation. The documentation is generated during "make dist", or if it doesn't exist, "conf.py" will attempt to generate the eve documentation for building on Readthedocs.pull/11895/head
parent
2626895a93
commit
6ae5ae701b
@ -1 +1,2 @@
|
|||||||
_build
|
_build
|
||||||
|
_generated
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
EVE Index
|
||||||
|
=========
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
|
||||||
|
.. include:: ../_generated/eve-index.rst
|
@ -0,0 +1,7 @@
|
|||||||
|
Appendix
|
||||||
|
========
|
||||||
|
|
||||||
|
.. toctree::
|
||||||
|
:maxdepth: 1
|
||||||
|
|
||||||
|
eve-index
|
@ -0,0 +1,13 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
#
|
||||||
|
# Generate RST EVE documentation.
|
||||||
|
#
|
||||||
|
# This has been broken out of the Makefile so it can be called by
|
||||||
|
# make, and Sphinx via conf.py.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
mkdir -p _generated
|
||||||
|
../../scripts/evedoc.py --output _generated/eve-index.rst ../../etc/schema.json
|
||||||
|
../../scripts/evedoc.py --output _generated/quic.rst --object quic ../../etc/schema.json
|
||||||
|
../../scripts/evedoc.py --output _generated/pgsql.rst --object pgsql ../../etc/schema.json
|
Loading…
Reference in New Issue