2
2
import inspect
3
3
import os
4
4
import sys
5
+ from datetime import datetime , timezone
5
6
6
7
# readthedocs generated the whole documentation in an isolated environment
7
8
# by cloning the git repo. Thus, any on-the-fly operation will not effect
71
72
# General information about the project.
72
73
project = "Kornia"
73
74
author = f"{ project } developers"
74
- copyright = f"2019 , { author } "
75
+ copyright = f"{ datetime . now ( tz = timezone . utc ). year } , { author } "
75
76
76
77
# The version info for the project you're documenting, acts as replacement for
77
78
# |version| and |release|, also used in various other places throughout the
168
169
html_css_files = ["css/main.css" ]
169
170
html_js_files = ["js/custom.js" ]
170
171
171
-
172
172
# Configure viewcode extension.
173
173
# based on https://github.com/readthedocs/sphinx-autoapi/issues/202
174
174
code_url = "https://github.com/kornia/kornia/blob/main"
@@ -233,14 +233,12 @@ def linkcode_resolve(domain, info):
233
233
# author, documentclass [howto, manual, or own class]).
234
234
latex_documents = [(master_doc , "kornia.tex" , "Kornia" , "manual" )]
235
235
236
-
237
236
# -- Options for manual page output ---------------------------------------
238
237
239
238
# One entry per manual page. List of tuples
240
239
# (source start file, name, description, authors, manual section).
241
240
man_pages = [(master_doc , "Kornia" , "Kornia Documentation" , [author ], 1 )]
242
241
243
-
244
242
# -- Options for Texinfo output -------------------------------------------
245
243
246
244
# Grouping the document tree into Texinfo files. List of tuples
@@ -258,7 +256,6 @@ def linkcode_resolve(domain, info):
258
256
)
259
257
]
260
258
261
-
262
259
# Example configuration for intersphinx: refer to the Python standard library.
263
260
intersphinx_mapping = {
264
261
"python" : ("https://docs.python.org/3/" , None ),
0 commit comments