Skip to content

Commit

Permalink
Doxygen: add css tweaks
Browse files Browse the repository at this point in the history
Remove the header. Vertical space is precious on laptops.
  • Loading branch information
OttoAllmendinger committed Sep 22, 2014
1 parent 27dec01 commit f965a7a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
1 change: 1 addition & 0 deletions CMakeLists.txt
Expand Up @@ -238,6 +238,7 @@ if(BUILD_DOCUMENTATION)
find_package(Doxygen)
if(DOXYGEN_FOUND)
configure_file("cmake/Doxyfile.in" "Doxyfile" @ONLY)
configure_file("cmake/Doxygen.extra.css.in" "Doxygen.extra.css" @ONLY)
add_custom_target(doc
${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
Expand Down
2 changes: 1 addition & 1 deletion cmake/Doxyfile.in
Expand Up @@ -1075,7 +1075,7 @@ HTML_STYLESHEET =
# see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.

HTML_EXTRA_STYLESHEET =
HTML_EXTRA_STYLESHEET = Doxygen.extra.css

# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
# other source files which should be copied to the HTML output directory. Note
Expand Down
14 changes: 14 additions & 0 deletions cmake/Doxygen.extra.css.in
@@ -0,0 +1,14 @@
/* increase vertical space */
#titlearea, #nav-path {
display: none;
height: 0px;
}


/* uncomment these lines for some extra vertical space */

/*
.tablist li {
line-height: 26px;
}
*/

0 comments on commit f965a7a

Please sign in to comment.