zeek/doc
Robin Sommer c91792b762 Merge branch 'topic/jswaro/feature/HookAddToAnalyzer-tcprs-support' of https://github.com/jswaro/bro
Making two changes here:

    - Renaming the hook to SetupAnalyzerTree.

    - Reverting the reversal of the script load order. Instead, I'm
      adding an additional script that Bro looks for to load first,
      "__preload__.bro". Also extending the plugin docs to cover this.

    - Increasing plugin API version, as I suppose adding a new virtual
      function may invalidate binary compatibility.

* 'topic/jswaro/feature/HookAddToAnalyzer-tcprs-support' of https://github.com/jswaro/bro:
  Add hook 'HookAddToAnalyzerTree' to support TCPRS plugin
2015-08-10 15:05:48 -07: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 Add a link to the bro-plugins documentation 2015-05-31 23:17:59 -05:00
configuration Merge remote-tracking branch 'origin/fastpath' 2014-05-16 15:23:38 -07:00
devel Merge branch 'topic/jswaro/feature/HookAddToAnalyzer-tcprs-support' of https://github.com/jswaro/bro 2015-08-10 15:05:48 -07:00
ext Handle guess_lexer exceptions in pygments reST directive 2015-01-27 10:15:22 -06:00
frameworks Merge remote-tracking branch 'origin/topic/dnthayer/doc-improvements-2.4' 2015-06-02 09:44:51 -07: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/dnthayer/ticket1440' 2015-08-07 13:10:08 -07: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 Update the "Log Files" documentation 2015-06-01 14:26:09 -05:00
scripting Slight doc tweak flagged by test. 2015-04-20 20:44:06 -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.