aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-04-02 20:05:27 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-04-02 20:05:27 +0100
commitc9185202fe841984f984326dfc1ab5ef5d00d6f9 (patch)
tree2c84ba1bd1728943b442a18b11c3dea9d3bc86b4
parent52fb7104141eab51e6f5fbd54027b042ca7c1e08 (diff)
downloadYAGE-c9185202fe841984f984326dfc1ab5ef5d00d6f9.tar.gz
YAGE-c9185202fe841984f984326dfc1ab5ef5d00d6f9.zip
Adding style to css
-rw-r--r--docs/Doxyfile.in6
-rw-r--r--docs/logger.md4
-rw-r--r--docs/style.css29
3 files changed, 35 insertions, 4 deletions
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;
+}