zeek/doc
Daniel Thayer f596d30386 Fix some scripting tutorial examples
Some of the examples in the scripting tutorial were regularly getting
out of sync with the base scripts (because the line numbering would need
to be updated).  Fixed this maintenance burden by using small example
scripts instead of actual Bro scripts.  These small example scripts
do not need to be kept in sync with the bro base scripts.
2016-05-05 17:23:15 -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 Update traffic per core estimate in the cluster doc 2016-01-27 14:56:42 -06:00
components Fix more "make doc" warnings 2016-05-05 15:18:50 -05:00
configuration Merge remote-tracking branch 'origin/fastpath' 2014-05-16 15:23:38 -07:00
devel Fix some doc build warnings 2015-08-18 14:23:48 -05:00
ext Handle guess_lexer exceptions in pygments reST directive 2015-01-27 10:15:22 -06:00
frameworks Rename broker BIF wrapper functions in a few more places 2016-04-27 00:47:48 -05:00
httpmonitor File API updates complete. 2015-04-20 10:46:48 -04:00
images Adapt more www niceties to broxygen (stylesheets, pygments); add more docs 2011-11-15 15:39:31 -06:00
install Merge remote-tracking branch 'origin/topic/johanna/freebsd9' 2016-03-03 21:34:41 -08: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 Add link to broctl doc from the quickstart doc 2015-05-27 16:23:02 -05:00
script-reference Add some missing Bro script documentation 2016-05-05 16:35:31 -05:00
scripting Fix some scripting tutorial examples 2016-05-05 17:23:15 -05: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 copyright year for sphinx. 2016-01-21 13:47:33 -08: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.