From 5f4c064c0c42b3dfe43adb8bece0f134c07eb0cf Mon Sep 17 00:00:00 2001 From: Dan Allan Date: Mon, 12 May 2025 12:07:57 -0700 Subject: [PATCH 1/2] Get build working --- conf.py | 10 +++++++++- pixi.toml | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/conf.py b/conf.py index 67379d9..9d4138b 100644 --- a/conf.py +++ b/conf.py @@ -23,7 +23,15 @@ # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. -exclude_patterns = ['_build', 'notes', '.tox', '.tmp', '.pytest_cache', 'README.md'] +exclude_patterns = [ + 'build', + 'notes', + '.pixi', + '.tox', + '.tmp', + '.pytest_cache', + 'README.md' +] # MyST-NB configuration nb_merge_streams = True diff --git a/pixi.toml b/pixi.toml index e1e3bc2..c23c754 100644 --- a/pixi.toml +++ b/pixi.toml @@ -14,7 +14,7 @@ version = "0.1.0" [tasks] build = { cmd = [ "sphinx-build", - "docs", # source directory + ".", # source directory "build/html", # target directory "-n", # warn about missing references "-W", # any warnings fail the build From 261810cde21fab7afb6beb42763106d96b6e36a1 Mon Sep 17 00:00:00 2001 From: Dan Allan Date: Mon, 12 May 2025 12:10:50 -0700 Subject: [PATCH 2/2] Update usage --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1f85e2e..0e9d13a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -14,7 +14,7 @@ jobs: - run: name: Install CI dependencies - command: python -m pip install -r requirements.txt + command: pixi install - restore_cache: keys: @@ -28,13 +28,13 @@ jobs: - save_cache: key: jupyter_ch paths: - - _build/.jupyter_cache + - build/.jupyter_cache - store_artifacts: - path: _build/html + path: build/html - persist_to_workspace: - root: _build + root: build paths: - html