Skip to content

Commit

Permalink
docs: update theme 1.6
Browse files Browse the repository at this point in the history
docs: remove unused deps

docs: update deps

docs: update deps

docs: update deps

docs: update deps

docs: update deps

Delete .eggs/README.txt

docs: update deps

fix: warning
  • Loading branch information
dgarcia360 authored and fruch committed Nov 8, 2023
1 parent 64e7fad commit 9cb1004
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.7
python-version: 3.9
- name: Set up env
run: make -C docs setupenv
- name: Build driver
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.7
python-version: 3.9
- name: Set up env
run: make -C docs setupenv
- name: Build driver
Expand Down
7 changes: 1 addition & 6 deletions docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Global variables
# You can set these variables from the command line.
POETRY = poetry
SPHINXOPTS =
SPHINXOPTS = -j auto
SPHINXBUILD = $(POETRY) run sphinx-build
PAPER =
BUILDDIR = _build
Expand All @@ -13,11 +13,6 @@ PAPEROPT_letter = -D latex_paper_size=letter
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) $(SOURCEDIR)
TESTSPHINXOPTS = $(ALLSPHINXOPTS) -W --keep-going

# Windows variables
ifeq ($(OS),Windows_NT)
POETRY = $(APPDATA)\Python\Scripts\poetry
endif

.PHONY: all
all: dirhtml

Expand Down
2 changes: 1 addition & 1 deletion docs/api/cassandra/cluster.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@

.. automethod:: add_errback(fn, *args, **kwargs)

.. automethod:: add_callbacks(callback, errback, callback_args=(), callback_kwargs=None, errback_args=(), errback_args=None)
.. automethod:: add_callbacks(callback, errback, callback_args=(), callback_kwargs=None, errback_args=(), errback_kwargs=None)

.. autoclass:: ResultSet ()
:members:
Expand Down
19 changes: 10 additions & 9 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# -*- coding: utf-8 -*-
import os
import sys
from datetime import date

from sphinx_scylladb_theme.utils import multiversion_regex_builder

sys.path.insert(0, os.path.abspath('..'))
import cassandra

# -- General configuration -----------------------------------------------------
# -- Global variables

# Build documentation for the following tags and branches
TAGS = ['3.21.0-scylla', '3.22.3-scylla', '3.24.8-scylla', '3.25.4-scylla', '3.25.11-scylla', '3.26.3-scylla']
Expand All @@ -20,6 +19,8 @@
# Set which versions are deprecated
DEPRECATED_VERSIONS = ['']

# -- General configuration

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = [
Expand Down Expand Up @@ -69,15 +70,15 @@
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'

# -- Options for not found extension -------------------------------------------
# -- Options for not found extension

# Template used to render the 404.html generated by this extension.
notfound_template = '404.html'

# Prefix added to all the URLs generated in the 404 page.
notfound_urls_prefix = ''

# -- Options for multiversion --------------------------------------------------
# -- Options for multiversion

# Whitelist pattern for tags
smv_tag_whitelist = multiversion_regex_builder(TAGS)
Expand All @@ -94,16 +95,16 @@
# Format for versioned output directories inside the build directory
smv_outputdir_format = '{ref.name}'

# -- Options for HTML output --------------------------------------------------
# -- Options for sitemap extension

sitemap_url_scheme = "/stable/{link}"

# -- Options for HTML output

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'sphinx_scylladb_theme'

# -- Options for sitemap extension ---------------------------------------

sitemap_url_scheme = "/stable/{link}"

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
Expand Down
23 changes: 11 additions & 12 deletions docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,23 @@ description = "ScyllaDB Python Driver Docs"
authors = ["Python Driver Contributors"]

[tool.poetry.dependencies]
dnspython = "2.2.1"
eventlet = "0.25.2"
eventlet = "^0.33.3"
futures = "2.2.0"
geomet = "0.1.2"
gevent = "20.12.1"
geomet = ">=0.1,<0.3"
gevent = "^23.9.1"
gremlinpython = "3.4.7"
python = "^3.7"
pyyaml = "6.0"
python = "^3.9"
pyyaml = "6.0.1"
pygments = "2.15.1"
recommonmark = "0.7.1"
redirects_cli ="~0.1.2"
sphinx-autobuild = "2021.3.14"
sphinx-sitemap = "2.5.0"
sphinx-scylladb-theme = "~1.5.1"
sphinx-multiversion-scylla = "~0.2.11"
Sphinx = "4.3.2"
scales = "1.0.9"
six = "1.15.0"
sphinx-sitemap = "2.5.1"
sphinx-scylladb-theme = "~1.6.1"
sphinx-multiversion-scylla = "~0.3.1"
Sphinx = "7.2.6"
scales = "^1.0.9"
six = ">=1.9"

[build-system]
requires = ["poetry>=0.12"]
Expand Down

0 comments on commit 9cb1004

Please sign in to comment.