             [clojuredocs.util :as util]
             [clojuredocs.config :as config]
             [clojuredocs.search :as search]
+            [clojuredocs.search.static :as search.static]
             [clojuredocs.pages.common :as common]
             [clojuredocs.pages.search-feedback :as search-feedback]
             [clojuredocs.pages.intro :as intro]

  (or (lookup-var ns name)
      (lookup-var (expand-ns ns) name)))

(defroutes routes
  (GET "/robots.txt" [] robots-resp)
  (GET "/logout" [] logout-resp)
  (GET "/examples-styleguide" [] examples-styleguide-handler)
  (GET "/core-library" [] core-library-handler)

  ;; Search Feedback
  (GET "/search-feedback" [] search-feedback/page-handler)

  (GET "/dev/styleguide/examples" [] dev/examples-styleguide-handler)
  (GET "/dev/search-perf" [] dev/perf-handler)
  (GET "/dev/canary" [] dev/canary-tests-handler)
  (GET "/dev/api" [] dev/api-docs-handler)

  (GET "/gh-callback*" {{path :*} :route-params} (gh-auth/callback-handler path))
  (GET "/quickref" [] quickref/page-handler)
