This repository has been archived by the owner on Jul 22, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
56 additions
and
29 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
on: | ||
push: | ||
paths: | ||
- 'docs/**' | ||
|
||
pull_request: | ||
paths: | ||
- 'docs/**' | ||
|
||
name: Documentation | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v2 | ||
|
||
- name: "Set up Python 3.7" | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: '3.7' # Semantic version range syntax or exact version of a Python version | ||
|
||
- name: "Display Python version" | ||
run: python -c "import sys; print(sys.version)" | ||
|
||
- name: "Install Sphinx dependencies" | ||
run: sudo apt-get install python-dev build-essential | ||
|
||
- name: "Install custom requirements via pip" | ||
run: pip install -r docs/requirements.txt | ||
|
||
- name: "Build documentation" | ||
run: make docs | ||
|
||
doctor-rst: | ||
name: DOCtor-RST | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@master | ||
|
||
- name: "Run DOCtor-RST" | ||
uses: docker://oskarstark/doctor-rst | ||
with: | ||
args: --short | ||
env: | ||
DOCS_DIR: 'docs/' |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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