zeek/doc
Jon Siwek a55ce01ef3 API changes to file analysis mime type detection.
Removed "file_mime_type" and "file_mime_types" event, replacing them
with a new event called "file_metadata_inferred".  It has a record
argument of type "inferred_file_metadata", which contains the mime type
information that the earlier events used to supply.  The idea here is
that future extensions to the record with new metadata will be less
likely to break user code than the alternatives (adding new events or
new event parameters).

Addresses BIT-1368.
2015-04-10 16:31:29 -05:00
..
_static New Bro Manual Development Edition and basic.css to fix btest output overflow problem (Update 1). 2013-11-21 12:56:00 -06:00
_templates Also make links in documentation templates protocol relative. 2014-09-04 16:03:16 -07:00
broids Misc. documentation fixes. 2014-03-04 13:14:32 -06:00
cluster More improvements to install/setup documentation 2014-03-19 16:56:29 -05:00
components broker integration: add high-level usage documentation 2015-02-18 12:16:46 -06:00
configuration Merge remote-tracking branch 'origin/fastpath' 2014-05-16 15:23:38 -07:00
devel Merge remote-tracking branch 'origin/topic/robin/plugin-updates' 2015-02-23 12:20:39 -06:00
ext Handle guess_lexer exceptions in pygments reST directive 2015-01-27 10:15:22 -06:00
frameworks API changes to file analysis mime type detection. 2015-04-10 16:31:29 -05:00
httpmonitor API changes to file analysis mime type detection. 2015-04-10 16:31:29 -05:00
images Adapt more www niceties to broxygen (stylesheets, pygments); add more docs 2011-11-15 15:39:31 -06:00
install Increase minimum required CMake version to 2.8. 2015-01-08 13:11:17 -06:00
intro Fix broken links in the documentation 2013-09-11 16:32:02 -05:00
logs Fix some "make doc" warnings and update some doc tests 2014-12-01 22:43:17 -06:00
mimestats Merge remote-tracking branch 'origin/topic/jsiwek/bit-1324' 2015-03-23 10:35:30 -07:00
quickstart Fix an example in quickstart docs. 2015-03-23 13:05:58 -05:00
script-reference Improve documentation of 'for' loop iterator invalidation. 2015-03-20 16:29:10 -05:00
scripting Merge remote-tracking branch 'origin/topic/jsiwek/bit-1324' 2015-03-23 10:35:30 -07:00
.gitignore A set of script-reference polishing. 2012-01-09 18:04:34 -08:00
broxygen.conf.in Change Broxygen config file format. 2013-11-22 14:37:07 -06:00
CMakeLists.txt Replace libmagic w/ Bro signatures for file MIME type identification. 2014-03-04 11:12:06 -06:00
conf.py.in Update PATH so that documentation btests can find bro-cut 2014-07-09 23:50:59 -05:00
index.rst Updating plugin documentation. 2014-10-07 15:14:39 -07:00
LICENSE New branch for documentation, with an initial skeleton. 2012-10-24 11:13:02 -07:00
README Merge remote-tracking branch 'origin/fastpath' 2014-03-30 19:55:39 +02:00

Documentation
=============

This directory contains Bro documentation in reStructuredText format
(see http://docutils.sourceforge.net/rst.html).

It is the root of a Sphinx source tree and can be modified to add more
common/general documentation, style sheets, JavaScript, etc.  The Sphinx
config file is produced from ``conf.py.in``, and can be edited to change
various Sphinx options.

There is also a custom Sphinx domain implemented in ``ext/bro.py``
which adds some reST directives and roles that aid in generating useful
index entries and cross-references.  Other extensions can be added in
a similar fashion.

The ``make doc`` target in the top-level Makefile can be used to locally
render the reST files into HTML.  That target depends on:

* Python interpreter >= 2.5
* `Sphinx <http://sphinx-doc.org/>`_ >= 1.0.1
* Doxygen (required only for building the Broccoli API doc)

After completion, HTML documentation is symlinked in ``build/html``.

There's also a ``make docclean`` target which deletes any files
created during the documentation build process.

Notes for Writing Documentation
-------------------------------

* If you want to refer to a document that's part of the
  distribution, it currently needs to be copied or otherwise symlinked
  somewhere in to this Sphinx source tree. Then, it can be referenced
  in a toc tree or with the :doc: role.  Use the :download: role to
  refer to static files that will not undergo sphinx rendering.

* If you want to refer to a page on the Bro web site, use an HTTP URL.

Guidelines
----------

TODO.