2023-09-24 04:52:04 +00:00
|
|
|
name: docs
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- ci
|
|
|
|
- 'release/**'
|
|
|
|
paths:
|
|
|
|
- 'DOCS/**'
|
|
|
|
pull_request:
|
|
|
|
branches: [master]
|
|
|
|
paths:
|
|
|
|
- 'DOCS/**'
|
|
|
|
|
|
|
|
jobs:
|
2023-09-24 18:48:19 +00:00
|
|
|
check-docs:
|
2023-09-24 04:52:04 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-09-24 18:48:19 +00:00
|
|
|
- name: Docs
|
2023-09-24 04:52:04 +00:00
|
|
|
run: |
|
|
|
|
sudo apt-get install python3-docutils
|
|
|
|
rst2man --strip-elements-with-class=contents --halt=2 ./DOCS/man/mpv.rst mpv.1
|