-
-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate docs infrastructure from Make to Nox (#377)
- Loading branch information
Showing
11 changed files
with
386 additions
and
170 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 |
---|---|---|
|
@@ -42,4 +42,4 @@ jobs: | |
shell: bash | ||
run: pip list | ||
- name: Run Linkcheck | ||
run: make linkcheck | ||
run: nox -s linkcheck |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/bin/bash -ex | ||
|
||
make docs | ||
nox -s build |
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,20 +1,4 @@ | ||
#!/bin/bash -ex | ||
|
||
python3 -m pip install --upgrade pip setuptools wheel | ||
python3 -m pip install --upgrade -r requirements.txt | ||
|
||
# You can uncomment the command below to use a different version of the theme (but return it to the correct one before merging) | ||
# python3 -m pip install --upgrade --force-reinstall --no-deps git+https://github.com/spyder-ide/spyder-docs-sphinx-theme.git@develop_spyder | ||
|
||
# Configure the username and email so Git doesn't complain | ||
if [ "${CI-}" = "true" ]; then | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Spyder-Docs Deploy Bot" | ||
fi | ||
|
||
# Needed to build PR previews using Netlify with the different versions of the docs available | ||
if [ "${NETLIFY-}" = "true" ]; then | ||
git config remote.upstream.url >&- || git remote add upstream https://github.com/spyder-ide/spyder-docs.git | ||
git fetch --all | ||
git update-ref -m "reset: Update master to latest commit" refs/heads/master upstream/master | ||
fi | ||
python3 -m pip install --upgrade nox |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.