Skip to content

Commit 29ca32b

Browse files
committed
Add pixi
1 parent fd26d1b commit 29ca32b

6 files changed

Lines changed: 2829 additions & 14 deletions

File tree

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# GitHub syntax highlighting
2+
pixi.lock linguist-language=YAML
3+

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
_build/
22
.vscode/
33
*.docx
4-
*.pyc
4+
*.pyc# pixi environments
5+
.pixi
6+

conf.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ def tagged_commit():
119119
".github",
120120
"README.md",
121121
"galleries/*",
122+
".pixi",
122123
]
123124

124125

@@ -276,7 +277,6 @@ def tagged_commit():
276277

277278
html_theme_options = {
278279
# "logo_only": True,
279-
280280
"repository_url": "https://github.com/anybody/tutorials",
281281
"use_repository_button": False,
282282
# "extra_navbar": 'Tutorials by <a href="https://anybodytech.com">AnyBody Technology</a>',
@@ -288,9 +288,7 @@ def tagged_commit():
288288
"show_navbar_depth": 2,
289289
"search_bar_text": "",
290290
"pygment_light_style": "AnyScript",
291-
"pygment_dark_style": "stata-dark"
292-
293-
291+
"pygment_dark_style": "stata-dark",
294292
}
295293

296294

@@ -442,9 +440,9 @@ def tagged_commit():
442440
"https://doi.org/10.1115/1.4052115", # asme.org prevents the linkcheck
443441
"https://dx.doi.org/10.1115/1.4001678", # asme.org prevents the linkcheck
444442
"https://dx.doi.org/10.1115/1.4029258", # asme.org prevents the linkcheck
445-
"https://doi.org/10.1080/10255840802459412", # tandfonline sometimes blocks linkcheck
446-
"https://doi.org/10.1080/23335432.2014.993706", # tandfonline sometimes blocks linkcheck
447-
"https://anyscript.org/tutorials/dev/", # The dev sides can sometimes be missing.
443+
"https://doi.org/10.1080/10255840802459412", # tandfonline sometimes blocks linkcheck
444+
"https://doi.org/10.1080/23335432.2014.993706", # tandfonline sometimes blocks linkcheck
445+
"https://anyscript.org/tutorials/dev/", # The dev sides can sometimes be missing.
448446
]
449447

450448
linkcheck_allowed_redirects = {
@@ -457,4 +455,4 @@ def tagged_commit():
457455

458456

459457
def setup(app):
460-
...
458+
...

environment.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ channels:
44
- conda-forge
55
dependencies:
66
- python
7-
- pip
8-
- sphinx<6
9-
- myst-parser>=0.18
10-
- pydata-sphinx-theme>=0.13
7+
- sphinx<7
8+
- myst-parser
9+
- pydata-sphinx-theme
1110
- make
1211
- sphinx-togglebutton
1312
- pygments_anyscript
@@ -17,7 +16,7 @@ dependencies:
1716
- tomli
1817
- sphinx-copybutton
1918
- sphinxext-opengraph
20-
- sphinx-book-theme>=1.0
19+
- sphinx-book-theme
2120
- sphinx-design
2221
- sphinxcontrib-youtube
2322

0 commit comments

Comments
 (0)