Skip to content

Commit

Permalink
Merge pull request #51 from Exabyte-io/chore/update-content-with-note…
Browse files Browse the repository at this point in the history
…books-only

chore: update content folder
  • Loading branch information
VsevolodX authored Nov 20, 2024
2 parents 09a9891 + 8b10f90 commit 57b8d83
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ JupyterLite deployed as a static site to GitHub Pages, for demo purposes.

![github-pages](https://user-images.githubusercontent.com/591645/120649478-18258400-c47d-11eb-80e5-185e52ff2702.gif)

## 🚀 Quickstart

See [content/](content) for more information.

## Development Notes

### Extensions
Expand Down
6 changes: 5 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ if [[ -n ${UPDATE_CONTENT} ]]; then
cd "${PACKAGE_ROOT_PATH}" || exit 1
RESOLVED_CONTENT_DIR="tmp/${REPO_NAME}-resolved"
rm -rf ${CONTENT_DIR} && mkdir -p ${CONTENT_DIR}
cp -r ${RESOLVED_CONTENT_DIR}/* ${CONTENT_DIR}
# Copy the notebooks
cp -r ${RESOLVED_CONTENT_DIR}/examples ${CONTENT_DIR}/api
cp -r ${RESOLVED_CONTENT_DIR}/other/materials_designer ${CONTENT_DIR}/made
# Copy other required files
cp -r ${RESOLVED_CONTENT_DIR}/{packages,utils,config.yml} ${CONTENT_DIR}/
fi

[[ -n ${BUILD} ]] && jupyter lite build --contents ${CONTENT_DIR} --output-dir dist
Expand Down

0 comments on commit 57b8d83

Please sign in to comment.