Skip to content

Commit 5a516cb

Browse files
authored
separate venv for docs (#231)
* separate venv for docs * separate venv for docs
1 parent a8c58a9 commit 5a516cb

File tree

7 files changed

+2569
-2734
lines changed

7 files changed

+2569
-2734
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.15.4] - 2026-01-01
11+
12+
### Changed
13+
14+
- Moved docs dependencies out of core pythonbible config and into a separate config (no functional changes).
15+
- Bumped docs dependencies to their latest versions (no functional changes).
16+
- Updated all translation packages to use the latest version of pythonbible (0.15.3) and bumped their version numbers.
17+
1018
## [0.15.3] - 2025-12-31
1119

1220
### Fixed
@@ -226,7 +234,8 @@ The goal of this release was to address [Issue #90], and to make things related
226234

227235
## [0.0.1] - 2020-10-08
228236

229-
[unreleased]: https://github.com/avendesora/pythonbible/compare/v0.15.3...HEAD
237+
[unreleased]: https://github.com/avendesora/pythonbible/compare/v0.15.4...HEAD
238+
[0.15.4]: https://github.com/avendesora/pythonbible/compare/v0.15.3...v0.15.4
230239
[0.15.3]: https://github.com/avendesora/pythonbible/compare/v0.15.2...v0.15.3
231240
[0.15.2]: https://github.com/avendesora/pythonbible/compare/v0.15.1...v0.15.2
232241
[0.15.1]: https://github.com/avendesora/pythonbible/compare/v0.14.0...v0.15.1

docs/pyproject.toml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
[project]
2+
name = "pythonbible-docs"
3+
version = "0.15.4"
4+
description-file = "README.md"
5+
requires-python = ">=3.13"
6+
authors = [
7+
{ name = "Nathan Patton", email = "npatton@gmail.com" }
8+
]
9+
readme = "README.md"
10+
license = "MIT"
11+
urls = { Documentation = "https://docs.python.bible", Source = "https://github.com/avendesora/pythonbible" }
12+
dependencies = [
13+
"furo>=2025.7.19",
14+
"jupyter>=1.1.1",
15+
"pythonbible",
16+
"sphinx>=8,<9",
17+
"sphinx-copybutton>=0.5.2",
18+
"sphinx-toolbox>=4.1.1",
19+
]
20+
21+
[tool.ruff.lint]
22+
select = [
23+
"A",
24+
"ANN",
25+
"ARG",
26+
"B",
27+
"BLE",
28+
"COM",
29+
"C4",
30+
"C90",
31+
"D",
32+
"DTZ",
33+
"E",
34+
"EM",
35+
"ERA",
36+
"EXE",
37+
"F",
38+
"FBT",
39+
"G",
40+
"I",
41+
"ICN",
42+
"INP",
43+
"ISC",
44+
"N",
45+
"NPY",
46+
"PD",
47+
"PGH",
48+
"PIE",
49+
"PL",
50+
"PT",
51+
"PTH",
52+
"PYI",
53+
"Q",
54+
"RET",
55+
"RSE",
56+
"RUF",
57+
"S",
58+
"SIM",
59+
"SLF",
60+
"TCH",
61+
"TID",
62+
"TRY",
63+
"T10",
64+
"T20",
65+
"W",
66+
]
67+
ignore = [
68+
"COM812", # conflicts with formatter
69+
"D100",
70+
"D101",
71+
"D102",
72+
"D103",
73+
"D104",
74+
"D205",
75+
"D203",
76+
"D213",
77+
"ISC001", # conflicts with formatter
78+
]
79+
80+
[tool.ruff.lint.per-file-ignores]
81+
"source/_static/pythonbible-book-groups.ipynb" = ["E501", "T201"]
82+
"source/conf.py" = ["A001", "E501"]
83+
84+
[tool.ruff.lint.isort]
85+
force-single-line = true

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
author = "Nathan Patton"
2424

2525
# The full version, including alpha/beta/rc tags
26-
release = "0.15.3"
26+
release = "0.15.4"
2727

2828

2929
# -- General configuration ---------------------------------------------------

docs/uv.lock

Lines changed: 2031 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pythonbible/pyproject.toml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ requires = ["uv_build>=0.8.9,<0.10.0"]
33
build-backend = "uv_build"
44

55
[tool.uv]
6-
default-groups = ["dev", "docs", "test"]
6+
default-groups = ["dev", "test"]
77

88
[tool.uv.build-backend]
99
module-root = ""
1010
module-name = "pythonbible"
1111

1212
[project]
1313
name = "pythonbible"
14-
version = "0.15.3"
14+
version = "0.15.4"
1515
description-file = "README.md"
1616
requires-python = ">=3.10"
1717
authors = [
@@ -103,13 +103,6 @@ all = [
103103
dev = [
104104
"pre-commit>=4.3.0",
105105
]
106-
docs = [
107-
"furo>=2025.7.19",
108-
"jupyter>=1.1.1",
109-
"sphinx>=7.4.7",
110-
"sphinx-copybutton>=0.5.2",
111-
"sphinx-toolbox>=4.0.0",
112-
]
113106
test = [
114107
"nox[uv]>=2025.10.14",
115108
"pytest-cov>=7.0.0",
@@ -178,8 +171,6 @@ ignore = [
178171
]
179172

180173
[tool.ruff.lint.per-file-ignores]
181-
"docs/source/_static/pythonbible-book-groups.ipynb" = ["E501", "T201"]
182-
"docs/source/conf.py" = ["A001", "E501"]
183174
"pythonbible/bible/bible.py" = ["PLR0913", "FBT001", "FBT002"]
184175
"pythonbible/books.py" = ["ARG004", "PYI034"]
185176
"pythonbible/book_groups.py" = ["ARG004", "PYI034"]

pythonbible/pythonbible/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from __future__ import annotations
1010

11-
__version__ = "0.15.3"
11+
__version__ = "0.15.4"
1212

1313
from .bible import add_bible
1414
from .bible import get_bible

0 commit comments

Comments
 (0)