File tree 4 files changed +17
-16
lines changed 4 files changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ jobs:
13
13
- name : Install Python
14
14
uses : actions/setup-python@v4
15
15
with :
16
- python-version : ' 3.x '
16
+ python-version : ' 3.11 '
17
17
- name : Install dependencies
18
- run : pip install --no-deps -r docs /requirements.txt
18
+ run : pip install --no-deps -r requirements /requirements-docs .txt
19
19
- name : Build site
20
- run : mkdocs build
20
+ run : mkdocs build --strict
21
21
- name : Upload to GitHub Pages
22
22
uses : actions/upload-pages-artifact@v2
23
23
with :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -49,6 +49,12 @@ path = "mkdocs_same_dir/__init__.py"
49
49
[tool .hatch .build .targets .sdist ]
50
50
include = [" /mkdocs_same_dir" ]
51
51
52
+ [tool .hatch .env ]
53
+ requires = [
54
+ " hatch-mkdocs" ,
55
+ " hatch-pip-compile" ,
56
+ ]
57
+
52
58
[tool .hatch .envs .default .scripts ]
53
59
all = [
54
60
" hatch run style:fix" ,
@@ -84,13 +90,10 @@ format = [
84
90
" ruff format -q mkdocs_same_dir" ,
85
91
]
86
92
93
+ [tool .hatch .env .collectors .mkdocs .docs ]
87
94
[tool .hatch .envs .docs ]
88
- detached = true
89
- dependencies = [
90
- " mkdocs >=1.5" ,
91
- " mkdocs-material >=7.1.4" ,
92
- " pymdown-extensions >=8.2" ,
93
- ]
95
+ type = " pip-compile"
96
+ pip-compile-hashes = false
94
97
95
98
[tool .ruff ]
96
99
line-length = 100
Original file line number Diff line number Diff line change 1
1
#
2
- # This file is autogenerated by pip-compile with Python 3.11
3
- # by the following command:
2
+ # This file is autogenerated by hatch-pip-compile with Python 3.11
4
3
#
5
- # pip-compile --output-file=docs/requirements.txt -
4
+ # - mkdocs
5
+ # - mkdocs-material
6
+ # - pymdown-extensions
6
7
#
8
+
7
9
babel==2.13.1
8
10
# via mkdocs-material
9
11
certifi==2023.7.22
You can’t perform that action at this time.
0 commit comments