Skip to content

Commit 9332d82

Browse files
add link to information on how to make qmd files
1 parent 9903d58 commit 9332d82

4 files changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/render-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
restore-keys: cljdeps-
4040

4141
- name: Build the content notebooks
42-
run: clojure -M:clay -A:markdown
42+
run: clojure -M:clay -A:markdown:ci
4343

4444
- name: Set up Quarto
4545
uses: quarto-dev/quarto-actions/setup@v2

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ The published site goes through a longer process of producing markdown then HTML
8181
[Quarto](https://quarto.org/) is the markdown publishing tool.
8282

8383
```sh
84-
clojure -M:clay -A:markdown
84+
clojure -M:clay -A:markdown:ci
8585
```
8686

8787
```sh
@@ -226,6 +226,14 @@ Future:
226226

227227
Goal: Minimize friction in authoring while ensuring publishable reproducibility.
228228

229+
## Large data, slow calculations, private credentials
230+
231+
If you add a qmd file under the `site` directory,
232+
it will prevent the source `clj` file from executing.
233+
This allows you to only run the code locally.
234+
235+
See [Some notebooks should only be run locally](https://clojurecivitas.github.io/scicloj/clay/skip_if_unchanged_example.html) for more information.
236+
229237
## License
230238

231239
Copyright © 2025 Timothy Pratley

clay.edn

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
:hide-info-line false
1818
:quarto []
1919
:flatten-targets false
20-
:keep-sync-root false
21-
:skip-if-unchanged true}}
22-
20+
:keep-sync-root false}
21+
:ci
22+
{:keep-existing true}}

deps.edn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
clj-thamil/clj-thamil {:mvn/version "0.2.0"}
1414
org.scicloj/clay {#_#_:mvn/version "2-beta46"
1515
:git/url "https://github.com/scicloj/clay.git"
16-
:git/sha "e3feb09eb9d251dccc266945e9827ee0b7e169e8"}
16+
:git/sha "d5b6661050470fc6587ccd7c2af0449e81977504"}
1717
org.eclipse.elk/org.eclipse.elk.core {:mvn/version "0.10.0"}
1818
org.eclipse.elk/org.eclipse.elk.graph {:mvn/version "0.10.0"}
1919
org.eclipse.elk/org.eclipse.elk.graph.json {:mvn/version "0.10.0"}

0 commit comments

Comments
 (0)