sphinx-gp-theme 0.0.1a16.dev4__tar.gz → 0.0.1a18.dev0__tar.gz

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.
Files changed (14) hide show
  1. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/PKG-INFO +2 -2
  2. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/pyproject.toml +7 -2
  3. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/src/sphinx_gp_theme/__init__.py +1 -1
  4. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/src/sphinx_gp_theme/theme/static/css/custom.css +15 -4
  5. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/.gitignore +0 -0
  6. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/README.md +0 -0
  7. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/src/sphinx_gp_theme/py.typed +0 -0
  8. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/src/sphinx_gp_theme/pygments_styles.py +0 -0
  9. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/src/sphinx_gp_theme/theme/page.html +0 -0
  10. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/src/sphinx_gp_theme/theme/sidebar/brand.html +0 -0
  11. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/src/sphinx_gp_theme/theme/sidebar/projects.html +0 -0
  12. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/src/sphinx_gp_theme/theme/static/css/argparse-highlight.css +0 -0
  13. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/src/sphinx_gp_theme/theme/static/js/spa-nav.js +0 -0
  14. {sphinx_gp_theme-0.0.1a16.dev4 → sphinx_gp_theme-0.0.1a18.dev0}/src/sphinx_gp_theme/theme/theme.conf +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sphinx-gp-theme
3
- Version: 0.0.1a16.dev4
3
+ Version: 0.0.1a18.dev0
4
4
  Summary: Furo child theme for git-pull project documentation
5
5
  Project-URL: Repository, https://github.com/git-pull/gp-sphinx
6
6
  Author-email: Tony Narlock <tony@git-pull.com>
@@ -21,7 +21,7 @@ Classifier: Topic :: Documentation
21
21
  Classifier: Topic :: Documentation :: Sphinx
22
22
  Classifier: Typing :: Typed
23
23
  Requires-Python: <4.0,>=3.10
24
- Requires-Dist: gp-furo-theme==0.0.1a16.dev4
24
+ Requires-Dist: gp-furo-theme==0.0.1a18.dev0
25
25
  Requires-Dist: sphinx>=8.1
26
26
  Description-Content-Type: text/markdown
27
27
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "sphinx-gp-theme"
3
- version = "0.0.1a16.dev4"
3
+ version = "0.0.1a18.dev0"
4
4
  description = "Furo child theme for git-pull project documentation"
5
5
  requires-python = ">=3.10,<4.0"
6
6
  authors = [
@@ -27,7 +27,7 @@ readme = "README.md"
27
27
  keywords = ["sphinx", "theme", "furo", "documentation"]
28
28
  dependencies = [
29
29
  "sphinx>=8.1",
30
- "gp-furo-theme==0.0.1a16.dev4",
30
+ "gp-furo-theme==0.0.1a18.dev0",
31
31
  ]
32
32
 
33
33
  [project.entry-points."sphinx.html_themes"]
@@ -45,3 +45,8 @@ build-backend = "hatchling.build"
45
45
 
46
46
  [tool.hatch.build.targets.wheel]
47
47
  packages = ["src/sphinx_gp_theme"]
48
+
49
+ [tool.gp-sphinx.docs]
50
+ # Theme consumed by gp-sphinx workspace projects; surfaces the
51
+ # dependent relationship from the theme's own landing.
52
+ showcase = ["dependents"]
@@ -23,7 +23,7 @@ import typing as t
23
23
  if t.TYPE_CHECKING:
24
24
  from sphinx.application import Sphinx
25
25
 
26
- __version__ = "0.0.1a16.dev4"
26
+ __version__ = "0.0.1a18.dev0"
27
27
 
28
28
 
29
29
  def get_theme_path() -> pathlib.Path:
@@ -1,3 +1,9 @@
1
+ /* All workspace overrides land in @layer gp-sphinx so precedence is
2
+ * declarative against Furo's @layer components rather than relying
3
+ * on accidental "unlayered wins." Layer order is established in
4
+ * gp-furo-theme/web/src/styles/index.css. */
5
+ @layer gp-sphinx {
6
+
1
7
  .sidebar-tree p.indented-block {
2
8
  padding: var(--sidebar-item-spacing-vertical) var(--sidebar-item-spacing-horizontal) 0
3
9
  var(--sidebar-item-spacing-horizontal);
@@ -109,10 +115,13 @@ article h6 {
109
115
  * Uses Furo CSS variable overrides where possible.
110
116
  * ────────────────────────────────────────────────────────── */
111
117
 
112
- /* TOC font sizes: override Furo defaults (75% 87.5%) */
113
- :root {
114
- --toc-font-size: var(--font-size--small); /* 87.5% = 14px */
115
- --toc-title-font-size: var(--font-size--small); /* 87.5% = 14px */
118
+ /* TOC font sizes: drive from the gp-sphinx-type-metadata role token
119
+ * (87.5%, ~14px). Declared on `body` because gp-furo-tokens emits
120
+ * Furo's own --toc-font-size on `body` too a `:root` override is
121
+ * silently shadowed for descendants of body. */
122
+ body {
123
+ --toc-font-size: var(--gp-sphinx-type-metadata);
124
+ --toc-title-font-size: var(--gp-sphinx-type-metadata);
116
125
  }
117
126
 
118
127
  /* More generous line-height for wrapped TOC entries */
@@ -375,3 +384,5 @@ a.reference:has(.sd-badge[role="note"][aria-label^="Safety tier:"]):hover code {
375
384
  .sig:not(.sig-inline) {
376
385
  transition: none;
377
386
  }
387
+
388
+ } /* end @layer gp-sphinx */