From 1d848badcb01978f61233a30167c1825418c9225 Mon Sep 17 00:00:00 2001 From: Timur Bazhirov Date: Wed, 20 Nov 2024 11:49:16 -0800 Subject: [PATCH 1/2] chore: update content folder --- README.md | 4 ---- scripts/build.sh | 6 +++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bb51867..77c9d13 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/scripts/build.sh b/scripts/build.sh index 7a2c422..3517d57 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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}/{utils,config.yml} ${CONTENT_DIR}/ fi [[ -n ${BUILD} ]] && jupyter lite build --contents ${CONTENT_DIR} --output-dir dist From 8b10f9097b7f2dff55b171c431496d3823db57e0 Mon Sep 17 00:00:00 2001 From: Timur Bazhirov Date: Wed, 20 Nov 2024 11:52:36 -0800 Subject: [PATCH 2/2] chore: update content folder, includ packages --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 3517d57..b79db41 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -35,7 +35,7 @@ if [[ -n ${UPDATE_CONTENT} ]]; then 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}/{utils,config.yml} ${CONTENT_DIR}/ + cp -r ${RESOLVED_CONTENT_DIR}/{packages,utils,config.yml} ${CONTENT_DIR}/ fi [[ -n ${BUILD} ]] && jupyter lite build --contents ${CONTENT_DIR} --output-dir dist