Skip to content

Commit 5c75fc0

Browse files
authored
Merge pull request #18 from danielballan/build-works
Get build working
2 parents 1d837b8 + 261810c commit 5c75fc0

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.circleci/config.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
- run:
1616
name: Install CI dependencies
17-
command: python -m pip install -r requirements.txt
17+
command: pixi install
1818

1919
- restore_cache:
2020
keys:
@@ -28,13 +28,13 @@ jobs:
2828
- save_cache:
2929
key: jupyter_ch
3030
paths:
31-
- _build/.jupyter_cache
31+
- build/.jupyter_cache
3232

3333
- store_artifacts:
34-
path: _build/html
34+
path: build/html
3535

3636
- persist_to_workspace:
37-
root: _build
37+
root: build
3838
paths:
3939
- html
4040

conf.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,15 @@
2323
# List of patterns, relative to source directory, that match files and
2424
# directories to ignore when looking for source files.
2525
# This pattern also affects html_static_path and html_extra_path.
26-
exclude_patterns = ['_build', 'notes', '.tox', '.tmp', '.pytest_cache', 'README.md']
26+
exclude_patterns = [
27+
'build',
28+
'notes',
29+
'.pixi',
30+
'.tox',
31+
'.tmp',
32+
'.pytest_cache',
33+
'README.md'
34+
]
2735

2836
# MyST-NB configuration
2937
nb_merge_streams = True

pixi.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ version = "0.1.0"
1414
[tasks]
1515
build = { cmd = [
1616
"sphinx-build",
17-
"docs", # source directory
17+
".", # source directory
1818
"build/html", # target directory
1919
"-n", # warn about missing references
2020
"-W", # any warnings fail the build

0 commit comments

Comments
 (0)