Skip to content

Commit ad076c3

Browse files
committed
feat: Remove docs/requirements.txt reference from configuration
1 parent 1ee6cf1 commit ad076c3

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/publish-documentation.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ jobs:
2323
uses: actions/setup-python@v6
2424
with:
2525
python-version: "3.13"
26+
- name: Install uv
27+
uses: astral-sh/setup-uv@v7
2628
- name: Configure Git Credentials
2729
run: |
2830
git config user.name github-actions[bot]
@@ -32,6 +34,5 @@ jobs:
3234
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3335
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}
3436
run: |
35-
pip install -r docs/requirements.txt
36-
mkdocs gh-deploy --force
37-
mkdocs --version
37+
uv run --only-group=docs mkdocs gh-deploy --force
38+
uv run --only-group=docs mkdocs --version

.readthedocs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ build:
33
os: "ubuntu-20.04"
44
tools:
55
python: "3.12"
6+
jobs:
7+
install:
8+
- pip install --upgrade pip
9+
- pip install --group 'docs'
610

711
mkdocs:
812
configuration: mkdocs.yml
913
fail_on_warning: false
10-
11-
python:
12-
install:
13-
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)