update base config, adding wanted stuff
Dieser Commit ist enthalten in:
Ursprung
0505f5ed15
Commit
afd44ee990
5 geänderte Dateien mit 112 neuen und 19 gelöschten Zeilen
|
@ -45,4 +45,8 @@
|
|||
|
||||
:root {
|
||||
--md-code-font: "Source Code Pro";
|
||||
}
|
||||
}
|
||||
|
||||
.md-grid {
|
||||
max-width: 90%;
|
||||
}
|
5
docs/mitwirkende.md
Normale Datei
5
docs/mitwirkende.md
Normale Datei
|
@ -0,0 +1,5 @@
|
|||
# Mitwirkende
|
||||
|
||||
Folgende Menschen haben haben an dieser Dokumentation mitgewirkt:
|
||||
|
||||
* [Nick Slowinski](https://git.nick-slowinski.de/NickSlowinski)
|
60
mkdocs.yml
60
mkdocs.yml
|
@ -1,6 +1,8 @@
|
|||
site_name: Dokumentation von nick-slowinski.de
|
||||
repo_url: https://git.nick-slowinski.de/nick-slowinski.de/docs
|
||||
repo_name: nick-slowinski.de/docs
|
||||
edit_uri: _edit/main/docs/
|
||||
copyright: Copyright © 2023 Nick Slowinski und <a href="/mitwirkende" title="Mitwirkende">Mitwirkende</a>
|
||||
|
||||
plugins:
|
||||
- git-revision-date-localized:
|
||||
|
@ -11,6 +13,11 @@ plugins:
|
|||
|
||||
markdown_extensions:
|
||||
- admonition
|
||||
- attr_list
|
||||
- footnotes
|
||||
- pymdownx.emoji:
|
||||
emoji_index: !!python/name:materialx.emoji.twemoji
|
||||
emoji_generator: !!python/name:materialx.emoji.to_svg
|
||||
- pymdownx.details
|
||||
- pymdownx.superfences
|
||||
- pymdownx.tasklist:
|
||||
|
@ -18,33 +25,50 @@ markdown_extensions:
|
|||
|
||||
theme:
|
||||
name: material
|
||||
custom_dir: overrides
|
||||
language: de
|
||||
icon:
|
||||
repo: simple/forgejo
|
||||
font: false
|
||||
features:
|
||||
- header.autohide
|
||||
- announce.dismiss
|
||||
- content.action.edit
|
||||
- content.action.view
|
||||
- navigation.instant
|
||||
- navigation.tracking
|
||||
- navigation.sections
|
||||
- navigation.indexes
|
||||
- navigation.top
|
||||
- search.suggest
|
||||
- search.highlight
|
||||
- search.share
|
||||
- toc.follow
|
||||
- toc.integrate
|
||||
palette:
|
||||
# Palette toggle for automatic mode
|
||||
- media: "(prefers-color-scheme)"
|
||||
toggle:
|
||||
icon: material/brightness-auto
|
||||
name: In den Helligkeitsmodus wechseln
|
||||
|
||||
# Palette toggle for light mode
|
||||
- media: "(prefers-color-scheme: light)"
|
||||
scheme: default
|
||||
toggle:
|
||||
icon: material/brightness-7
|
||||
name: In den Dunkelmodus wechseln
|
||||
|
||||
# Palette toggle for dark mode
|
||||
- media: "(prefers-color-scheme: dark)"
|
||||
scheme: slate
|
||||
- scheme: slate
|
||||
toggle:
|
||||
icon: material/brightness-4
|
||||
name: Zur Systempräferenz wechseln
|
||||
icon: material/weather-night
|
||||
name: In den Dunkelmodus wechseln
|
||||
# Palette toggle for light mode
|
||||
- scheme: default
|
||||
toggle:
|
||||
icon: material/weather-sunny
|
||||
name: In den Helligkeitsmodus wechseln
|
||||
extra_css: [ assets/stylesheets/extra.css ]
|
||||
|
||||
extra_css: [ assets/stylesheets/extra.css ]
|
||||
extra:
|
||||
social:
|
||||
- icon: octicons/link-16
|
||||
link: https://www.nick-slowinski.de
|
||||
- icon: simple/weblate
|
||||
link: https://weblate.nick-slowinski.de
|
||||
- icon: simple/forgejo
|
||||
link: https://git.nick-slowinski.de/
|
||||
- icon: octicons/mail-16
|
||||
link: mailto:nick@nick-slowinski.de
|
||||
- icon: simple/discourse
|
||||
link: https://community.nick-slowinski.de
|
||||
- icon: simple/teamspeak
|
||||
link: ts3server://nick-slowinski.de
|
5
overrides/main.html
Normale Datei
5
overrides/main.html
Normale Datei
|
@ -0,0 +1,5 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block announce %}
|
||||
<center><h4>Diese Dokumentation ist noch im Aufbau und daher unvollständig. Sie sollte bis zur Fertigstellung nur als grober Richtwert betrachtet werden.</h4></center>
|
||||
{% endblock %}
|
55
overrides/partials/actions.html
Normale Datei
55
overrides/partials/actions.html
Normale Datei
|
@ -0,0 +1,55 @@
|
|||
<!--
|
||||
Copyright (c) 2016-2023 Martin Donath <martin.donath@squidfunk.com>
|
||||
Copyright (c) 2023 Nick Slowinski <nick@nick-slowinski.de>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to
|
||||
deal in the Software without restriction, including without limitation the
|
||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
||||
sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
||||
IN THE SOFTWARE.
|
||||
-->
|
||||
|
||||
<!-- Actions -->
|
||||
{% if page.edit_url %}
|
||||
|
||||
<!-- Edit button -->
|
||||
{% if "content.action.edit" in features %}
|
||||
<a
|
||||
href="{{ page.edit_url }}"
|
||||
title="{{ lang.t('action.edit') }}"
|
||||
class="md-content__button md-icon"
|
||||
>
|
||||
{% set icon = config.theme.icon.edit or "material/file-edit-outline" %}
|
||||
{% include ".icons/" ~ icon ~ ".svg" %}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
<!-- View button -->
|
||||
{% if "content.action.view" in features %}
|
||||
{% if "/blob/" in page.edit_url %}
|
||||
{% set part = "blob" %}
|
||||
{% else %}
|
||||
{% set part = "_edit" %}
|
||||
{% endif %}
|
||||
<a
|
||||
href="{{ page.edit_url | replace(part, 'raw/branch') }}"
|
||||
title="{{ lang.t('action.view') }}"
|
||||
class="md-content__button md-icon"
|
||||
>
|
||||
{% set icon = config.theme.icon.view or "material/file-eye-outline" %}
|
||||
{% include ".icons/" ~ icon ~ ".svg" %}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %}
|
Laden …
In neuem Issue referenzieren