From c9185202fe841984f984326dfc1ab5ef5d00d6f9 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Mon, 2 Apr 2018 20:05:27 +0100 Subject: Adding style to css --- docs/Doxyfile.in | 6 ++++-- docs/logger.md | 4 ++-- docs/style.css | 29 +++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 4 deletions(-) create mode 100644 docs/style.css (limited to 'docs') diff --git a/docs/Doxyfile.in b/docs/Doxyfile.in index 21fdf62b..be7d2e21 100644 --- a/docs/Doxyfile.in +++ b/docs/Doxyfile.in @@ -875,7 +875,9 @@ RECURSIVE = YES # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = docs/README.md +EXCLUDE = @CMAKE_CURRENT_SOURCE_DIR@/docs/README.md \ + @CMAKE_CURRENT_SOURCE_DIR@/docs/m-css/* + # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded @@ -1175,7 +1177,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 = @CMAKE_CURRENT_SOURCE_DIR@/docs/style.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 diff --git a/docs/logger.md b/docs/logger.md index 93debac8..0d642949 100644 --- a/docs/logger.md +++ b/docs/logger.md @@ -22,7 +22,7 @@ First of all, there is a definition to get the instance of the current global lo can then be used to set a different minimum display level. This definition is `yLogger`, and an example of how to use it to change the default output level can be seen below -``` c++ +``` yLogger.setLevel(yage::LogLevel::ERROR); ``` @@ -35,7 +35,7 @@ Other preprocessor definitions are `yLogDebug`, `yLogInfo`, `yLogWarning`, `yLog global logger `yLogger`. These are the definitions that should be used to print somehting to the main logger. For example -``` c++ +``` yLogWarning << "This is a warning"; ``` diff --git a/docs/style.css b/docs/style.css new file mode 100644 index 00000000..3dc99567 --- /dev/null +++ b/docs/style.css @@ -0,0 +1,29 @@ +@import url('https://fonts.googleapis.com/css?family=Noto+Sans'); + +body { + background-color: #CCC; + color: black; + margin: 0; +} + +div.contents { + margin-bottom: 10px; + padding: 12px; + margin-left: auto; + margin-right: auto; + width: 960px; + background-color: white; + border-radius: 8px; +} + +#titlearea { + background-color: white; +} + +hr.footer { + display: none; +} + +.footer { + background-color: #AAA; +} -- cgit