Clean up "docs" hatch environment, also subsuming "release"
Marco Ricci

Marco Ricci commited on 2024-12-08 19:06:33
Zeige 1 geänderte Dateien mit 3 Einfügungen und 15 Löschungen.

... ...
@@ -106,17 +106,12 @@ path = "mkdocs.yml"
106 106
 
107 107
 [tool.hatch.envs.docs]
108 108
 extra-dependencies = [
109
-  # Our documentation uses the Material theme.  It also uses
110
-  # `mkdocstrings[python]`, but `hatch-mkdocs` is apparently smart
111
-  # enough to pick *that* one up from the MkDocs configuration, but not
112
-  # the selected theme...
113
-  "mkdocs-material",
114 109
   # Our documentation uses formatted function signatures (i.e. with
115 110
   # formatted type annotations), which requires `black`.
116 111
   "black",
117
-  # Our documentation is generated in multiple versions, orchestrated by
118
-  # `mike`.
119
-  "mike",
112
+  # Our changelog is assembled from singular entries, orchestrated by
113
+  # `scriv`.
114
+  "scriv >= 1.4"
120 115
 ]
121 116
 detached = false
122 117
 
... ...
@@ -166,13 +161,6 @@ run-cov = "coverage run -m pytest --hypothesis-profile={env:HYPOTHESIS_PROFILE:d
166 161
 cov-combine = "coverage combine"
167 162
 cov-report = "coverage report"
168 163
 
169
-[tool.hatch.envs.release]
170
-extra-dependencies = [
171
-  "scriv >= 1.4"
172
-]
173
-
174
-[tool.hatch.envs.release.scripts]
175
-
176 164
 [tool.hatch.envs.types]
177 165
 extra-dependencies = [
178 166
   "hypothesis >= 6.0",
179 167