From 8b32c220820f2b4258d88cb72574bdacd3685c14 Mon Sep 17 00:00:00 2001 From: LocNgu <loc.nguyen_dang_duc@tu-dresden.de> Date: Wed, 14 Jul 2021 09:11:39 +0200 Subject: [PATCH] fix links to compendium and tu homepage --- doc.zih.tu-dresden.de/mkdocs.yml | 3 ++- doc.zih.tu-dresden.de/tud_theme/partials/header.html | 6 ++++++ doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css | 6 +----- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/doc.zih.tu-dresden.de/mkdocs.yml b/doc.zih.tu-dresden.de/mkdocs.yml index cf62658a7..6737a90b5 100644 --- a/doc.zih.tu-dresden.de/mkdocs.yml +++ b/doc.zih.tu-dresden.de/mkdocs.yml @@ -146,7 +146,7 @@ site_dir: public site_url: https://gitlab.hrz.tu-chemnitz.de/hpcsupport/hpc-compendium # uncomment next 3 lines if link to repo should not be displayed in the navbar repo_name: GitLab hpcsupport/hpc-compendium -repo_url: https://gitlab.hrz.tu-chemnitz.de/hpcsupport/hpc-compend ium +repo_url: https://gitlab.hrz.tu-chemnitz.de/hpcsupport/hpc-compendium edit_uri: blob/master/docs/ # Configuration @@ -173,6 +173,7 @@ markdown_extensions: permalink: True extra: + homepage: https://tu-dresden.de # links in footer footer: - link: https://doc.zih.tu-dresden.de/hpc-wiki/bin/view/Compendium/Impressum diff --git a/doc.zih.tu-dresden.de/tud_theme/partials/header.html b/doc.zih.tu-dresden.de/tud_theme/partials/header.html index d9cf2bd2a..f3d15010c 100644 --- a/doc.zih.tu-dresden.de/tud_theme/partials/header.html +++ b/doc.zih.tu-dresden.de/tud_theme/partials/header.html @@ -67,5 +67,11 @@ {% include "partials/search.html" %} {% endif %} + <!-- Repository information --> + {% if config.repo_url %} + <div class="md-header__source"> + {% include "partials/source.html" %} + </div> + {% endif %} </nav> </header> \ No newline at end of file diff --git a/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css b/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css index f2a3f99ae..6a2baf704 100644 --- a/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css +++ b/doc.zih.tu-dresden.de/tud_theme/stylesheets/extra.css @@ -63,11 +63,6 @@ strong { color: var(--tud-red-90); } -.md-nav__link:hover, -a:hover { - text-decoration: underline; - color: var(--tud-grey-100); -} .md-grid { max-width: 1600px; } @@ -136,6 +131,7 @@ a:hover { display: none; } } + @media screen and (min-width: 60rem) { .md-header__button.md-icon { display: none; -- GitLab