Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ venv.bak/

# mkdocs documentation
/site

# temp files
__pycache__
5 changes: 5 additions & 0 deletions docs/assets/hooks/footer_hooks.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from datetime import datetime

def on_config(config, **kwargs):
config.copyright = f"Copyright © 2024 - {datetime.now().year} PyGreece"
Comment thread
lysnikolaou marked this conversation as resolved.
return config
5 changes: 4 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
site_name: PyGreece
repo_url: https://github.com/pygreece/community
copyright: Copyright © 2024 - PyGreece
# copyright: Copyright &copy; 2024 - <current_year> PyGreece
# copyright is set through docs/assets/hooks/footer_hooks.py

theme:
name: material
Expand Down Expand Up @@ -47,6 +48,8 @@ plugins:
enable_creation_date: true
- search

hooks:
- docs/assets/hooks/footer_hooks.py

markdown_extensions:
- admonition
Expand Down