Skip to content

Commit eec040f

Browse files
Merge pull request #40 from ClojureCivitas/better-clay-quarto-preview
Better clay quarto preview
2 parents a62ddba + b9efe20 commit eec040f

File tree

4 files changed

+15
-16
lines changed

4 files changed

+15
-16
lines changed

.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:ci
42+
run: clojure -M:clay -A:markdown
4343

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

clay.edn

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
1-
{:base-target-path "temp"
2-
:base-source-path "src"
3-
:subdirs-to-sync ["src"]
4-
:remote-repo {:git-url "https://github.com/ClojureCivitas/clojurecivitas.github.io"
5-
:branch "main"}
6-
:hide-info-line true
7-
:hide-ui-header true
8-
:config/transform civitas.db/expand-authors
1+
{:base-target-path "temp"
2+
:base-source-path "src"
3+
:quarto-target-path "site"
4+
:quarto []
5+
:subdirs-to-sync ["src"]
6+
:keep-sync-root false
7+
:flatten-targets false
8+
:remote-repo {:git-url "https://github.com/ClojureCivitas/clojurecivitas.github.io"
9+
:branch "main"}
10+
:hide-ui-header true
11+
:config/transform civitas.db/expand-authors
912
;; :use-kindly-render true
1013

1114
;; aliases
1215
:markdown
1316
{:render true
1417
:base-target-path "site"
1518
:format [:quarto :html]
16-
:run-quarto false
17-
:hide-info-line false
18-
:quarto []
19-
:flatten-targets false
20-
:keep-sync-root false}}
19+
:run-quarto false}}

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 "759d5e56b8e754623d9f33e58cfcc15d22543f28"}
16+
:git/sha "84c9aa79e8e82293e7c80ee81d544d3b064202f4"}
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"}

site/scicloj/clay/skip_if_unchanged_example.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ image: skip-if-unchanged.jpg
2626
.clay-side-by-side .sourceCode {margin: 0}
2727
.clay-side-by-side {margin: 1em 0}
2828
</style>
29-
<script src="skip_if_unchanged_example.qmd_files/md-default0.js" type="text/javascript"></script><script src="skip_if_unchanged_example.qmd_files/md-default1.js" type="text/javascript"></script>
29+
<script src="skip_if_unchanged_example_files/md-default0.js" type="text/javascript"></script><script src="skip_if_unchanged_example_files/md-default1.js" type="text/javascript"></script>
3030

3131
::: {.sourceClojure}
3232
```clojure

0 commit comments

Comments
 (0)