Skip to content

Commit 999c196

Browse files
committed
Update docs ci
1 parent af6ab4d commit 999c196

File tree

2 files changed

+20
-22
lines changed

2 files changed

+20
-22
lines changed

.github/workflows/ci.yml

+18
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,21 @@ jobs:
4646
4747
- name: "Run tests for ${{ matrix.python-version }}"
4848
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

pyproject.toml

+2-22
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ azure = [
6262
"azure-storage-blob >= 12.1.0",
6363
"requests >= 2.21.0",
6464
]
65-
black = [
66-
"black >= 23.11.0",
67-
]
6865
dev = [
6966
"attrs>=17.4.0",
7067
"azure-datalake-store >= 0.0.30",
@@ -99,24 +96,6 @@ dev = [
9996
"twine>=1.11.0",
10097
"wheel>=0.31.0",
10198
]
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-
]
12099
gcs = [
121100
"gcsfs>=0.2.0",
122101
]
@@ -247,7 +226,8 @@ extra-dependencies = [
247226
"Sphinx>=7.2.6",
248227
]
249228
[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"
251231

252232
[tool.pytest.ini_options]
253233
minversion = "6.0"

0 commit comments

Comments
 (0)