Skip to content

Commit

Permalink
Update link to the demo, add demo files (#29)
Browse files Browse the repository at this point in the history
* update link to the demo

* Add demo files

* add files

* move demo files to demo

* Revert "move demo files to demo"

This reverts commit b9de33b.
  • Loading branch information
jtpio authored Oct 8, 2024
1 parent 3b38605 commit 7d9d46e
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
8 changes: 8 additions & 0 deletions demo/contents/fact.lua
Original file line number Diff line number Diff line change
@@ -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])))
12 changes: 12 additions & 0 deletions demo/contents/months.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
August
November
March
January
July
May
October
February
December
April
September
June
2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7d9d46e

Please sign in to comment.