File tree Expand file tree Collapse file tree 4 files changed +18
-17
lines changed Expand file tree Collapse file tree 4 files changed +18
-17
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 && pip install .
18
+ run : pip install --no-deps -r requirements /requirements-docs .txt && pip install .
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 @@ -50,6 +50,12 @@ path = "markdown_callouts/__init__.py"
50
50
[tool .hatch .build .targets .sdist ]
51
51
include = [" /markdown_callouts" , " /tests" ]
52
52
53
+ [tool .hatch .env ]
54
+ requires = [
55
+ " hatch-mkdocs" ,
56
+ " hatch-pip-compile" ,
57
+ ]
58
+
53
59
[tool .hatch .envs .default .scripts ]
54
60
all = [
55
61
" hatch run style:fix" ,
@@ -92,14 +98,10 @@ format = [
92
98
" ruff format -q markdown_callouts tests" ,
93
99
]
94
100
101
+ [tool .hatch .env .collectors .mkdocs .docs ]
95
102
[tool .hatch .envs .docs ]
96
- detached = true
97
- dependencies = [
98
- " mkdocs >=1.5" ,
99
- " mkdocs-material >=7.1.4" ,
100
- " pymdown-extensions >=8.2" ,
101
- " markdown-callouts >=0.1" ,
102
- ]
103
+ type = " pip-compile"
104
+ pip-compile-hashes = false
103
105
104
106
[tool .ruff ]
105
107
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
+ # - markdown-callouts
5
+ # - mkdocs
6
+ # - mkdocs-material
7
+ # - pymdown-extensions
6
8
#
9
+
7
10
babel==2.13.1
8
11
# via mkdocs-material
9
12
certifi==2023.7.22
You can’t perform that action at this time.
0 commit comments