File tree Expand file tree Collapse file tree 3 files changed +431
-7
lines changed
Expand file tree Collapse file tree 3 files changed +431
-7
lines changed Original file line number Diff line number Diff line change 2828 python-version : ' 3.13'
2929 enable-cache : true
3030 cache-suffix : docs
31-
32- - run : uvx hatch run docs:cli
31+ - run : uv sync --frozen --group=ci --group=docs
3332
3433 - run : hatch run docs:cli
3534 - run : hatch run docs:build
Original file line number Diff line number Diff line change @@ -81,6 +81,10 @@ docs = [
8181 " mkdocs-minify-plugin~=0.7" ,
8282 " mkdocstrings[python]~=0.25" ,
8383]
84+ ci = [
85+ " build" ,
86+ " hatch" ,
87+ ]
8488
8589[tool .hatch .build .targets .sdist ]
8690only-include = [
@@ -129,11 +133,11 @@ cov-total = """
129133 python -c "import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])"
130134"""
131135
132- # [tool.hatch.envs.docs.scripts]
133- # cli = "typer src/re3data/_cli.py utils docs --name=re3data --title='Command Line Interface' --output docs/src/cli.md"
134- # build = "mkdocs build --config-file=docs/mkdocs.yml"
135- # serve = "mkdocs serve --verbose --config-file=docs/mkdocs.yml"
136- # deploy = "mike deploy --push --update-aliases $(hatch version) latest --config-file=docs/mkdocs.yml"
136+ [tool .hatch .envs .docs .scripts ]
137+ cli = " typer src/re3data/_cli.py utils docs --name=re3data --title='Command Line Interface' --output docs/src/cli.md"
138+ build = " mkdocs build --config-file=docs/mkdocs.yml"
139+ serve = " mkdocs serve --verbose --config-file=docs/mkdocs.yml"
140+ deploy = " mike deploy --push --update-aliases $(hatch version) latest --config-file=docs/mkdocs.yml"
137141
138142[tool .ruff ] # Ref: https://docs.astral.sh/ruff/configuration/
139143line-length = 120
You can’t perform that action at this time.
0 commit comments