Skip to content
Snippets Groups Projects
Commit 8cf15e5f authored by Cam Saül's avatar Cam Saül
Browse files

Include default value in Settings dox

parent dfd2fc6c
No related branches found
No related tags found
No related merge requests found
......@@ -142,9 +142,8 @@
(format "You can also set its value with the env var `MB_%s`.\n"
(s/upper-case (s/replace (name symb) #"-" "_")))
"Clear its value by calling\n\n"
(format " (%s nil)" symb)
(when default-value
(format "\n\nIts default value is `%s`." default-value))))
(format " (%s nil)\n\n" symb)
(format "Its default value is `%s`." default-value)))
(defmacro defsetting
"Defines a new `Setting` that will be added to the DB at some point in the future.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment