File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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}}}}
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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]
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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" )
Original file line number Diff line number Diff line change 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)))))
Original file line number Diff line number Diff line change 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]
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 })
You can’t perform that action at this time.
0 commit comments