add Sphinx Check (#844)

* add sphinx bot

* source

* typo

* Make a change to the docs (#2)

* Make a change to the docs
* Introduce an error
* Install git before building docs
* Apply suggestions from code review

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* Update docs/source/apex.rst

* Update docs/source/apex.rst

Co-authored-by: Ammar Askar <ammar_askar@hotmail.com>
This commit is contained in:
Jirka Borovec 2020-02-21 21:55:03 +01:00 committed by GitHub
parent 5c5a241e01
commit 2b5458e852
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 1 deletions

17
.github/workflows/docs-check.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: "Docs check"
# https://github.com/marketplace/actions/sphinx-build
on:
- pull_request
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: ammaraskar/sphinx-action@master
with:
# git is requried to clone the docs theme
pre-build-command: "apt-get update -y && apt-get install -y git"
docs-folder: "docs/"
repo-token: "${{ secrets.GITHUB_TOKEN }}"

View File

@ -57,4 +57,3 @@ TPU 16-bit
# turn on 16-bit
trainer = Trainer(num_tpu_cores=8, precision=16)