Added many changes and bug fixes
Some checks are pending
ci / deploy (push) Waiting to run

This commit is contained in:
Stephan Hadan 2024-12-03 09:52:11 +01:00
parent d3afeadcf9
commit c9526ed35f
4 changed files with 36 additions and 2 deletions

5
docs/license.md Normal file
View file

@ -0,0 +1,5 @@
# Lizenz
```
--8<-- "LICENSE"
```

10
macros/__init__.py Normal file
View file

@ -0,0 +1,10 @@
import mkdocs_exporter
import importlib.metadata
def define_env(env):
"""
A hook for the MkDocs Macros plugin.
"""
env.variables['version'] = importlib.metadata.version(mkdocs_exporter.__name__)

View file

@ -66,6 +66,7 @@ theme:
language: de language: de
features: features:
- announce.dismiss - announce.dismiss
- content.code.copy
- navigation.instant - navigation.instant
- navigation.instant.progress - navigation.instant.progress
- navigation.tracking - navigation.tracking
@ -85,9 +86,21 @@ plugins:
- search - search
- privacy: - privacy:
enabled: !ENV [CI, false] enabled: !ENV [CI, false]
- mkdocstrings:
handlers:
python:
import:
- https://docs.python.org/3/objects.inv
- https://installer.readthedocs.io/en/stable/objects.inv
options:
show_bases: false
show_source: true
show_labels: false
show_root_heading: true
- optimize: - optimize:
enabled: !ENV [CI, false] enabled: !ENV [CI, false]
- typeset - typeset
- awesome-pages
- blog: - blog:
archive: false archive: false
- git-revision-date-localized: - git-revision-date-localized:
@ -123,6 +136,7 @@ plugins:
categories: categories:
- categories - categories
- tags - tags
- macros
# Additional configuration # Additional configuration
extra: extra:
@ -186,7 +200,8 @@ extra_javascript:
nav: nav:
- Home: - Home:
- Über mich: index.md - Über mich: index.md
- Über diese Website: about-website.md - Changelog: changelog.md
- Lizenz: license.md
- Lebenslauf: cv/index.md - Lebenslauf: cv/index.md
- Projekte: projects/index.md - Projekte: projects/index.md
- Tech Stack: techstack/index.md - Tech Stack: techstack/index.md
@ -194,4 +209,4 @@ nav:
- Impressum: imprint/index.md - Impressum: imprint/index.md
- Blog: - Blog:
- blog/index.md - blog/index.md

View file

@ -34,6 +34,10 @@ mkdocs-git-revision-date-localized-plugin~=1.3.0
mkdocs-git-committers-plugin-2~=2.4.1 mkdocs-git-committers-plugin-2~=2.4.1
mkdocs-glightbox~=0.4.0 mkdocs-glightbox~=0.4.0
mkdocs-rss-plugin~=1.16.0 mkdocs-rss-plugin~=1.16.0
mkdocs-macros-plugin~=1.0.4
mkdocstrings~=0.25.1
mkdocstrings-python
mkdocs-awesome-pages-plugin~=2.9.3
# Requirements for plugins # Requirements for plugins
babel~=2.10 babel~=2.10