From 24c3769e22b1cfcabdacb7a7b27aa1cdf7f7ade1 Mon Sep 17 00:00:00 2001 From: Slendi Date: Thu, 12 Mar 2026 08:27:02 +0200 Subject: [PATCH] Add logo to Doxygen documentation Signed-off-by: Slendi --- README.md | 6 +- docs/Doxyfile | 5 +- docs/DoxygenLayout.xml | 270 ++++++++++++++++++++++++++++++++++++++++ docs/custom.css | 21 ++++ docs/smath_big.svg | 190 ++++++++++++++++++++++++++++ docs/smath_big_dark.svg | 186 +++++++++++++++++++++++++++ docs/smath_dark.svg | 193 ++++++++++++++++++++++++++++ docs/smath_light.svg | 182 +++++++++++++++++++++++++++ smath_big.svg | 190 ++++++++++++++++++++++++++++ 9 files changed, 1239 insertions(+), 4 deletions(-) create mode 100644 docs/DoxygenLayout.xml create mode 100644 docs/custom.css create mode 100644 docs/smath_big.svg create mode 100644 docs/smath_big_dark.svg create mode 100644 docs/smath_dark.svg create mode 100644 docs/smath_light.svg create mode 100644 smath_big.svg diff --git a/README.md b/README.md index 4405f6f..32063ca 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

- smath logo -

- + smath logo +

+
Build diff --git a/docs/Doxyfile b/docs/Doxyfile index 4f38fba..e3ac6c0 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -20,7 +20,10 @@ GENERATE_TREEVIEW = YES DISABLE_INDEX = NO FULL_SIDEBAR = NO HTML_COLORSTYLE = LIGHT -HTML_EXTRA_STYLESHEET = docs/vendor/doxygen-awesome.css +PROJECT_LOGO = docs/smath_light.svg +HTML_EXTRA_STYLESHEET = docs/vendor/doxygen-awesome.css docs/custom.css +HTML_EXTRA_FILES = docs/smath_dark.svg docs/smath_big.svg +LAYOUT_FILE = docs/DoxygenLayout.xml WARN_IF_UNDOCUMENTED = YES QUIET = NO diff --git a/docs/DoxygenLayout.xml b/docs/DoxygenLayout.xml new file mode 100644 index 0000000..9478961 --- /dev/null +++ b/docs/DoxygenLayout.xml @@ -0,0 +1,270 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/custom.css b/docs/custom.css new file mode 100644 index 0000000..9a582a5 --- /dev/null +++ b/docs/custom.css @@ -0,0 +1,21 @@ +#titlearea { + padding-right: 0; +} + +#projectlogo img { + height: 40px; + width: auto; +} + +#projectname, +#projectbrief { + display: none; +} + +html.dark-mode #projectlogo img { + content: url('smath_dark.svg'); +} + +.header:has(+ .contents .anchor#md__r_e_a_d_m_e) { + display: none; +} diff --git a/docs/smath_big.svg b/docs/smath_big.svg new file mode 100644 index 0000000..7adad06 --- /dev/null +++ b/docs/smath_big.svg @@ -0,0 +1,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SMATH + Linear algebra library for C++23 + + + + + + + + + diff --git a/docs/smath_big_dark.svg b/docs/smath_big_dark.svg new file mode 100644 index 0000000..d6fdee3 --- /dev/null +++ b/docs/smath_big_dark.svg @@ -0,0 +1,186 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SMATH + Linear algebra library for C++23 + + + + + + + + + + diff --git a/docs/smath_dark.svg b/docs/smath_dark.svg new file mode 100644 index 0000000..3935e76 --- /dev/null +++ b/docs/smath_dark.svg @@ -0,0 +1,193 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SMATH + Linear algebra library for C++23 + + + + + + + + + + diff --git a/docs/smath_light.svg b/docs/smath_light.svg new file mode 100644 index 0000000..e87dfab --- /dev/null +++ b/docs/smath_light.svg @@ -0,0 +1,182 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SMATH + Linear algebra library for C++23 + + + + + + + + + diff --git a/smath_big.svg b/smath_big.svg new file mode 100644 index 0000000..7adad06 --- /dev/null +++ b/smath_big.svg @@ -0,0 +1,190 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SMATH + Linear algebra library for C++23 + + + + + + + + +