   midje.doc
   (:use clojure.pprint)
   (:require [midje.util.colorize :as color]
+            [clojure.java.browse :as browse]
             [midje.util.ecosystem :as ecosystem]))
 
 (def appropriate? ecosystem/running-in-repl?)
-(def for-sweet '[midje-help midje-configuration-help])
-(def for-repl  '[midje-repl-help print-level-help])
+(def for-sweet '[midje-help
+                 midje-configuration-help
+                 print-level-help
+                 guide])
+(def for-repl  '[midje-repl-help])
 
 (defn repl-notice []
   (println (color/note "Run `(midje-repl-help)` for descriptions of Midje repl functions.")))

(defn midje-notice []
  (println (color/note "For Midje usage, run `(midje-help)`."))
  (println (color/note "For Midje configuration options, run `(midje-configuration-help)`.")))

(defn midje-repl-help
  "Midje repl help"

(defn midje-configuration-help
  "What can go in the .midje.clj files."
  []
  (println "On startup, Midje loads ${HOME}/.midje.clj and ./.midje.clj")
  (println "(in that order). To affect the default configuration, use")
  (println "code like this:")
  (println "    (override-with :visible-deprecation false")
  (println "                   :visible-future false")
  (println "                   :print-level :print-namespaces)")
  (println)
  (println "You can temporarily override the configuration like this:")
  (println "    (midje.config/with-augmented-config {:print-level :print-no-summary}")
  (println "       <forms>...)")
  (println)
  (println "------ Configuration keywords")
  (println ":print-level                  ; Verbosity of printing.")
  (println "                              ; See `(print-level-help)`")
  (println)
  (println ":check-after-creation         ; Should facts be checked as they're loaded?")
  (println "                              ; Default true.")
  (println)
  (println ":visible-deprecation          ; Whether information about deprecated")
  (println "                              ; features or functions is printed.")
  (println "                              ; Default true.")
  (println)
  (println ":visible-future               ; Whether future facts produce output.")
  (println "                              ; Default true.")
  (println "                              ; More: `(guide future-facts)`")
  (println)
  (println ":partial-prerequisites        ; Whether the real function can be used.")
  (println "                              ; Default false.")
  (println "                              ; More: `(guide partial-prerequisites)`")
  (println)
  )

