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
features:
- announce.dismiss
- content.code.copy
- navigation.instant
- navigation.instant.progress
- navigation.tracking
@ -85,9 +86,21 @@ plugins:
- search
- privacy:
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:
enabled: !ENV [CI, false]
- typeset
- awesome-pages
- blog:
archive: false
- git-revision-date-localized:
@ -123,6 +136,7 @@ plugins:
categories:
- categories
- tags
- macros
# Additional configuration
extra:
@ -186,7 +200,8 @@ extra_javascript:
nav:
- Home:
- Über mich: index.md
- Über diese Website: about-website.md
- Changelog: changelog.md
- Lizenz: license.md
- Lebenslauf: cv/index.md
- Projekte: projects/index.md
- Tech Stack: techstack/index.md
@ -194,4 +209,4 @@ nav:
- Impressum: imprint/index.md
- Blog:
- 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-glightbox~=0.4.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
babel~=2.10