We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a057d2b commit b2a8d80Copy full SHA for b2a8d80
1 file changed
docs_overrides/hooks/year.py
@@ -0,0 +1,4 @@
1
+from datetime import datetime
2
+def on_config(config, **kwargs):
3
+ year: str = str(datetime.now().year)
4
+ config.copyright = config.copyright.format(year=year)
0 commit comments