Translations update from Hosted Weblate #22876
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright © Michal Čihař <michal@weblate.org> | |
# | |
# SPDX-License-Identifier: GPL-3.0-or-later | |
name: Docs | |
on: | |
push: | |
branches-ignore: | |
- deepsource-fix-** | |
- renovate/** | |
- weblate | |
pull_request: | |
permissions: | |
contents: read | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
name: Sphinx | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install apt dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y graphviz | |
- name: Install Python dependencies | |
run: | | |
pip install uv | |
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/upload-artifact@v4.3.3 | |
with: | |
name: Documentation | |
path: docs/_build/html | |
linkcheck: | |
runs-on: ubuntu-22.04 | |
name: Linkcheck | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
cache-dependency-path: docs/requirements.txt | |
- name: Install apt dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y graphviz | |
- name: Install Python dependencies | |
run: | | |
pip install uv | |
uv pip install --system -r docs/requirements.txt | |
- name: Sphinx linkcheck | |
run: | | |
./ci/run-docs linkcheck | |
- name: Sphinx linkcheck collect | |
if: always() | |
run: | | |
echo "::add-matcher::.github/matchers/sphinx-linkcheck.json" | |
echo "::add-matcher::.github/matchers/sphinx-linkcheck-warn.json" | |
sed 's@^@docs/@' docs/_build/linkcheck/output.txt | |
echo "::remove-matcher owner=sphinx::" | |
echo "::remove-matcher owner=sphinx-warn::" | |
- uses: actions/upload-artifact@v4.3.3 | |
if: always() | |
with: | |
name: Linkcheck report | |
path: docs/_build/linkcheck/output.txt |