Skip to content

Commit c06448c

Browse files
authored
Merge pull request #175 from dgarcia360/docs-update-theme-1.9
docs: update theme 1.9
2 parents 5b2ba25 + 899fc37 commit c06448c

File tree

6 files changed

+924
-1352
lines changed

6 files changed

+924
-1352
lines changed

.github/dependabot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "pip"
3+
- package-ecosystem: "uv"
44
directory: "/docs"
55
schedule:
66
interval: "daily"
77
allow:
88
- dependency-name: "sphinx-scylladb-theme"
9-
- dependency-name: "sphinx-multiversion-scylla"
9+
- dependency-name: "sphinx-multiversion-scylla"

docs/Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
#
33
# You can set these variables from the command line.
44

5-
POETRY = poetry
5+
UV = uv
66
SPHINXOPTS = -j auto
7-
SPHINXBUILD = $(POETRY) run sphinx-build
7+
SPHINXBUILD = $(UV) run sphinx-build
88
PAPER =
99
BUILDDIR = _build
1010
SOURCEDIR = .
@@ -24,15 +24,15 @@ all: dirhtml
2424
# Setup commands
2525
.PHONY: setupenv
2626
setupenv:
27-
pip install -q poetry
27+
pip install -q uv
2828

2929
.PHONY: setup
3030
setup:
31-
$(POETRY) install
31+
$(UV) sync
3232

3333
.PHONY: update
3434
update:
35-
$(POETRY) update
35+
$(UV) sync --upgrade
3636

3737
# Clean commands
3838
.PHONY: clean
@@ -76,24 +76,24 @@ dummy: setup
7676

7777
.PHONY: multiversion
7878
multiversion: setup
79-
$(POETRY) run sphinx-multiversion $(SOURCEDIR) $(BUILDDIR)/dirhtml
79+
$(UV) run sphinx-multiversion $(SOURCEDIR) $(BUILDDIR)/dirhtml
8080
@echo
8181
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
8282

8383
.PHONY: redirects
8484
redirects: setup
85-
$(POETRY) run redirects-cli fromfile --yaml-file _utils/redirects.yaml --output-dir $(BUILDDIR)/dirhtml
85+
$(UV) run redirects-cli fromfile --yaml-file _utils/redirects.yaml --output-dir $(BUILDDIR)/dirhtml
8686
@echo
8787
@echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
8888

8989
# Preview commands
9090
.PHONY: preview
9191
preview: setup
92-
$(POETRY) run sphinx-autobuild -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml --port 5500
92+
$(UV) run sphinx-autobuild -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml --port 5500
9393

9494
.PHONY: multiversionpreview
9595
multiversionpreview: multiversion
96-
$(POETRY) run python -m http.server 5500 --directory $(BUILDDIR)/dirhtml
96+
$(UV) run python -m http.server 5500 --directory $(BUILDDIR)/dirhtml
9797

9898
# Test commands
9999
.PHONY: test

docs/conf.py

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

4444
# List of patterns, relative to source directory, that match files and
4545
# directories to ignore when looking for source files.
46-
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "sizing.md"]
46+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "sizing.md", ".venv"]
4747

4848
# The name of the Pygments (syntax highlighting) style to use.
4949
pygments_style = 'sphinx'

0 commit comments

Comments
 (0)