Skip to content

Commit

Permalink
change shinylive to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwright committed Oct 14, 2024
1 parent 39ddbe1 commit 6ea1fac
Show file tree
Hide file tree
Showing 219 changed files with 175,633 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/app.json

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions docs/edit/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Shiny examples browser</title>
<script
src="../shinylive/load-shinylive-sw.js"
type="module"
></script>
<script src="../shinylive/jquery.min.js"></script>
<script src="../shinylive/jquery.terminal/js/jquery.terminal.min.js"></script>
<link
href="../shinylive/jquery.terminal/css/jquery.terminal.min.css"
rel="stylesheet"
/>
<script type="module">
import { runApp } from "../shinylive/shinylive.js";
const response = await fetch("../app.json");
if (!response.ok) {
throw new Error("HTTP error loading app.json: " + response.status);
}
const appFiles = await response.json();

const appRoot = document.getElementById("root");
runApp(appRoot, "editor-terminal-viewer", {startFiles: appFiles}, "r");
</script>
<link rel="stylesheet" href="../shinylive/style-resets.css" />
<link rel="stylesheet" href="../shinylive/shinylive.css" />
</head>
<body>
<div style="height: 100vh; width: 100vw" id="root"></div>
</body>
</html>
28 changes: 28 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Shiny App</title>
<script
src="./shinylive/load-shinylive-sw.js"
type="module"
></script>
<script type="module">
import { runApp } from "./shinylive/shinylive.js";
const response = await fetch("./app.json");
if (!response.ok) {
throw new Error("HTTP error loading app.json: " + response.status);
}
const appFiles = await response.json();

const appRoot = document.getElementById("root");
runApp(appRoot, "viewer", {startFiles: appFiles}, "r");
</script>
<link rel="stylesheet" href="./shinylive/style-resets.css" />
<link rel="stylesheet" href="./shinylive/shinylive.css" />
</head>
<body>
<div style="height: 100vh; width: 100vw" id="root"></div>
</body>
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
83,029 changes: 83,029 additions & 0 deletions docs/shinylive/webr/packages/DT/DT_0.33.data

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/shinylive/webr/packages/DT/DT_0.33.js.metadata

Large diffs are not rendered by default.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"files":[{"filename":"/DESCRIPTION","start":0,"end":2971},{"filename":"/INDEX","start":2971,"end":3500},{"filename":"/LICENSE","start":3500,"end":3544},{"filename":"/Meta/Rd.rds","start":3544,"end":4171},{"filename":"/Meta/features.rds","start":4171,"end":4294},{"filename":"/Meta/hsearch.rds","start":4294,"end":4926},{"filename":"/Meta/links.rds","start":4926,"end":5246},{"filename":"/Meta/nsInfo.rds","start":5246,"end":5640},{"filename":"/Meta/package.rds","start":5640,"end":7223},{"filename":"/NAMESPACE","start":7223,"end":7720},{"filename":"/NEWS.md","start":7720,"end":9171},{"filename":"/R/crosstalk","start":9171,"end":10229},{"filename":"/R/crosstalk.rdb","start":10229,"end":36346},{"filename":"/R/crosstalk.rdx","start":36346,"end":37265},{"filename":"/help/AnIndex","start":37265,"end":37710},{"filename":"/help/aliases.rds","start":37710,"end":37956},{"filename":"/help/crosstalk.rdb","start":37956,"end":70923},{"filename":"/help/crosstalk.rdx","start":70923,"end":71330},{"filename":"/help/paths.rds","start":71330,"end":71622},{"filename":"/html/00Index.html","start":71622,"end":74227},{"filename":"/html/R.css","start":74227,"end":76071},{"filename":"/lib/bootstrap/bootstrap-grid.min.css","start":76071,"end":84169},{"filename":"/lib/ionrangeslider/css/ion.rangeSlider.css","start":84169,"end":88709},{"filename":"/lib/ionrangeslider/js/ion.rangeSlider.js","start":88709,"end":173665},{"filename":"/lib/ionrangeslider/js/ion.rangeSlider.min.js","start":173665,"end":215280},{"filename":"/lib/ionrangeslider/scss/_base.scss","start":215280,"end":218106},{"filename":"/lib/ionrangeslider/scss/_mixins.scss","start":218106,"end":218395},{"filename":"/lib/ionrangeslider/scss/shiny.scss","start":218395,"end":222792},{"filename":"/lib/jquery/jquery-AUTHORS.txt","start":222792,"end":236161},{"filename":"/lib/jquery/jquery.js","start":236161,"end":523791},{"filename":"/lib/jquery/jquery.min.js","start":523791,"end":613267},{"filename":"/lib/jquery/jquery.min.map","start":613267,"end":751253},{"filename":"/lib/selectize/css/selectize.bootstrap3.css","start":751253,"end":762019},{"filename":"/lib/selectize/js/selectize.min.js","start":762019,"end":807158},{"filename":"/lib/strftime/strftime-min.js","start":807158,"end":812878},{"filename":"/www/css/crosstalk.min.css","start":812878,"end":814184},{"filename":"/www/js/crosstalk.js","start":814184,"end":863214},{"filename":"/www/js/crosstalk.js.map","start":863214,"end":918067},{"filename":"/www/js/crosstalk.min.js","start":918067,"end":936992},{"filename":"/www/js/crosstalk.min.js.map","start":936992,"end":987330},{"filename":"/www/scss/crosstalk.scss","start":987330,"end":989146}],"remote_package_size":989146}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"files":[{"filename":"/DESCRIPTION","start":0,"end":1701},{"filename":"/INDEX","start":1701,"end":2031},{"filename":"/LICENSE","start":2031,"end":2077},{"filename":"/Meta/Rd.rds","start":2077,"end":2840},{"filename":"/Meta/features.rds","start":2840,"end":2963},{"filename":"/Meta/hsearch.rds","start":2963,"end":3707},{"filename":"/Meta/links.rds","start":3707,"end":4070},{"filename":"/Meta/nsInfo.rds","start":4070,"end":4526},{"filename":"/Meta/package.rds","start":4526,"end":5817},{"filename":"/NAMESPACE","start":5817,"end":6604},{"filename":"/NEWS.md","start":6604,"end":18778},{"filename":"/R/evaluate","start":18778,"end":19836},{"filename":"/R/evaluate.rdb","start":19836,"end":38969},{"filename":"/R/evaluate.rdx","start":38969,"end":39959},{"filename":"/help/AnIndex","start":39959,"end":40425},{"filename":"/help/aliases.rds","start":40425,"end":40693},{"filename":"/help/evaluate.rdb","start":40693,"end":63082},{"filename":"/help/evaluate.rdx","start":63082,"end":63569},{"filename":"/help/paths.rds","start":63569,"end":63886},{"filename":"/html/00Index.html","start":63886,"end":65704},{"filename":"/html/R.css","start":65704,"end":67548}],"remote_package_size":67548}
Binary file not shown.
1 change: 1 addition & 0 deletions docs/shinylive/webr/packages/highr/highr_0.10.js.metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"files":[{"filename":"/DESCRIPTION","start":0,"end":1173},{"filename":"/INDEX","start":1173,"end":1294},{"filename":"/Meta/Rd.rds","start":1294,"end":1593},{"filename":"/Meta/features.rds","start":1593,"end":1716},{"filename":"/Meta/hsearch.rds","start":1716,"end":2043},{"filename":"/Meta/links.rds","start":2043,"end":2173},{"filename":"/Meta/nsInfo.rds","start":2173,"end":2398},{"filename":"/Meta/package.rds","start":2398,"end":3501},{"filename":"/Meta/vignette.rds","start":3501,"end":3749},{"filename":"/NAMESPACE","start":3749,"end":3875},{"filename":"/NEWS.Rd","start":3875,"end":4156},{"filename":"/R/highr","start":4156,"end":5214},{"filename":"/R/highr.rdb","start":5214,"end":15124},{"filename":"/R/highr.rdx","start":15124,"end":15693},{"filename":"/doc/highr-custom.R","start":15693,"end":16164},{"filename":"/doc/highr-custom.Rmd","start":16164,"end":17250},{"filename":"/doc/highr-custom.html","start":17250,"end":24964},{"filename":"/doc/highr-internals.R","start":24964,"end":26572},{"filename":"/doc/highr-internals.Rmd","start":26572,"end":29827},{"filename":"/doc/highr-internals.html","start":29827,"end":45279},{"filename":"/doc/index.html","start":45279,"end":47257},{"filename":"/help/AnIndex","start":47257,"end":47324},{"filename":"/help/aliases.rds","start":47324,"end":47432},{"filename":"/help/highr.rdb","start":47432,"end":52750},{"filename":"/help/highr.rdx","start":52750,"end":52938},{"filename":"/help/paths.rds","start":52938,"end":53124},{"filename":"/html/00Index.html","start":53124,"end":54686},{"filename":"/html/R.css","start":54686,"end":56530}],"remote_package_size":56530}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"files":[{"filename":"/DESCRIPTION","start":0,"end":1450},{"filename":"/INDEX","start":1450,"end":2270},{"filename":"/LICENSE","start":2270,"end":2379},{"filename":"/Meta/Rd.rds","start":2379,"end":3153},{"filename":"/Meta/features.rds","start":3153,"end":3276},{"filename":"/Meta/hsearch.rds","start":3276,"end":4027},{"filename":"/Meta/links.rds","start":4027,"end":4376},{"filename":"/Meta/nsInfo.rds","start":4376,"end":4795},{"filename":"/Meta/package.rds","start":4795,"end":5971},{"filename":"/NAMESPACE","start":5971,"end":6514},{"filename":"/NEWS.md","start":6514,"end":15448},{"filename":"/R/htmlwidgets","start":15448,"end":16506},{"filename":"/R/htmlwidgets.rdb","start":16506,"end":39763},{"filename":"/R/htmlwidgets.rdx","start":39763,"end":41045},{"filename":"/help/AnIndex","start":41045,"end":41534},{"filename":"/help/aliases.rds","start":41534,"end":41790},{"filename":"/help/htmlwidgets.rdb","start":41790,"end":73415},{"filename":"/help/htmlwidgets.rdx","start":73415,"end":73896},{"filename":"/help/paths.rds","start":73896,"end":74220},{"filename":"/html/00Index.html","start":74220,"end":77297},{"filename":"/html/R.css","start":77297,"end":79141},{"filename":"/templates/widget_js.txt","start":79141,"end":79565},{"filename":"/templates/widget_r.txt","start":79565,"end":80993},{"filename":"/www/htmlwidgets.js","start":80993,"end":114260}],"remote_package_size":114260}
Loading

0 comments on commit 6ea1fac

Please sign in to comment.