File tree Expand file tree Collapse file tree 6 files changed +644
-119
lines changed
Expand file tree Collapse file tree 6 files changed +644
-119
lines changed Original file line number Diff line number Diff line change 1- HATCH_ENV_ACTIVE=docs
2- layout hatch
1+ export VIRTUAL_ENV=" .venv"
2+ layout python
3+ uv sync
Original file line number Diff line number Diff line change 1717 - linux/amd64
1818 - linux/arm64
1919 steps :
20- - name : Set up Github Workspace
20+ - name : checkout
2121 uses : actions/checkout@v4
22- - name : Setup Hatch
23- uses : juftin/actions/hatch-setup@v1
24- with :
25- python_version : " 3.12"
2622 - name : Get Version
2723 id : version
2824 run : echo ::set-output name=version::$(make version | sed 's/dotfiles v//')
Original file line number Diff line number Diff line change @@ -13,14 +13,16 @@ jobs:
1313 name : github-pages
1414 url : ${{ steps.deployment.outputs.page_url }}
1515 steps :
16- - name : Set up Github Workspace
16+ - name : checkout
1717 uses : actions/checkout@v4
18- - name : Setup Hatch
19- uses : juftin/actions/hatch- setup@v1
18+ - name : setup-uv
19+ uses : astral-sh/ setup-uv@v6
2020 with :
2121 python_version : " 3.12"
22- - name : Build Docs
23- uses : juftin/actions/hatch-docs@v1
22+ - name : install
23+ run : uv sync
24+ - name : build-docs
25+ run : uv run mkdocs build
2426 - name : Publish Docs
2527 uses : juftin/actions/github-pages@v1
2628 id : deployment
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- [build-system ]
2- build-backend = " hatchling.build"
3- requires = [" hatchling" ]
4-
51[project ]
62name = " dotfiles"
73version = " 0.0.0"
4+ requires-python = " >=3.9,<4"
85
9- [tool .hatch .env ]
10- requires = [" hatch-pip-compile" , " hatch-mkdocs" ]
11-
12- [tool .hatch .env .collectors .mkdocs .docs ]
13- path = " mkdocs.yaml"
6+ [dependency-groups ]
7+ docs = [
8+ " markdown-exec" ,
9+ " mkdocs" ,
10+ " mkdocs-callouts" ,
11+ " mkdocs-gen-files" ,
12+ " mkdocs-material" ,
13+ " mkdocs-section-index" ,
14+ " pymdown-extensions"
15+ ]
1416
15- [tool .hatch .envs .docs ]
16- detached = true
17- type = " pip-compile"
18- lock-filename = " docs/requirements.txt"
17+ [tool .uv ]
18+ default-groups = [" docs" ]
You can’t perform that action at this time.
0 commit comments