Add man pages into CI
This commit is contained in:
12
.github/workflows/publish.yml
vendored
12
.github/workflows/publish.yml
vendored
@@ -10,9 +10,17 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: ammaraskar/sphinx-action@master
|
- name: Prepare
|
||||||
|
run: |
|
||||||
|
sudo apt-get update -y
|
||||||
|
sudo apt-get install -y git python3-pip mandoc
|
||||||
|
pip install -r docs/requirements.txt
|
||||||
|
- name: Gen_man_pages
|
||||||
|
run: make man
|
||||||
|
- name: Gen_sphinx
|
||||||
|
uses: ammaraskar/sphinx-action@master
|
||||||
with:
|
with:
|
||||||
pre-build-command: "apt-get update -y && apt-get install -y git python3-pip && pip install -r docs/requirements.txt"
|
pre-build-command: "apt-get update -y && apt-get install -y git"
|
||||||
docs-folder: "docs/"
|
docs-folder: "docs/"
|
||||||
- name: Deploy
|
- name: Deploy
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
|||||||
12
.github/workflows/pull_request.yml
vendored
12
.github/workflows/pull_request.yml
vendored
@@ -7,7 +7,15 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- uses: ammaraskar/sphinx-action@master
|
- name: Prepare
|
||||||
|
run: |
|
||||||
|
sudo apt-get update -y
|
||||||
|
sudo apt-get install -y git python3-pip mandoc
|
||||||
|
pip install -r docs/requirements.txt
|
||||||
|
- name: Gen_man_pages
|
||||||
|
run: make man
|
||||||
|
- name: Gen_sphinx
|
||||||
|
uses: ammaraskar/sphinx-action@master
|
||||||
with:
|
with:
|
||||||
pre-build-command: "apt-get update -y && apt-get install -y git python3-pip && pip install -r docs/requirements.txt"
|
pre-build-command: "apt-get update -y && apt-get install -y git"
|
||||||
docs-folder: "docs/"
|
docs-folder: "docs/"
|
||||||
|
|||||||
Reference in New Issue
Block a user