diff --git a/README.md b/README.md index 762c7b1..8c825f9 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # jupyterlite-terminal [![Github Actions Status](https://github.com/jupyterlite/terminal/workflows/Build/badge.svg)](https://github.com/jupyterlite/terminal/actions/workflows/build.yml) -[![lite-badge](https://jupyterlite.rtfd.io/en/latest/_static/badge.svg)](https://jupyterlite.github.io/terminal/lab/index.html) +[![lite-badge](https://jupyterlite.rtfd.io/en/latest/_static/badge.svg)](https://jupyterlite-terminal.vercel.app/) A terminal for JupyterLite. diff --git a/demo/contents/fact.lua b/demo/contents/fact.lua new file mode 100644 index 0000000..a7e0449 --- /dev/null +++ b/demo/contents/fact.lua @@ -0,0 +1,8 @@ +function fact(n, acc) + acc = acc or 1 + if n == 0 then + return acc + end + return fact(n-1, n*acc) +end +print(fact(tonumber(arg[1]))) diff --git a/demo/contents/months.txt b/demo/contents/months.txt new file mode 100644 index 0000000..9b28fd0 --- /dev/null +++ b/demo/contents/months.txt @@ -0,0 +1,12 @@ +August +November +March +January +July +May +October +February +December +April +September +June diff --git a/deploy.sh b/deploy.sh index e3cc36b..c57652f 100644 --- a/deploy.sh +++ b/deploy.sh @@ -22,4 +22,4 @@ python -m pip install -r requirements-deploy.txt # build the JupyterLite site jupyter lite --version -jupyter lite build --output-dir dist +jupyter lite build --contents demo/contents --output-dir dist