From 149c9cd6fd0237c5cc5367f0d6887447914c3e4a Mon Sep 17 00:00:00 2001 From: Peter Bittner Date: Tue, 8 Jul 2025 17:02:30 +0200 Subject: [PATCH] Address warnings in docs build process Adjusts copyright following https://reuse.software/faq/#years-copyright --- docs/conf.py | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 2d2af9d..7f5b992 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,7 +13,7 @@ import analytical # noqa # -- General configuration -------------------------------------------------- project = 'django-analytical' -copyright = '2011-2020, Joost Cassee ' +copyright = '2011, Joost Cassee ' release = analytical.__version__ # The short X.Y version. @@ -21,18 +21,15 @@ version = release.rsplit('.', 1)[0] extensions = ['sphinx.ext.autodoc', 'sphinx.ext.intersphinx', 'local'] templates_path = ['_templates'] -source_suffix = '.rst' +source_suffix = {'.rst': 'restructuredtext'} master_doc = 'index' add_function_parentheses = True pygments_style = 'sphinx' intersphinx_mapping = { - 'python': ('http://docs.python.org/3.13', None), - 'django': ( - 'http://docs.djangoproject.com/en/stable', - 'http://docs.djangoproject.com/en/stable/_objects/', - ), + 'python': ('https://docs.python.org/3.13', None), + 'django': ('https://docs.djangoproject.com/en/stable', None), }