mirror of
https://github.com/arvidn/libtorrent.git
synced 2026-05-08 16:59:53 -04:00
7f6f7d0bda
* Bump `actions/checkout` -> `v6` * Bump `actions/cache` -> `v5` * Bump `pypa/cibuildwheel` -> `v3.3.0` * Bump `actions/upload-artifact` -> `v6` * Bump `actions/download-artifact` -> `v7` * Bump `codeql-action/init` -> `v4` * Bump `codeql-action/analyze` -> `v4
45 lines
1.0 KiB
YAML
45 lines
1.0 KiB
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches: [ RC_1_2 RC_2_0 master ]
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
|
|
docs:
|
|
name: Docs
|
|
runs-on: ubuntu-24.04
|
|
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 1
|
|
filter: tree:0
|
|
|
|
- name: update package lists
|
|
continue-on-error: true
|
|
run: |
|
|
sudo apt update
|
|
|
|
- name: install dependencies
|
|
run: |
|
|
sudo apt install python3-docutils python3-pygments python3-pil gsfonts inkscape icoutils graphviz hunspell imagemagick
|
|
python3 -m pip install aafigure
|
|
~/.local/bin/aafigure --version
|
|
|
|
- name: spell-check
|
|
run: |
|
|
cd docs
|
|
make AAFIGURE=~/.local/bin/aafigure RST2HTML=rst2html spell-check html
|
|
|
|
- name: build docs
|
|
run: |
|
|
cd docs
|
|
make AAFIGURE=~/.local/bin/aafigure RST2HTML=rst2html
|