Skip to content

Commit

Permalink
Revert "Update _toc.yml structure"
Browse files Browse the repository at this point in the history
  • Loading branch information
max-hassani authored Nov 29, 2021
1 parent 6895b24 commit acca4cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,12 @@ jobs:
- name: Install Jupyterbook
shell: bash -l {0}
run: |
echo "format: jb-book" > _toc.yml
echo "root: README" >> _toc.yml
echo "chapters:" >> _toc.yml
echo "- file: README.md" >> _toc.yml
echo "- file: README.md" > _toc.yml
for f in $(find . -name '*.ipynb' | sort -n); do echo "- file: ${f}" >> _toc.yml; done
curl https://pyiron.org/images/logo_dark.png --output logo_dark.png
bash .github/ci_support/write_book_config.sh
rm CODE_OF_CONDUCT.md LICENSE
cat _toc.yml
jupyter-book toc migrate _toc.yml -o _toc.yml
jupyter-book build . --path-output public
- run: mv public/_build/html public_html
- run: touch public_html/.nojekyll
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,12 @@ jobs:
- name: Install Jupyterbook
shell: bash -l {0}
run: |
echo "format: jb-book" > _toc.yml
echo "root: README" >> _toc.yml
echo "chapters:" >> _toc.yml
echo "- file: README.md" >> _toc.yml
echo "- file: README.md" > _toc.yml
for f in $(find . -name '*.ipynb' | sort -n); do echo "- file: ${f}" >> _toc.yml; done
curl https://pyiron.org/images/logo_dark.png --output logo_dark.png
bash .github/ci_support/write_book_config.sh
rm CODE_OF_CONDUCT.md LICENSE
cat _toc.yml
jupyter-book toc migrate _toc.yml -o _toc.yml
jupyter-book build . --path-output public
- run: mv public/_build/html public_html
- run: touch public_html/.nojekyll
Expand Down

0 comments on commit acca4cf

Please sign in to comment.