Skip to content

Commit 9f7424f

Browse files
clarify build is through Clay
1 parent a52d5f6 commit 9f7424f

9 files changed

Lines changed: 16 additions & 23 deletions

File tree

deps.edn

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,10 @@
1717
org.eclipse.elk/org.eclipse.elk.alg.layered {:mvn/version "0.10.0"}}
1818

1919
:aliases
20-
;; Build the site with `clojure -M:m`
21-
{:m {:extra-paths ["build"]
22-
:main-opts ["-m" "civitas.main"]}
23-
;; Build the site with `clojure -J-Dclojure.main.report=stderr -M:clay -a [:markdown]`
24-
;; Run Clay in watch mode with `clojure -J-Dclojure.main.report=stderr -M:clay`
20+
{;; Build the site with `clojure -M:clay -a [:markdown]`
21+
;; Run Clay in watch mode with `clojure -M:clay`
2522
:clay {:main-opts ["-m" "scicloj.clay.v2.main"]}
2623
;; When debugging libraries
2724
:local {:override-deps {org.scicloj/clay {:local/root "../clay"}
2825
org.scicloj/kindly-advice {:local/root "../kindly-advice"}}}
29-
:test {:extra-paths ["test"]
30-
:extra-deps {org.clojure/test.check {:mvn/version "1.1.1"}
31-
io.github.cognitect-labs/test-runner
32-
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}}
3326
:neil {:project {:name io.github.timothypratley/clojurecivitas}}}}

src/civitas/explorer.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
:format {:html {:page-layout :full}}}}}
66
(ns civitas.explorer
77
(:require [scicloj.kindly.v4.kind :as kind]
8-
[civitas.db :as db]
9-
[civitas.geometry :as geom]
10-
[civitas.svg :as svg]))
8+
[civitas.explorer.db :as db]
9+
[civitas.explorer.geometry :as geom]
10+
[civitas.explorer.svg :as svg]))
1111

1212
;; We need a database of Clojure learning resources.
1313

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
^{:clay {:quarto {:draft true}}}
2-
(ns civitas.db
2+
(ns civitas.explorer.db
33
(:require [clojure.edn :as edn]
44
[clojure.pprint :as pprint]
55
[clojure.walk :as walk]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
^{:clay {:quarto {:draft true}}}
2-
(ns civitas.geometry
2+
(ns civitas.explorer.geometry
33
(:require [clojure.math :as math]))
44

55
;; Height of isosceles triangle with edge length 2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
^{:clay {:quarto {:draft true}}}
2-
(ns civitas.json-ld
2+
(ns civitas.explorer.json-ld
33
(:require [clojure.data.json :as json]))
44

55
(def ^:dynamic *ldns* "civitas")
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
^{:clay {:quarto {:draft true}}}
2-
(ns civitas.layout
2+
(ns civitas.explorer.layout
33
(:require [hiccup.core :as hiccup]
44
[scicloj.kindly.v4.kind :as kind]
5-
[civitas.db :as db]
6-
[civitas.geometry :as geom]
7-
[civitas.svg :as svg]))
5+
[civitas.explorer.db :as db]
6+
[civitas.explorer.geometry :as geom]
7+
[civitas.explorer.svg :as svg]))
88

99
(def colors
1010
(vec (remove nil? (map :color (:topics @db/db)))))
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
^{:clay {:quarto {:draft true}}}
2-
(ns civitas.metadata
2+
(ns civitas.explorer.metadata
33
(:require [babashka.fs :as fs]
44
[clj-yaml.core :as yaml]
55
[clojure.java.io :as io]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
^{:clay {:quarto {:draft true}}}
2-
(ns civitas.svg
3-
(:require [civitas.geometry :as geom]
2+
(ns civitas.explorer.svg
3+
(:require [civitas.explorer.geometry :as geom]
44
[clojure.string :as str]
55
[scicloj.kindly.v4.kind :as kind]))
66

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
^{:clay {:quarto {:draft true}}}
2-
(ns civitas.validator
2+
(ns civitas.explorer.validator
33
(:require [clojure.spec.alpha :as s]))
44

55
(s/def ::level #{0 1 2 3})

0 commit comments

Comments
 (0)