|
2 | 2 |
|
3 | 3 | import os |
4 | 4 | import sys |
5 | | - |
6 | 5 | import typing |
| 6 | +from datetime import datetime |
7 | 7 |
|
8 | 8 | # prevent circular imports |
9 | 9 | import sphinx.builders.html |
10 | 10 | import sphinx.builders.latex |
11 | 11 | import sphinx.builders.texinfo |
12 | 12 | import sphinx.builders.text |
13 | | -import sphinx.ext.autodoc |
14 | | -import urllib3.exceptions |
| 13 | +import sphinx.ext.autodoc # noqa: F401 |
| 14 | +import urllib3.exceptions # noqa: F401 |
15 | 15 |
|
16 | 16 | typing.TYPE_CHECKING = True |
17 | 17 |
|
|
27 | 27 | # -- Project information ----------------------------------------------------- |
28 | 28 |
|
29 | 29 | project = "sentry-python" |
30 | | -copyright = "2019, Sentry Team and Contributors" |
| 30 | +copyright = "2019-{}, Sentry Team and Contributors".format(datetime.now().year) |
31 | 31 | author = "Sentry Team and Contributors" |
32 | 32 |
|
33 | 33 | release = "1.26.0" |
|
87 | 87 |
|
88 | 88 | on_rtd = os.environ.get("READTHEDOCS", None) == "True" |
89 | 89 |
|
90 | | -html_theme = "alabaster" |
| 90 | +html_theme = "shibuya" |
91 | 91 |
|
92 | 92 | # Theme options are theme-specific and customize the look and feel of a theme |
93 | 93 | # further. For a list of options available for each theme, see the |
94 | 94 | # documentation. |
95 | 95 | # |
96 | | -# html_theme_options = {} |
| 96 | +html_theme_options = { |
| 97 | + "github_url": "https://github.com/getsentry/sentry-python", |
| 98 | +} |
97 | 99 |
|
98 | 100 | # Add any paths that contain custom static files (such as style sheets) here, |
99 | 101 | # relative to this directory. They are copied after the builtin static files, |
|
167 | 169 | "sentry-python Documentation", |
168 | 170 | author, |
169 | 171 | "sentry-python", |
170 | | - "One line description of project.", |
| 172 | + "The official Sentry SDK for Python.", |
171 | 173 | "Miscellaneous", |
172 | 174 | ) |
173 | 175 | ] |
|
0 commit comments