Skip to content

Commit

Permalink
disable wasm downloads (#290)
Browse files Browse the repository at this point in the history
- disable wasm downloads for shinylive - the target dir
`.quarto/_webr/destdir/shinylive/webr/packages` is git ignored anyway
- remove "View source code" widget in the index.html

---------

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
pawelru and github-actions[bot] authored Nov 23, 2024
1 parent 06f1076 commit 99998d0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions book/_environment
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# disable downloading wasm binaries on render
SHINYLIVE_WASM_PACKAGES="0"
3 changes: 3 additions & 0 deletions book/_quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ execute:

engine: knitr

knitr:
opts_chunk:
dev: 'svglite'

filters:
- insightsengineering/pattern-strip
Expand Down
4 changes: 4 additions & 0 deletions book/index.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
---
title-block-style: none
format:
live-html:
code-tools:
source: false
---

{{< include README.md >}}

0 comments on commit 99998d0

Please sign in to comment.