This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-04-19
Channels
- # announcements (2)
- # babashka (53)
- # beginners (71)
- # calva (15)
- # clerk (4)
- # cljfx (1)
- # clojure (18)
- # clojure-europe (13)
- # clojure-nl (1)
- # clojure-norway (26)
- # clojure-uk (4)
- # datascript (2)
- # datomic (3)
- # emacs (4)
- # events (1)
- # fulcro (45)
- # honeysql (2)
- # hyperfiddle (6)
- # missionary (8)
- # reitit (2)
- # releases (2)
- # shadow-cljs (10)
- # squint (33)
- # xtdb (4)
In clerk, is there a way to pass "base path" to the build process? I couldn't find an argument to the build! function that does that. The links doesn't work when I serve it in a subdirectory (like this: https://fredrikmeyer.net/intro-clojure/)
if you use nextjournal.clerk/doc-url
to link across documents, that should use relative paths (in the static build) see https://github.com/nextjournal/clerk/blob/eaf545898067dcaa9a2d6b5f0d525969ff5daa57/notebooks/document_linking.clj#L11-L16
Thanks! That looks like it is working.