summaryrefslogtreecommitdiffstats
path: root/.github/workflows/docs.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/docs.yml')
-rw-r--r--.github/workflows/docs.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
new file mode 100644
index 0000000..d1fcb5c
--- /dev/null
+++ b/.github/workflows/docs.yml
@@ -0,0 +1,24 @@
+name: docs
+
+on:
+ push:
+ branches:
+ - master
+ - ci
+ - 'release/**'
+ paths:
+ - 'DOCS/**'
+ pull_request:
+ branches: [master]
+ paths:
+ - 'DOCS/**'
+
+jobs:
+ check-docs:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ - name: Docs
+ run: |
+ sudo apt-get install python3-docutils
+ rst2man --strip-elements-with-class=contents --halt=2 ./DOCS/man/mpv.rst mpv.1