-
-
Notifications
You must be signed in to change notification settings - Fork 1k
46 lines (41 loc) · 1021 Bytes
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright © Michal Čihař <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: Documentation
on:
push:
branches-ignore:
- deepsource-fix-**
- renovate/**
- weblate
pull_request:
schedule:
- cron: 30 5 * * *
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-24.04
name: Sphinx
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install apt dependencies
run: |
sudo apt update
sudo apt install -y graphviz
- name: Install Python dependencies
run: uv pip install --system -r docs/requirements.txt
- name: Sphinx build
run: |
echo "::add-matcher::.github/matchers/sphinx.json"
./ci/run-docs
echo "::remove-matcher owner=sphinx::"
- uses: actions/[email protected]
with:
name: Documentation
path: docs/_build/html