-
Notifications
You must be signed in to change notification settings - Fork 8
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
150 changed files
with
10,890 additions
and
7,446 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,5 +1,5 @@ | ||
[bumpversion] | ||
current_version = 0.6.1 | ||
current_version = 0.7.0 | ||
commit = False | ||
tag = False | ||
allow_dirty = False | ||
|
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 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,43 @@ | ||
name: Deploy Docs | ||
description: Deploy documentation from develop or master branch | ||
inputs: | ||
version: | ||
description: Version number to use | ||
required: true | ||
alias: | ||
description: Alias to use (latest or stable) | ||
required: true | ||
title: | ||
description: Alternative title to use | ||
required: false | ||
default: '' | ||
email: | ||
description: Email to use for git config | ||
required: true | ||
username: | ||
description: Username to use for git config | ||
required: true | ||
set-default: | ||
description: Set alias as the default version | ||
required: false | ||
default: 'false' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- run: | | ||
# https://github.com/jimporter/mike#deploying-via-ci | ||
git fetch origin gh-pages --depth=1 | ||
git config --local user.email ${{ inputs.email }} | ||
git config --local user.name ${{ inputs.username }} | ||
shell: bash | ||
- run: | | ||
if [ -z "${{ inputs.title }}" ] | ||
then | ||
mike deploy ${{ inputs.version }} ${{ inputs.alias }} --push --update-aliases | ||
else | ||
mike deploy ${{ inputs.version }} ${{ inputs.alias }} --title=${{ inputs.title }} --push --update-aliases | ||
fi | ||
shell: bash | ||
- if: ${{ inputs.set-default == 'true' }} | ||
run: mike set-default ${{ inputs.alias }} | ||
shell: bash |
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,20 @@ | ||
name: Setup Python | ||
description: Setup Python on GitHub Actions and install dev and docs requirements. | ||
inputs: | ||
python_version: | ||
description: Python version to use | ||
required: true | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Set up Python ${{ inputs.python_version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ inputs.python_version }} | ||
cache: 'pip' | ||
cache-dependency-path: | | ||
requirements-dev.txt | ||
requirements-docs.txt | ||
- name: Install Dev & Docs Requirements | ||
run: pip install -r requirements-dev.txt -r requirements-docs.txt | ||
shell: bash |
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 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 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 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 |
---|---|---|
|
@@ -139,3 +139,6 @@ pylint.html | |
# Saved data | ||
runs/ | ||
data/models/ | ||
|
||
# Docs | ||
docs_build |
Oops, something went wrong.