Skip to content

Commit 922eec8

Browse files
committed
update doxygen theme usig doxygen-awesome
1 parent ead6d37 commit 922eec8

42 files changed

Lines changed: 8556 additions & 41 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ if(enable-doxygen-doc)
204204
list(APPEND CPACK_COMPONENTS_ALL doxygen)
205205
set(CPACK_COMPONENT_DOXYGEN_DESCRIPTION
206206
"Contains MGIS' doxygen documentation")
207-
set(GENERATE_DOXYGEN ON)
207+
set(MGIS_GENERATE_DOXYGEN ON)
208208
else(DOXYGEN_FOUND)
209209
message(FATAL_ERROR "doxygen is required")
210210
endif(DOXYGEN_FOUND)

Doxyfile.in

Lines changed: 4 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ DOXYFILE_ENCODING = UTF-8
3232
# title of most generated pages and in a few other places.
3333
# The default value is: My Project.
3434

35-
PROJECT_NAME = @PACKAGE_NAME@
35+
PROJECT_NAME = MGIS
3636

3737
# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
3838
# could be handy for archiving the generated documentation or if some version
@@ -1117,7 +1117,7 @@ HTML_STYLESHEET =
11171117
# list). For an example see the documentation.
11181118
# This tag requires that the tag GENERATE_HTML is set to YES.
11191119

1120-
HTML_EXTRA_STYLESHEET =
1120+
HTML_EXTRA_STYLESHEET = @PROJECT_SOURCE_DIR@/docs/doxygen/doxygen-awesome-css/doxygen-awesome.css
11211121

11221122
# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
11231123
# other source files which should be copied to the HTML output directory. Note
@@ -1129,35 +1129,7 @@ HTML_EXTRA_STYLESHEET =
11291129

11301130
HTML_EXTRA_FILES =
11311131

1132-
# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
1133-
# will adjust the colors in the style sheet and background images according to
1134-
# this color. Hue is specified as an angle on a colorwheel, see
1135-
# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
1136-
# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
1137-
# purple, and 360 is red again.
1138-
# Minimum value: 0, maximum value: 359, default value: 220.
1139-
# This tag requires that the tag GENERATE_HTML is set to YES.
1140-
1141-
HTML_COLORSTYLE_HUE = 220
1142-
1143-
# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
1144-
# in the HTML output. For a value of 0 the output will use grayscales only. A
1145-
# value of 255 will produce the most vivid colors.
1146-
# Minimum value: 0, maximum value: 255, default value: 100.
1147-
# This tag requires that the tag GENERATE_HTML is set to YES.
1148-
1149-
HTML_COLORSTYLE_SAT = 100
1150-
1151-
# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
1152-
# luminance component of the colors in the HTML output. Values below 100
1153-
# gradually make the output lighter, whereas values above 100 make the output
1154-
# darker. The value divided by 100 is the actual gamma applied, so 80 represents
1155-
# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
1156-
# change the gamma.
1157-
# Minimum value: 40, maximum value: 240, default value: 80.
1158-
# This tag requires that the tag GENERATE_HTML is set to YES.
1159-
1160-
HTML_COLORSTYLE_GAMMA = 80
1132+
HTML_COLORSTYLE = LIGHT
11611133

11621134
# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
11631135
# page will contain the date and time when the page was generated. Setting this
@@ -1403,7 +1375,7 @@ DISABLE_INDEX = NO
14031375
# The default value is: NO.
14041376
# This tag requires that the tag GENERATE_HTML is set to YES.
14051377

1406-
GENERATE_TREEVIEW = NO
1378+
GENERATE_TREEVIEW = YES
14071379

14081380
# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
14091381
# doxygen will group on one line in the generated HTML documentation.

docs/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
if(MGIS_GENERATE_DOXYGEN)
2+
add_subdirectory(doxygen)
3+
endif(MGIS_GENERATE_DOXYGEN)
4+
15
if(MGIS_GENERATE_WEBSITE)
26
add_subdirectory(web)
37
endif(MGIS_GENERATE_WEBSITE)

docs/doxygen/CMakeLists.txt

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
if(MGIS_APPEND_SUFFIX)
2+
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
3+
DESTINATION share/doc/mgis-${MGIS_SUFFIX}
4+
COMPONENT doxygen)
5+
install(FILES
6+
${PROJECT_SOURCE_DIR}/docs/doxygen/img/background.svg
7+
DESTINATION share/doc/mgis-${MGIS_SUFFIX}/html/img/
8+
COMPONENT doxygen)
9+
else(MGIS_APPEND_SUFFIX)
10+
install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html
11+
DESTINATION share/doc/mgis
12+
COMPONENT doxygen)
13+
install(FILES
14+
${PROJECT_SOURCE_DIR}/docs/doxygen/img/background.svg
15+
DESTINATION share/doc/mgis/html/img/
16+
COMPONENT doxygen)
17+
endif(MGIS_APPEND_SUFFIX)
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!doxygen-awesome*
3+

0 commit comments

Comments
 (0)