From 6cd0fd2b4c5116889e40245f84a9786fb19f4c40 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 12 Mar 2023 14:25:26 -0700 Subject: [PATCH 1/3] Fix for Sphinx bug, closes #533, refs #531 --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 8d49b81..859c6b9 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -41,7 +41,7 @@ autodoc_member_order = "bysource" autodoc_typehints = "description" extlinks = { - "issue": ("https://github.com/simonw/sqlite-utils/issues/%s", "#"), + "issue": ("https://github.com/simonw/sqlite-utils/issues/%s", "#%s"), } From 92f77c32620d282f8e15de860bead40563b48dcb Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 12 Mar 2023 14:28:43 -0700 Subject: [PATCH 2/3] Ran against updated Black --- sqlite_utils/db.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sqlite_utils/db.py b/sqlite_utils/db.py index e819d17..c06e6a0 100644 --- a/sqlite_utils/db.py +++ b/sqlite_utils/db.py @@ -2876,7 +2876,6 @@ class Table(Queryable): self.add_missing_columns(chunk) result = self.db.execute(query, params) elif e.args[0] == "too many SQL variables": - first_half = chunk[: len(chunk) // 2] second_half = chunk[len(chunk) // 2 :] From c0251cc9271260de73b4227859a51fab9b4cb745 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 26 Mar 2023 16:42:01 -0700 Subject: [PATCH 3/3] Link /latest/ to /stable/ - refs #388 --- docs/_templates/base.html | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/docs/_templates/base.html b/docs/_templates/base.html index a9e670e..43c2003 100644 --- a/docs/_templates/base.html +++ b/docs/_templates/base.html @@ -3,4 +3,35 @@ {% block site_meta %} {{ super() }} -{% endblock %} \ No newline at end of file +{% endblock %} + +{% block scripts %} +{{ super() }} + +{% endblock %}