Skip to content

Commit

Permalink
Move doc browser to classpath
Browse files Browse the repository at this point in the history
  • Loading branch information
mk committed Aug 29, 2023
1 parent 1585930 commit 69ea603
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions notebooks/doc.clj → src/nextjournal/clerk/doc.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
(ns doc
(ns nextjournal.clerk.doc
"Clerk's documentation browser."
{:nextjournal.clerk/visibility {:code :hide :result :hide}}
(:require [clojure.string :as str]
[nextjournal.clerk :as clerk]
Expand Down Expand Up @@ -29,8 +30,8 @@
#_(reset! !ns-query "")

^{::clerk/sync true}
(defonce !active-ns (atom "nextjournal.clerk.viewer"))
#_(reset! !active-ns "nextjournal.clerk.viewer")
(defonce !active-ns (atom ""))
#_(reset! !active-ns "nextjournal.clerk")

(defn escape-pattern-str [s]
(let [esc-chars "[](){}<>*&^%$#!\\|? "]
Expand Down

0 comments on commit 69ea603

Please sign in to comment.