-
Notifications
You must be signed in to change notification settings - Fork 13
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 #51 from dengemann/api-enh
[WIP] add frequency API and compute coffeine API
- Loading branch information
Showing
20 changed files
with
2,083 additions
and
386 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,46 @@ | ||
name: Build doc | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
push: | ||
branches: | ||
- 'master' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
# Standard drop-in approach that should work for most people. | ||
|
||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.9 | ||
|
||
- name: Get Python running | ||
run: | | ||
python -m pip install --user --upgrade --progress-bar off pip | ||
python -m pip install --user --upgrade --progress-bar off -r requirements.txt | ||
python -m pip install --user --upgrade --progress-bar off -r doc/requirements.txt | ||
python -m pip install --user --upgrade --progress-bar off ipython "https://api.github.com/repos/sphinx-gallery/sphinx-gallery/zipball/master" memory_profiler | ||
sudo apt install pandoc | ||
python -m pip install --user -e . | ||
# Look at what we have and fail early if there is some library conflict | ||
- name: Check installation | ||
run: | | ||
which python | ||
python -c "import coffeine" | ||
python -c "import pandoc" | ||
# Build docs | ||
- name: Generate HTML docs | ||
uses: rickstaa/sphinx-action@master | ||
with: | ||
docs-folder: "doc/" | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: Documentation | ||
path: doc/_build/html/ |
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ junit-results.xml | |
*.swp | ||
*.egg-info | ||
__pycache__ | ||
doc/generated/*rst |
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
Oops, something went wrong.