Skip to content

Generate graphs, when creating Doxygen documentation#1872

Merged
jan-cerny merged 2 commits intoOpenSCAP:maint-1.3from
havardAasen:doxygen-dot
Aug 3, 2022
Merged

Generate graphs, when creating Doxygen documentation#1872
jan-cerny merged 2 commits intoOpenSCAP:maint-1.3from
havardAasen:doxygen-dot

Conversation

@havardAasen
Copy link
Copy Markdown
Contributor

When building documentation with Doxygen, and dot is found, generate diagrams and graphs.

I changed the image format to svg, for smaller file size and better scaling.

dot is normally found in graphviz package and is entirely optional to install.

Comment thread CMakeLists.txt Outdated
@evgenyz
Copy link
Copy Markdown
Contributor

evgenyz commented Jul 19, 2022

@jan-cerny What do you thing about diagrams in our API docs?

If we enable documentation and CMake finds Doxygen and 'dot' in path,
diagrams and graphs will be created.

CMake searches for 'dot' at the same time as Doxygen.

'dot' is a tool found in graphviz.
Some advantages over png is file size and scalability. As far as I
know, it's only IE 9+ that has compatibility issues with svg files.
@evgenyz evgenyz requested a review from jan-cerny July 25, 2022 13:12
@jan-cerny jan-cerny self-assigned this Aug 3, 2022
@jan-cerny jan-cerny added this to the 1.3.7 milestone Aug 3, 2022
@jan-cerny
Copy link
Copy Markdown
Member

@evgenyz They look like they won't help you much, you would need some more knowledgable diagram, that would have to be created manually I think.

Copy link
Copy Markdown
Member

@jan-cerny jan-cerny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jan-cerny jan-cerny merged commit f81da4b into OpenSCAP:maint-1.3 Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants