Skip to content

Commit 59a28cb

Browse files
committed
fix docs wf
1 parent 4958de1 commit 59a28cb

File tree

3 files changed

+8
-20
lines changed

3 files changed

+8
-20
lines changed

.github/workflows/dev-docs.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,8 @@ jobs:
2121
- name: Install Ubuntu dependencies
2222
run: sudo apt-get install graphviz pandoc
2323

24-
- name: Install dependencies
25-
run: uv sync --group docs
26-
2724
- name: Build docs
28-
run: uv run make doc
25+
run: uv run --group docs make doc
2926

3027
- name: Deploy docs
3128
env:
@@ -40,4 +37,4 @@ jobs:
4037
git checkout gh-pages
4138
git pull
4239
git checkout main
43-
uv run mike deploy dev --push --remote https://github.com/${{ github.repository }}.git
40+
uv run --group docs mike deploy dev --push --remote https://github.com/${{ github.repository }}.git

.github/workflows/release-docs.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,18 @@ jobs:
2323

2424
- name: Install dependencies
2525
run: |
26-
uv sync --group docs --group compat
27-
uv run python -m spacy download en_core_web_sm
26+
uv run --group docs python -m spacy download en_core_web_sm
2827
2928
- name: Use Rich in notebooks
3029
run: |
31-
uv run ipython profile create
30+
uv run --group docs ipython profile create
3231
echo "%load_ext rich" > ~/.ipython/profile_default/startup/00_rich.ipy
3332
3433
- name: Execute notebooks
35-
run: uv run make execute-notebooks
34+
run: uv run --group docs make execute-notebooks
3635

3736
- name: Build docs
38-
run: uv run make doc
37+
run: uv run --group docs make doc
3938

4039
- name: Deploy docs
4140
env:
@@ -50,5 +49,5 @@ jobs:
5049
git checkout gh-pages
5150
git pull
5251
git checkout main
53-
RIVER_VERSION=$(uv run python -c "import river; print(river.__version__)")
54-
uv run mike deploy ${RIVER_VERSION} latest --update-aliases --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git
52+
RIVER_VERSION=$(uv run --group docs python -c "import river; print(river.__version__)")
53+
uv run --group docs mike deploy ${RIVER_VERSION} latest --update-aliases --push --remote https://${GH_TOKEN}@github.com/online-ml/river.git

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
</p>
44

55
<p align="center">
6-
<!-- Tests -->
7-
<a href="https://github.com/online-ml/river/actions/workflows/unit-tests.yml">
8-
<img src="https://github.com/online-ml/river/actions/workflows/unit-tests.yml/badge.svg" alt="unit-tests">
9-
</a>
106
<!-- Code quality -->
117
<a href="https://github.com/online-ml/river/actions/workflows/code-quality.yml">
128
<img src="https://github.com/online-ml/river/actions/workflows/code-quality.yml/badge.svg" alt="code-quality">
@@ -15,10 +11,6 @@
1511
<a href="https://riverml.xyz">
1612
<img src="https://img.shields.io/website?label=docs&style=flat-square&url=https%3A%2F%2Friverml.xyz%2F" alt="documentation">
1713
</a>
18-
<!-- Discord -->
19-
<a href="https://discord.gg/qNmrKEZMAn">
20-
<img src="https://dcbadge.vercel.app/api/server/qNmrKEZMAn?style=flat-square" alt="discord">
21-
</a>
2214
<!-- PyPI -->
2315
<a href="https://pypi.org/project/river">
2416
<img src="https://img.shields.io/pypi/v/river.svg?label=release&color=blue&style=flat-square" alt="pypi">

0 commit comments

Comments
 (0)