-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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>
- Loading branch information
1 parent
5c5a241
commit 2b5458e
Showing
2 changed files
with
17 additions
and
1 deletion.
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,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 }}" |
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 |
---|---|---|
|
@@ -57,4 +57,3 @@ TPU 16-bit | |
# turn on 16-bit | ||
trainer = Trainer(num_tpu_cores=8, precision=16) | ||