Skip to content

Commit

Permalink
chore: update theme 1.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dgarcia360 committed Nov 12, 2024
1 parent abe2811 commit 4b127f2
Show file tree
Hide file tree
Showing 8 changed files with 1,346 additions and 17 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/docs"
schedule:
interval: "daily"
allow:
- dependency-name: "sphinx-scylladb-theme"
- dependency-name: "sphinx-multiversion-scylla"
3 changes: 2 additions & 1 deletion .github/workflows/docs-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ on:
push:
branches:
- scylla-3.x
- 'branch-**'
- 'scylla-3.**'
- 'scylla-4.**'
paths:
- 'docs/**'
- 'faq/**'
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/docs-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request:
branches:
- scylla-4.x

paths:
- 'docs/**'
- 'faq/**'
Expand All @@ -15,22 +16,27 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Set up JDK 1.8
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 1.8
distribution: 'adopt'

- name: Set up env
run: make -C docs setupenv

- name: Build docs
run: make -C docs test
run: make -C docs test
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ latex
.documenter_local_last_run
docs/_build
docs/_source
docs/poetry.lock
target/
dependency-reduced-pom.xml
5 changes: 4 additions & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,14 @@ setupenv:
.PHONY: setup
setup:
$(POETRY) install
$(POETRY) update
@if [ ! -d "$(SOURCEDIR)" ]; then mkdir -p "$(SOURCEDIR)"; fi
cp -RL source/* $(SOURCEDIR)
cd $(SOURCEDIR) && find . -name README.md -execdir mv '{}' index.md ';'

.PHONY: update
update:
$(POETRY) update

# Clean commands
.PHONY: pristine
pristine: clean
Expand Down
1,310 changes: 1,310 additions & 0 deletions docs/poetry.lock

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ name = "java-driver"
version = "3.7.1"
description = "ScyllaDB Java Driver"
authors = ["Java Driver Contributors"]
package-mode = false

[tool.poetry.dependencies]
python = "^3.9"
pyyaml = "6.0.1"
pygments = "2.15.1"
redirects_cli ="~0.1.3"
sphinx-scylladb-theme = "~1.7.2"
sphinx-sitemap = "2.5.1"
sphinx-autobuild = "2021.3.14"
Sphinx = "7.2.6"
sphinx-multiversion-scylla = "~0.3.1"
python = "^3.10"
pygments = "^2.18.0"
redirects_cli ="^0.1.3"
sphinx-scylladb-theme = "^1.8.1"
sphinx-sitemap = "^2.6.0"
sphinx-autobuild = "^2024.4.19"
Sphinx = "^7.3.7"
sphinx-multiversion-scylla = "^0.3.1"
wheel = "^0.38.4"
sphinx-scylladb-markdown = "^0.1.2"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
requires = ["poetry>=1.8"]
build-backend = "poetry.masonry.api"
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@
'conf_py_path': 'docs/source/',
'branch_substring_removed': 'scylla-',
'github_repository': 'scylladb/java-driver',
'default_branch': 'scylla-4.x',
'github_issues_repository': 'scylladb/java-driver',
'hide_edit_this_page_button': 'false',
'hide_feedback_buttons': 'false',
Expand Down

0 comments on commit 4b127f2

Please sign in to comment.