This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-04-24
Channels
- # aws-lambda (1)
- # beginners (99)
- # boot (46)
- # cider (8)
- # cljs-dev (20)
- # cljsrn (37)
- # clojure (189)
- # clojure-dev (22)
- # clojure-dusseldorf (28)
- # clojure-italy (1)
- # clojure-russia (28)
- # clojure-spec (10)
- # clojure-uk (33)
- # clojurebridge (1)
- # clojurescript (64)
- # core-matrix (2)
- # css (3)
- # cursive (3)
- # datascript (34)
- # datomic (101)
- # defnpodcast (2)
- # dirac (5)
- # events (1)
- # funcool (3)
- # ldnclj (1)
- # lumo (11)
- # mount (1)
- # off-topic (95)
- # pedestal (2)
- # perun (10)
- # re-frame (3)
- # reagent (6)
- # ring-swagger (4)
- # specter (102)
- # test-check (1)
- # untangled (1)
- # vim (8)
- # yada (17)
@bhagany I usually just set :out-dir
to "."
but that doesn’t help with 0.4.2-SNAPSHOT because there’s also the global :doc-root
metadata and I don’t quite understand how these two interact…
@martinklepsch okay, I see. I think I can explain
the way I think of it is, :out-dir
is the path relative to root where a file is written, and :doc-root
is the part of the path relative to the root that files are intended to be served from
so, for instance, when we default both :out-dir
and :doc-root
to public
, we're saying, "output files to public
, and then we're also going to serve them from public
"
The interaction between them is used for things like calculating permalinks and canonical urls
I thought I tried setting doc root to ""...
I use "." For out-dir most of the time I think that might be breaking some of the regex handling there