-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* test uv * test different install * add system * test python3.11 * update install * undo toml * test hatch env * test without frozen * last test * add system * update command * adjust comment --------- Co-authored-by: Philipp A. <[email protected]>
- Loading branch information
1 parent
8d949ca
commit 247e871
Showing
3 changed files
with
25 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,23 @@ | ||
version: 2 | ||
submodules: | ||
include: all | ||
|
||
build: | ||
os: ubuntu-24.04 | ||
tools: | ||
python: '3.12' | ||
python: "3.12" | ||
commands: | ||
# Install and set up uv | ||
- asdf plugin add uv | ||
- asdf install uv latest | ||
- asdf global uv latest | ||
|
||
# Use uv to synchronize dependencies | ||
- uv pip install --system .[doc] | ||
|
||
# Build documentation using sphinx | ||
- python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs $READTHEDOCS_OUTPUT/html | ||
|
||
sphinx: | ||
configuration: docs/conf.py | ||
fail_on_warning: true | ||
python: | ||
install: | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[envs.default] | ||
installer = "uv" | ||
features = ["dev"] | ||
|
||
[envs.hatch-test] | ||
features = ["test", "rapids12"] | ||
|
||
[envs.docs] | ||
features = ["doc"] | ||
scripts.build = "sphinx-build -M html docs docs/_build {args}" | ||
scripts.clean = "git clean -fXd docs" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters