Skip to content

Commit 7dfdf03

Browse files
committed
Extract site preview README instructions into bb site-preview
1 parent 86d63d1 commit 7dfdf03

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ clojure -M:clay -A:markdown
138138
quarto preview site
139139
```
140140

141+
(`bb site-preview` will run these two commands for you.)
142+
141143
This will open a browser displaying the site locally.
142144

143145
If you would like to preview a single file, then add the path relative to `src`:

bb.edn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{:tasks
2+
{site-preview {:doc "Build site with Quarto and preview"
3+
:task (do (clojure "-M:clay -A:markdown")
4+
(shell "quarto preview site"))}}}

0 commit comments

Comments
 (0)