File tree Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Expand file tree Collapse file tree 3 files changed +12
-15
lines changed Original file line number Diff line number Diff line change 44 os : ubuntu-20.04
55 tools :
66 python : " 3.10"
7+ commands :
8+ - pip install hatch
9+ - hatch run docs:rtd
710
811sphinx :
912 configuration : docs/conf.py
1013 fail_on_warning : true
1114
12- python :
13- install :
14- - method : pip
15- path : .
16- extra_requirements :
17- - docs
18-
1915formats : all
Original file line number Diff line number Diff line change @@ -14,14 +14,6 @@ git remote add upstream https://github.com/zarr-developers/zarr-python
1414git fetch upstream
1515git checkout --track upstream/v3
1616```
17- ## Set the environment variables for V3
18-
19- There are a couple environment variables required for enabling V3:
20-
21- ```
22- export ZARR_V3_EXPERIMENTAL_API=1
23- export ZARR_V3_SHARDING=1
24- ```
2517
2618## Set up your environment
2719
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ jupyter = [
4444]
4545docs = [
4646 ' sphinx' ,
47+ ' sphinx-autobuild>=2021.3.14' ,
4748 ' sphinx-automodapi' ,
4849 ' sphinx_design' ,
4950 ' sphinx-issues' ,
@@ -95,6 +96,14 @@ run-coverage = "pytest --cov-config=pyproject.toml --cov=pkg --cov=tests"
9596run = " run-coverage --no-cov"
9697run-verbose = " run-coverage --verbose"
9798
99+ [tool .hatch .envs .docs ]
100+ features = [' docs' ]
101+
102+ [tool .hatch .envs .docs .scripts ]
103+ build = " sphinx-build docs/ docs/_build/"
104+ rtd = " sphinx-build docs/ _readthedocs/html/"
105+ serve = " sphinx-autobuild docs docs/_build --ignore 'docs/_autoapi/**/*' --host 0.0.0.0"
106+
98107[tool .ruff ]
99108line-length = 100
100109exclude = [
You can’t perform that action at this time.
0 commit comments