Skip to content

Commit fcc65aa

Browse files
committed
MNT: Move extras/scripts around a bit
1 parent 3faae71 commit fcc65aa

File tree

8 files changed

+3
-4
lines changed

8 files changed

+3
-4
lines changed
File renamed without changes.

Diff for: .travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ matrix:
3333
script:
3434
- doc/build.sh
3535
after_success:
36-
- if [ "$TRAVIS_BRANCH" = "$TRAVIS_TAG" ]; then bash doc/deploy.sh; fi
36+
- if [ "$TRAVIS_BRANCH" = "$TRAVIS_TAG" ]; then bash .github/deploy-gh-pages.sh; fi
3737

3838
before_install:
3939
- set -e

Diff for: MANIFEST.in

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
exclude MANIFEST.in
22
exclude .*
3-
exclude logo.*
43

54
recursive-exclude .* *
65
recursive-exclude doc *

Diff for: doc/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ popd >/dev/null
3232
echo
3333
echo 'Ensuring example notebooks match their py counterparts'
3434
echo
35-
strip_yaml () { awk -f "$DOCROOT/strip_yaml.awk" "$@"; }
35+
strip_yaml () { awk -f "$DOCROOT/scripts/strip_yaml.awk" "$@"; }
3636
for ipynb in "$DOCROOT"/examples/*.ipynb; do
3737
echo "Checking: '$ipynb'"
3838
diff <(strip_yaml "${ipynb%.ipynb}.py") <(jupytext --to py --output - "$ipynb" | strip_yaml) ||
@@ -45,7 +45,7 @@ echo 'Converting example notebooks → py → HTML'
4545
echo
4646
jupytext --test --update --to ipynb "$DOCROOT/examples"/*.py
4747
{ mkdir -p ~/.ipython/profile_default/startup
48-
cp -f "$DOCROOT/ipython_config.py" ~/.ipython/profile_default/startup/99-backtesting-docs.py
48+
cp -f "$DOCROOT/scripts/ipython_config.py" ~/.ipython/profile_default/startup/99-backtesting-docs.py
4949
trap 'rm -f ~/.ipython/profile_default/startup/99-backtesting-docs.py' EXIT; }
5050
PYTHONWARNINGS='ignore::UserWarning,ignore::RuntimeWarning' \
5151
jupyter-nbconvert --execute --to=html \

Diff for: logo.png renamed to doc/logo.png

File renamed without changes.
File renamed without changes.

Diff for: logo.py renamed to doc/scripts/logo.py

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)