nanvix / kernel

Research Operating System Kernel
https://github.com/nanvix
MIT License
53 stars 8 forks source link

[build] B: Doxygen DOT_GRAPH_MAX_NODES error #395

Closed rafael0121 closed 7 months ago

rafael0121 commented 7 months ago

Description

This bug is happening in documentation build, first looked in #385 issue implementation. The CI can't build documentation because, the DOT_GRAPH_MAX_NODES defined is 50, and the doxygen need more NODES for build the graphs, causing a warning so interpreted as error by doxygen WARN_AS_ERROR parameter.

Error Log

err: error: Included by graph for 'lib.h' not generated, too many nodes (50), threshold is 50. Consider increasing DOT_GRAPH_MAX_NODES.

Doxygen Doc

Doxygen about DOT_GRAPH_MAX_NODES

... If the number of nodes in a graph becomes larger than this value, doxygen will truncate the graph, which is visualized by representing a node as a red box. Note that doxygen if the number of direct children of the root node in a graph is already larger than DOT_GRAPH_MAX_NODES then the graph will not be shown at all.