Permalink
Browse files

Make code in docs pretty again #10

The custom HTML stylesheet, which was generated for Doxygen 1.5.6 (a
version just short of 10 years old now) is missing a lot of styles
needed for modern versions of Doxygen.

Since Doxygen v1.8.2, there is now a HTML_EXTRA_STYLESHEET option that
allows custom HTML stylesheets to be used *in addtion* to Doxygen's own
default doxygen.css sheet.

This change simply moves Grantlee's custom HTML stylesheet from the
HTML_STYLESHEET option to the HTML_EXTRA_STYLESHEET option instead,
resulting in a better render for modern versions of Doxygen (such as
properly formated code blocks), as well as incresaing resilience to
future changes from the Doxygen project.
  • Loading branch information...
pcolby authored and steveire committed Mar 9, 2018
1 parent 46bbdbb commit bfaaae3958d641d57b2b7dd5a8eb8c4330e0a15d
Showing with 2 additions and 1 deletion.
  1. +2 −1 cmake/modules/Doxyfile.in
@@ -138,7 +138,8 @@ HTML_OUTPUT = apidox
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET = @CMAKE_SOURCE_DIR@/dox/stylesheet.css
HTML_STYLESHEET =
HTML_EXTRA_STYLESHEET = @CMAKE_SOURCE_DIR@/dox/stylesheet.css
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
GENERATE_DOCSET = NO

0 comments on commit bfaaae3

Please sign in to comment.