Skip to content

Commit

Permalink
[doc] Create a variable for the contributors description
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Sassoulas committed Apr 16, 2023
1 parent a4a6104 commit bd23504
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@
# General information about the project.
project = "Astroid"
current_year = datetime.utcnow().year
copyright = f"2003-{current_year}, Logilab, PyCQA and contributors"
contributors = "Logilab, and astroid contributors"
copyright = f"2003-{current_year}, {contributors}"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -202,7 +203,7 @@
"index",
"Astroid.tex",
"Astroid Documentation",
"Logilab, PyCQA and contributors",
contributors,
"manual",
),
]
Expand Down Expand Up @@ -240,7 +241,7 @@
"index",
"astroid",
"Astroid Documentation",
["Logilab, PyCQA and contributors"],
[contributors],
1,
)
]
Expand Down

0 comments on commit bd23504

Please sign in to comment.