Updated the Doxyfile and added Qt like stylesheet

This commit is contained in:
Filippo Cucchetto 2016-07-10 19:14:19 +02:00
parent 7670058c86
commit 48dfdbedfc
3 changed files with 1061 additions and 4 deletions

View File

@ -2,8 +2,12 @@ find_package(Doxygen)
if (DOXYGEN_FOUND)
set(INPUT_FILE ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in)
set(INPUT_CSS_FILE ${CMAKE_CURRENT_SOURCE_DIR}/qtify.css)
set(INPUT_README_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../README.md)
set(OUTPUT_DIR ${CMAKE_CURRENT_BINARY_DIR})
set(OUTPUT_FILE ${OUTPUT_DIR}/Doxyfile)
set(OUTPUT_CSS_FILE ${OUTPUT_DIR}/qtify.css)
configure_file(${INPUT_FILE} ${OUTPUT_FILE} @ONLY)
file(COPY ${INPUT_CSS_FILE} ${INPUT_README_FILE} DESTINATION ${OUTPUT_DIR})
add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${OUTPUT_FILE} WORKING_DIRECTORY ${OUTPUT_DIR} COMMENT "Generating the API documentation with Doxygen" VERBATIM)
endif()

View File

@ -140,7 +140,7 @@ INLINE_INHERITED_MEMB = NO
# shortest path that makes the file name unique will be used
# The default value is: YES.
FULL_PATH_NAMES = YES
FULL_PATH_NAMES = NO
# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
# Stripping is only done if one of the specified strings matches the left-hand
@ -752,7 +752,7 @@ WARN_LOGFILE =
# spaces.
# Note: If this tag is empty the current directory is searched.
INPUT = @CMAKE_CURRENT_SOURCE_DIR@/../lib
INPUT = @CMAKE_CURRENT_SOURCE_DIR@/../lib @CMAKE_CURRENT_SOURCE_DIR@/../README.md
# This tag can be used to specify the character encoding of the source files
# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
@ -888,7 +888,7 @@ FILTER_SOURCE_PATTERNS =
# (index.html). This can be useful if you have a project on for instance GitHub
# and want to reuse the introduction page also for the doxygen output.
USE_MDFILE_AS_MAINPAGE =
USE_MDFILE_AS_MAINPAGE = README.md
#---------------------------------------------------------------------------
# Configuration options related to source browsing
@ -1079,7 +1079,7 @@ HTML_STYLESHEET =
# list). For an example see the documentation.
# This tag requires that the tag GENERATE_HTML is set to YES.
HTML_EXTRA_STYLESHEET =
HTML_EXTRA_STYLESHEET = qtify.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

1053
doc/qtify.css Normal file

File diff suppressed because it is too large Load Diff