python-docs-theme 2024.1__py3-none-any.whl → 2024.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,11 +29,42 @@ pre {
29
29
  color: inherit;
30
30
  }
31
31
 
32
+ /* Add underlines to links */
32
33
  a[href] {
33
34
  text-decoration: underline 1px;
35
+ }
36
+
37
+ /* Increase the underline offset for code to avoid obscuring underscores */
38
+ a[href]:has(> code) {
34
39
  text-underline-offset: 0.25em;
35
40
  }
36
41
 
42
+ /* No underline for navigation */
43
+ a.headerlink,
44
+ div.genindex-jumpbox a,
45
+ div.modindex-jumpbox a,
46
+ div#search-results a,
47
+ div.sphinxsidebar a,
48
+ div.toctree-wrapper a,
49
+ div[role=navigation] a,
50
+ table.contentstable a,
51
+ table.indextable a {
52
+ text-decoration: none;
53
+ }
54
+
55
+ /* Except when hovered */
56
+ div.genindex-jumpbox a:hover,
57
+ div.modindex-jumpbox a:hover,
58
+ div#search-results a:hover,
59
+ div.sphinxsidebar a:hover,
60
+ div.toctree-wrapper a:hover,
61
+ div[role=navigation] a:hover,
62
+ table.contentstable a:hover,
63
+ table.indextable a:hover {
64
+ text-decoration: underline;
65
+ text-underline-offset: auto;
66
+ }
67
+
37
68
  body {
38
69
  margin-left: 1em;
39
70
  margin-right: 1em;
@@ -284,6 +315,10 @@ div.footer {
284
315
  margin-right: 10px;
285
316
  }
286
317
 
318
+ div.footer a {
319
+ text-underline-offset: auto;
320
+ }
321
+
287
322
  div.footer a:hover {
288
323
  color: #0095c4;
289
324
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python-docs-theme
3
- Version: 2024.1
3
+ Version: 2024.2
4
4
  Summary: The Sphinx theme for the CPython docs and related projects
5
5
  Author-email: PyPA <distutils-sig@python.org>
6
6
  Requires-Python: >=3.8
@@ -48,5 +48,12 @@ To use this theme, add the following to ``conf.py``:
48
48
 
49
49
  - ``html_theme = 'python_docs_theme'``
50
50
 
51
- - ``html_sidebars``, defaults taken from http://www.sphinx-doc.org/en/stable/config.html#confval-html_sidebars
51
+ - ``html_sidebars``, defaults taken from https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars
52
+
53
+ Preview
54
+ -------
55
+
56
+ See a demo of the CPython docs using this theme:
57
+
58
+ - https://python-docs-theme-previews.readthedocs.io
52
59
 
@@ -6,13 +6,13 @@ python_docs_theme/static/copybutton.js,sha256=LSeNL29gDNKg3fv4rfcb8t-8xkH6HozpCb
6
6
  python_docs_theme/static/menu.js,sha256=JmrKD08_6CiCgQH32As9AgiSiV-th1fZInVrmTCihzA,2137
7
7
  python_docs_theme/static/py.png,sha256=rhc9xIQjUfwcilUa-9tYyyspVJB4ITDapPNZpqgNclY,695
8
8
  python_docs_theme/static/py.svg,sha256=WGW-i8wK-IhZSQPqARL2yNkjxXJsQIHoyFYRDMcznO8,2041
9
- python_docs_theme/static/pydoctheme.css,sha256=L_Hql9TUO0t1vqnJF5gSPLgTZRtggvE-m3NU0m4hlk0,11284
9
+ python_docs_theme/static/pydoctheme.css,sha256=R1O74BqxlbtsxLYD7cElEKe3or2MRArqJVylcGLla1A,12050
10
10
  python_docs_theme/static/pydoctheme_dark.css,sha256=R_FU5JN8Jcx_0fOkSJlp2rWrd6GoGLyXHhULFyqdXno,2214
11
11
  python_docs_theme/static/search-focus.js,sha256=DwWV71ssKvrzagPenP7yLvFQCdyqFJirbBk1PFRvVoA,559
12
12
  python_docs_theme/static/sidebar.js_t,sha256=swTyAoy6dNGm6Ro0_iRl_9ujRrIz5nq207tMIqNnYgs,3350
13
13
  python_docs_theme/static/themetoggle.js,sha256=6D1LE0wg8DjPP776_KxPCxXdIk-gGJJX5DYpHFLG1Uw,779
14
- python_docs_theme-2024.1.dist-info/entry_points.txt,sha256=VqpxCWQkYo2DkZVV2D2vA9LKmexR1Yhicqsrff4JAag,58
15
- python_docs_theme-2024.1.dist-info/LICENSE,sha256=lx_9CsorlYBu9cw97FX-A1VnHHmrwk-H-jydZBJlWmY,2460
16
- python_docs_theme-2024.1.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
17
- python_docs_theme-2024.1.dist-info/METADATA,sha256=jmaUqdOvzylUIIDd5f4zndmN_xI0UYT5s4nuhRRp0uY,2131
18
- python_docs_theme-2024.1.dist-info/RECORD,,
14
+ python_docs_theme-2024.2.dist-info/entry_points.txt,sha256=VqpxCWQkYo2DkZVV2D2vA9LKmexR1Yhicqsrff4JAag,58
15
+ python_docs_theme-2024.2.dist-info/LICENSE,sha256=lx_9CsorlYBu9cw97FX-A1VnHHmrwk-H-jydZBJlWmY,2460
16
+ python_docs_theme-2024.2.dist-info/WHEEL,sha256=EZbGkh7Ie4PoZfRQ8I0ZuP9VklN_TvcZ6DSE5Uar4z4,81
17
+ python_docs_theme-2024.2.dist-info/METADATA,sha256=X3HPbI1TNK8dTZ_KcbjzOp8qmiLCS1QSXUrZdT169vw,2265
18
+ python_docs_theme-2024.2.dist-info/RECORD,,