diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-03-30 09:50:13 +0200 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2023-03-31 09:02:32 +0200 |
commit | d7732e446bdd30cb258c0d4dc5a3e189e1e917b3 (patch) | |
tree | 370ca3ce0561cccc5faf286576e2b91d0b91efd9 | |
parent | 6e91abf16eac6d1c0619009600b01bfd209aea26 (diff) | |
download | pylint-git-d7732e446bdd30cb258c0d4dc5a3e189e1e917b3.tar.gz |
[doc] Create a variable for the contributors description
-rw-r--r-- | doc/conf.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/conf.py b/doc/conf.py index d48f9c28a..0da6091cc 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -109,7 +109,8 @@ master_doc = "index" # General information about the project. project = "Pylint" current_year = datetime.utcnow().year -copyright = f"2003-{current_year}, Logilab, PyCQA and contributors" # pylint: disable=redefined-builtin +contributors = "Logilab and Pylint contributors" +copyright = f"2003-{current_year}, {contributors}" # pylint: disable=redefined-builtin # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -249,7 +250,7 @@ latex_documents = [ "index", "Pylint.tex", "Pylint Documentation", - "Logilab, PyCQA and contributors", + contributors, "manual", ) ] @@ -282,9 +283,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). -man_pages = [ - ("index", "pylint", "Pylint Documentation", ["Logilab, PyCQA and contributors"], 1) -] +man_pages = [("index", "pylint", "Pylint Documentation", [contributors], 1)] # pylint: disable-next=consider-using-namedtuple-or-dataclass intersphinx_mapping = { |