Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Sep 21, 2023
1 parent 56dc92a commit d753ee8
Show file tree
Hide file tree
Showing 11 changed files with 52 additions and 2,264 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
663e67d1
6a2bdc8b
6 changes: 4 additions & 2 deletions R-shinylive-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

</head>

<body class="nav-fixed fullcontent">
<body class="nav-fixed">

<div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top">
Expand Down Expand Up @@ -108,7 +108,9 @@
<div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar">
<!-- sidebar -->
<!-- margin-sidebar -->

<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">

</div>
<!-- main -->
<main class="content" id="quarto-document-content">

Expand Down
2,242 changes: 0 additions & 2,242 deletions R-shinylive-demo_files/libs/quarto-contrib/shinylive-0.2.0/shinylive-sw.js

This file was deleted.

30 changes: 28 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@

</head>

<body class="nav-fixed fullcontent">
<body class="nav-fixed">

<div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top">
Expand Down Expand Up @@ -142,7 +142,33 @@
<div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar">
<!-- sidebar -->
<!-- margin-sidebar -->

<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">
<nav id="TOC" role="doc-toc" class="toc-active">
<h2 id="toc-title">On this page</h2>

<ul>
<li><a href="#sample-application" id="toc-sample-application" class="nav-link active" data-scroll-target="#sample-application">Sample Application</a></li>
<li><a href="#tutorial-using-r-shinylive-for-static-shiny-apps-in-quarto-documents" id="toc-tutorial-using-r-shinylive-for-static-shiny-apps-in-quarto-documents" class="nav-link" data-scroll-target="#tutorial-using-r-shinylive-for-static-shiny-apps-in-quarto-documents">Tutorial: Using r-shinylive for Static Shiny Apps in Quarto Documents</a>
<ul class="collapse">
<li><a href="#installation" id="toc-installation" class="nav-link" data-scroll-target="#installation">Installation</a></li>
<li><a href="#setting-up-your-quarto-project" id="toc-setting-up-your-quarto-project" class="nav-link" data-scroll-target="#setting-up-your-quarto-project">Setting Up Your Quarto Project</a></li>
<li><a href="#installing-the-quarto-extension-for-r-shinylive" id="toc-installing-the-quarto-extension-for-r-shinylive" class="nav-link" data-scroll-target="#installing-the-quarto-extension-for-r-shinylive">Installing the Quarto Extension for r-shinylive</a></li>
<li><a href="#including-the-shiny-app-in-your-quarto-document" id="toc-including-the-shiny-app-in-your-quarto-document" class="nav-link" data-scroll-target="#including-the-shiny-app-in-your-quarto-document">Including the Shiny App in Your Quarto Document</a></li>
<li><a href="#rendering-your-quarto-document" id="toc-rendering-your-quarto-document" class="nav-link" data-scroll-target="#rendering-your-quarto-document">Rendering Your Quarto Document</a></li>
<li><a href="#folder-structure" id="toc-folder-structure" class="nav-link" data-scroll-target="#folder-structure">Folder Structure</a></li>
<li><a href="#publishing-your-quarto-document" id="toc-publishing-your-quarto-document" class="nav-link" data-scroll-target="#publishing-your-quarto-document">Publishing Your Quarto Document</a>
<ul class="collapse">
<li><a href="#a-quick-fix-for-service-worker-inclusion" id="toc-a-quick-fix-for-service-worker-inclusion" class="nav-link" data-scroll-target="#a-quick-fix-for-service-worker-inclusion">A Quick Fix for Service Worker Inclusion</a></li>
</ul></li>
<li><a href="#advanced-optional-step-continuous-publishing-using-github-actions" id="toc-advanced-optional-step-continuous-publishing-using-github-actions" class="nav-link" data-scroll-target="#advanced-optional-step-continuous-publishing-using-github-actions">Advanced (Optional Step): Continuous Publishing Using GitHub Actions</a></li>
</ul></li>
<li><a href="#fin" id="toc-fin" class="nav-link" data-scroll-target="#fin">Fin</a>
<ul class="collapse">
<li><a href="#references" id="toc-references" class="nav-link" data-scroll-target="#references">References</a></li>
</ul></li>
</ul>
</nav>
</div>
<!-- main -->
<main class="content" id="quarto-document-content">

Expand Down
2 changes: 1 addition & 1 deletion robots.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Sitemap: https://coatless-quarto.github.io/r-shinylive-demo/sitemap.xml
Sitemap: https://github.com/coatless-quarto/r-shinylive-demo/sitemap.xml
14 changes: 7 additions & 7 deletions search.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@
"section": "",
"text": "This document contains just the Shiny App source code used in Joe Cheng’s posit::conf(2023) demo (Warning: Large file size, don’t open on mobile!)\nFor a detailed breakdown, please see the &lt;index.qmd&gt; file.\n#| standalone: true\n#| viewerHeight: 600\nlibrary(shiny)\nlibrary(bslib)\n\n# Define UI for app that draws a histogram ----\nui &lt;- page_sidebar(\n sidebar = sidebar(open = \"open\",\n numericInput(\"n\", \"Sample count\", 100),\n checkboxInput(\"pause\", \"Pause\", FALSE),\n ),\n plotOutput(\"plot\", width=1100)\n)\n\nserver &lt;- function(input, output, session) {\n data &lt;- reactive({\n input$resample\n if (!isTRUE(input$pause)) {\n invalidateLater(1000)\n }\n rnorm(input$n)\n })\n \n output$plot &lt;- renderPlot({\n hist(data(),\n breaks = 40,\n xlim = c(-2, 2),\n ylim = c(0, 1),\n lty = \"blank\",\n xlab = \"value\",\n freq = FALSE,\n main = \"\"\n )\n \n x &lt;- seq(from = -2, to = 2, length.out = 500)\n y &lt;- dnorm(x)\n lines(x, y, lwd=1.5)\n \n lwd &lt;- 5\n abline(v=0, col=\"red\", lwd=lwd, lty=2)\n abline(v=mean(data()), col=\"blue\", lwd=lwd, lty=1)\n\n legend(legend = c(\"Normal\", \"Mean\", \"Sample mean\"),\n col = c(\"black\", \"red\", \"blue\"),\n lty = c(1, 2, 1),\n lwd = c(1, lwd, lwd),\n x = 1,\n y = 0.9\n )\n }, res=140)\n}\n\n# Create Shiny app ----\nshinyApp(ui = ui, server = server)"
},
{
"objectID": "template-r-shinylive.html",
"href": "template-r-shinylive.html",
"title": "Template for r-shinylive Quarto document",
"section": "",
"text": "Important\n\n\n\nPlease switch {{shinylive-r}} to {shinylive-r}. We’ve suppressed this example from running by using {{}}.\n\n\n```{shinylive-r}\n#| standalone: true\n\nui &lt;- ...\n\nserver &lt;- function(input, output, session) {\n ...\n}\n\nshinyApp(ui, server)\n```"
},
{
"objectID": "index.html",
"href": "index.html",
Expand Down Expand Up @@ -89,5 +82,12 @@
"title": "R-shinylive app in Quarto!",
"section": "References",
"text": "References\n\nShinylive R Package\nShinylive Quarto Extension: Static Shiny apps as Quarto code chunks"
},
{
"objectID": "template-r-shinylive.html",
"href": "template-r-shinylive.html",
"title": "Template for r-shinylive Quarto document",
"section": "",
"text": "Important\n\n\n\nPlease switch {{shinylive-r}} to {shinylive-r}. We’ve suppressed this example from running by using {{}}.\n\n\n```{shinylive-r}\n#| standalone: true\n\nui &lt;- ...\n\nserver &lt;- function(input, output, session) {\n ...\n}\n\nshinyApp(ui, server)\n```"
}
]
2 changes: 1 addition & 1 deletion site_libs/bootstrap/bootstrap.min.css

Large diffs are not rendered by default.

Empty file.
Empty file.
12 changes: 6 additions & 6 deletions sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://coatless-quarto.github.io/r-shinylive-demo/R-shinylive-demo.html</loc>
<lastmod>2023-09-21T08:43:58.105Z</lastmod>
<loc>https://github.com/coatless-quarto/r-shinylive-demo/R-shinylive-demo.html</loc>
<lastmod>2023-09-21T08:56:07.478Z</lastmod>
</url>
<url>
<loc>https://coatless-quarto.github.io/r-shinylive-demo/template-r-shinylive.html</loc>
<lastmod>2023-09-21T08:43:51.903Z</lastmod>
<loc>https://github.com/coatless-quarto/r-shinylive-demo/index.html</loc>
<lastmod>2023-09-21T08:56:03.874Z</lastmod>
</url>
<url>
<loc>https://coatless-quarto.github.io/r-shinylive-demo/index.html</loc>
<lastmod>2023-09-21T08:43:55.408Z</lastmod>
<loc>https://github.com/coatless-quarto/r-shinylive-demo/template-r-shinylive.html</loc>
<lastmod>2023-09-21T08:56:04.914Z</lastmod>
</url>
</urlset>
6 changes: 4 additions & 2 deletions template-r-shinylive.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

</head>

<body class="nav-fixed fullcontent">
<body class="nav-fixed">

<div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top">
Expand Down Expand Up @@ -137,7 +137,9 @@
<div id="quarto-content" class="quarto-container page-columns page-rows-contents page-layout-article page-navbar">
<!-- sidebar -->
<!-- margin-sidebar -->

<div id="quarto-margin-sidebar" class="sidebar margin-sidebar">

</div>
<!-- main -->
<main class="content" id="quarto-document-content">

Expand Down

0 comments on commit d753ee8

Please sign in to comment.