doc: disable dot graph in doxygen
authorAli Alnubani <alialnu@mellanox.com>
Wed, 23 Oct 2019 11:56:09 +0000 (14:56 +0300)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 8 Nov 2019 15:40:29 +0000 (16:40 +0100)
commit1f7250dfd1f8758c754cc737845e17549dc0a298
treef6eec5ebd9bde5bfcd838d98c360eae039ff0e55
parentdbf63bd43afab7effaaa22e1a61346328834c428
doc: disable dot graph in doxygen

Ubuntu ships with a patched version of doxygen that enables
HAVE_DOT (disabled by default). Enabling this option causes the warning:
"""
warning: Included by graph for 'rte_common.h' not generated,
too many nodes. Consider increasing DOT_GRAPH_MAX_NODES
"""
This reproduces with doxygen version 1.8.13 and
dot - graphviz version 2.40.1 on Ubuntu 18.04.

This will force doxygen not to assume that dot (part of Graphviz)
is installed, and will result in dot not being used for visualization.

If someone still needs to generate the graphs, the following can
be considered:
- Increase DOT_GRAPH_MAX_NODES to a large value.
- Set HAVE_DOT for more powerful graphs.
- Set DOT_IMAGE_FORMAT=svg to generate svg images.
- Set INTERACTIVE_SVG=YES to allow zooming and panning.

See:
- http://changelogs.ubuntu.com/changelogs/pool/main/d/doxygen/doxygen_1.8.13-10/changelog
- http://www.doxygen.nl/manual/config.html#cfg_have_dot
- https://github.com/doxygen/doxygen/issues/7345

Signed-off-by: Ali Alnubani <alialnu@mellanox.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
doc/api/doxy-api.conf.in