From 9a372bff32c43823cc0395b874d8b42172799606 Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Wed, 31 Jan 2024 07:38:58 -0800 Subject: [PATCH 1/3] Unpin docs dependencies to fix build issues. --- requirements/docs.txt | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/requirements/docs.txt b/requirements/docs.txt index 3b2850d..7dc25ef 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,13 +1,10 @@ -sphinx==2.4.4 -sphinx-intl==2.0.1 -sphinx-rtd-theme==0.5.2 -sphinx-autobuild==0.7.1 -watchdog==0.10.3 -m2r==0.2.1 -mistune<2.0.0 -sphinx-notfound-page==0.6 -# Do this to prevent undefined imports in newer versions of Jinja2 -Jinja2<3.1 +sphinx +sphinx-intl +sphinx-rtd-theme +sphinx-autobuild +watchdog +m2r +sphinx-notfound-page # for extracting model docs django==1.11.29 # pyup: >=1.11,<2 From 807231c38785fbad49be4a6a124df7e6e00eaaed Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Wed, 31 Jan 2024 07:58:06 -0800 Subject: [PATCH 2/3] Update removed API call. --- docs/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index dbf8cda..bdfcc99 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,11 +17,10 @@ import sys import django +import sphinx_rtd_theme from django.utils.encoding import force_text from django.utils.html import strip_tags -import sphinx_rtd_theme - # If extensions (or modules to document with autodoc) are in another # directory, add these directories to sys.path here. If the directory is # relative to the documentation root, use os.path.abspath to make it @@ -171,6 +170,7 @@ def process_docstring(app, what, name, obj, options, lines): html_theme = "sphinx_rtd_theme" html_theme_path = [".", sphinx_rtd_theme.get_html_theme_path()] + # Approach 2 for custom stylesheet: # adapted from: http://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html # and https://github.com/altair-viz/altair/pull/418/files @@ -179,7 +179,7 @@ def setup(app): # Register the docstring processor with sphinx app.connect("autodoc-process-docstring", process_docstring) # Add our custom CSS overrides - app.add_stylesheet("theme_overrides.css") + app.add_css_file("theme_overrides.css") # Theme options are theme-specific and customize the look and feel of a From 4d36825076e1fef032dc73063935f398b315bf7e Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Thu, 1 Feb 2024 09:38:02 -0800 Subject: [PATCH 3/3] Remove buildkite --- .buildkite/build.sh | 8 -------- .buildkite/pipeline.yml | 10 ---------- 2 files changed, 18 deletions(-) delete mode 100755 .buildkite/build.sh delete mode 100644 .buildkite/pipeline.yml diff --git a/.buildkite/build.sh b/.buildkite/build.sh deleted file mode 100755 index b6dc792..0000000 --- a/.buildkite/build.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -mkdir -p dist -make dist -buildkite-agent artifact upload 'dist/*.whl' -buildkite-agent artifact upload 'dist/*.tar.gz' diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml deleted file mode 100644 index a30126a..0000000 --- a/.buildkite/pipeline.yml +++ /dev/null @@ -1,10 +0,0 @@ -steps: - - label: Install build packages - command: - - pip install setuptools wheel - - - wait - - - label: Build python package - command: - - .buildkite/build.sh