mirror of
https://github.com/mvt-project/mvt.git
synced 2026-11-19 10:24:24 +01:00
Move the MkDocs copyright hook under docs
This commit is contained in:
1 parent
f93a86d670
commit
735821ee40
2 files changed
+4
-4
No files matched your search
@@ -3,7 +3,5 @@ from datetime import datetime, timezone
|
||||
|
||||
def on_config(config, **kwargs):
|
||||
year = datetime.now(timezone.utc).year
|
||||
config["copyright"] = (
|
||||
f"Copyright © 2021-{year} MVT Project Developers"
|
||||
)
|
||||
config["copyright"] = f"Copyright © 2021-{year} MVT Project Developers"
|
||||
return config
|
||||
+3
-1
@@ -2,7 +2,9 @@ site_name: Mobile Verification Toolkit
|
||||
repo_url: https://github.com/mvt-project/mvt
|
||||
edit_uri: edit/main/docs/
|
||||
hooks:
|
||||
- hooks/copyright.py
|
||||
- docs/hooks/copyright.py
|
||||
exclude_docs: |
|
||||
/hooks/
|
||||
site_description: Mobile Verification Toolkit Documentation
|
||||
not_in_nav: |
|
||||
android/adb.md
|
||||
|
||||
Reference in new issue
Block a user