-
Notifications
You must be signed in to change notification settings - Fork 10
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
1 parent
6ff650b
commit b626c0c
Showing
5 changed files
with
14 additions
and
55 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
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 |
---|---|---|
|
@@ -68,7 +68,6 @@ doc = [ | |
"ipython", | ||
"matplotlib", | ||
"myst-parser", | ||
"sphinx-doc" | ||
] | ||
build = [ | ||
"flit~=3.7", | ||
|
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 |
---|---|---|
@@ -1,25 +1,25 @@ | ||
#!/bin/bash | ||
|
||
build_docs () { | ||
build_docs() { | ||
|
||
if [[ "${GITHUB_ACTION_IS_RUNNING}" = 1 ]]; then | ||
bash scripts/install.sh doc | ||
fi | ||
if [[ "${GITHUB_ACTION_IS_RUNNING}" = 1 ]]; then | ||
bash scripts/install.sh doc | ||
fi | ||
|
||
make -C docs/ html | ||
make -C docs/ html | ||
|
||
# Helper when running on local. If not running in a GitHub Actions | ||
# environment, this will attempt to open index.html with the users' | ||
# default program | ||
if [[ -z "${GITHUB_ACTION_IS_RUNNING}" ]]; then | ||
open docs/build/html/index.html | ||
fi | ||
|
||
# Helper when running on local. If not running in a GitHub Actions | ||
# environment, this will attempt to open index.html with the users' | ||
# default program | ||
if [[ -z "${GITHUB_ACTION_IS_RUNNING}" ]]; then | ||
open docs/build/html/index.html | ||
fi | ||
|
||
} | ||
|
||
pip install toml | ||
bash scripts/install.sh | ||
bash scripts/install.sh doc | ||
bash scripts/update_version.sh set | ||
echo "__version__ = '$(dunamai from any --style=pep440 --no-metadata)'" >lightshow/_version.py | ||
build_docs | ||
bash scripts/update_version.sh reset | ||
git checkout lightshow/_version.py |
This file was deleted.
Oops, something went wrong.