File tree 2 files changed +20
-22
lines changed
2 files changed +20
-22
lines changed Original file line number Diff line number Diff line change 46
46
47
47
- name : " Run tests for ${{ matrix.python-version }}"
48
48
run : hatch run test:no-cov
49
+
50
+ docs :
51
+ name : Documentation
52
+ runs-on : " ubuntu-latest"
53
+ strategy :
54
+ fail-fast : false
55
+ steps :
56
+ - uses : actions/checkout@v4
57
+ - uses : actions/setup-python@v4
58
+ with :
59
+ python-version : 3.11
60
+ - name : " Install doc dependencies"
61
+ run : |
62
+ set -xe
63
+ python -m pip install --upgrade pip
64
+ pip install hatch
65
+ - name : " Build docs"
66
+ run : hatch run docs:build-ci
Original file line number Diff line number Diff line change @@ -62,9 +62,6 @@ azure = [
62
62
" azure-storage-blob >= 12.1.0" ,
63
63
" requests >= 2.21.0" ,
64
64
]
65
- black = [
66
- " black >= 23.11.0" ,
67
- ]
68
65
dev = [
69
66
" attrs>=17.4.0" ,
70
67
" azure-datalake-store >= 0.0.30" ,
@@ -99,24 +96,6 @@ dev = [
99
96
" twine>=1.11.0" ,
100
97
" wheel>=0.31.0" ,
101
98
]
102
- docs = [
103
- " azure-datalake-store >= 0.0.30" ,
104
- " azure-identity>=1.3.1" ,
105
- " azure-storage-blob >= 12.1.0" ,
106
- " black >= 23.11.0" ,
107
- " boto3" ,
108
- " entrypoints" ,
109
- " furo>=2023.9.10" ,
110
- " gcsfs>=0.2.0" ,
111
- " moto>=4.2.8" ,
112
- " myst-parser>=2.0.0" ,
113
- " nbformat" ,
114
- " pyarrow >= 2.0" ,
115
- " PyGithub >= 1.55" ,
116
- " requests >= 2.21.0" ,
117
- " sphinx-copybutton>=0.5.2" ,
118
- " Sphinx>=7.2.6" ,
119
- ]
120
99
gcs = [
121
100
" gcsfs>=0.2.0" ,
122
101
]
@@ -247,7 +226,8 @@ extra-dependencies = [
247
226
" Sphinx>=7.2.6" ,
248
227
]
249
228
[tool .hatch .envs .docs .scripts ]
250
- build = " sphinx-build docs _build"
229
+ build = " sphinx-build -d docs docs_out --color -W -bhtml"
230
+ build-ci = " sphinx-build -d docs docs_out --color -W -bhtml"
251
231
252
232
[tool .pytest .ini_options ]
253
233
minversion = " 6.0"
You can’t perform that action at this time.
0 commit comments