-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #163 from TheJacksonLaboratory/develop
Develop
- Loading branch information
Showing
49 changed files
with
1,007 additions
and
1,322 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 |
---|---|---|
@@ -1,35 +1,26 @@ | ||
name: Sphinx Documentation | ||
name: mkdocs-generation | ||
on: | ||
push: | ||
branches: [ main ] | ||
|
||
branches: | ||
- master | ||
- main | ||
permissions: | ||
contents: write | ||
jobs: | ||
build-docs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
with: | ||
ref: ${{ github.ref }} | ||
|
||
- name: Set up Python 3. | ||
uses: actions/setup-python@v3 | ||
python-version: 3.x | ||
- uses: actions/cache@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: install | ||
run: pip3 install sphinx sphinx-rtd-theme click ddt pandas setuptools | ||
|
||
- name: Build documentation. | ||
run: | | ||
cd docs/ | ||
sphinx-build -b html . _build | ||
touch _build/.nojekyll | ||
- name: Deploy documentation. | ||
if: ${{ github.event_name == 'push' }} | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
clean: true | ||
folder: docs/_build | ||
key: ${{ github.ref }} | ||
path: .cache | ||
- run: pip install mkdocs-material | ||
- run: pip install mkdocs-material[imaging] | ||
- run: pip install pillow cairosvg | ||
- run: pip install mkdocs-material-extensions | ||
- run: pip install mkdocstrings[python] | ||
- run: mkdocs gh-deploy --force |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.