Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructuring the website #32

Merged
merged 8 commits into from
Aug 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/publish-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
environment_file: 'website/environment.yml'
environment_name: climsim-docs-env
path_to_notebooks: 'website'
build_command: 'cp ../README.md ../fig_1.png .; jupyter-book build . --builder singlehtml'
build_command: 'cp -r ../README.md ../fig_1.png demo_notebooks .; jupyter-book build .'
# this is a bit hacky, but the only way to 'inject' a shell command before the build.
output_path: '_build/singlehtml'
output_path: '_build/html'
deploy:
needs: build
#Trying this out to see if the auth problem is fixed
# uses: ./.github/workflows/deploy-book.yaml #hack until https://github.com/ProjectPythia/cookbook-actions/pull/45 is merged.
uses: ProjectPythia/cookbook-actions/.github/workflows/deploy-book.yaml@main
with:
publish_dir: "website/_build/singlehtml"
publish_dir: "website/_build/html"
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
website/_build/
website/fig_1.png
website/README.md
website/fig_1.png
website/demo_notebooks
.DS_Store

# Byte-compiled / optimized / DLL files
Expand Down Expand Up @@ -162,4 +163,4 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
#.idea/
Loading
Loading