Commit graph

290 commits

Author SHA1 Message Date
fogus
934a337e30 ns without a docstring or declarations was causing NPE 2011-01-25 12:18:17 -05:00
fogus
dd65c7ccb2 changing official example url 2011-01-25 11:52:11 -05:00
fogus
7624e83bd5 The lookup of resources is dependant on the mode that marg is run. Using a dynamic var to set the resources dir depending on the conext. 2011-01-25 11:48:46 -05:00
fogus
4f5fb82785 When stripping docstrings from source the comparison was failing with those containing embedded ". This fix puts them back in before striping them out 2011-01-25 11:25:16 -05:00
fogus
ee68f253ac cleaning up some of the docs 2011-01-25 11:21:18 -05:00
fogus
d65715b7a6 Fixed the defmethod parser. Also added some core heading dialogue. Added resources/ to the front of the slurpable js filenames to fix lein marg running off of the live source 2011-01-25 10:12:06 -05:00
Nicolas Buduroi
0709fd6598 Fixed support for non-standard def* forms. 2011-01-19 21:40:57 -05:00
Nicolas Buduroi
30aec7ca6f Fixed small bug in parser when a namespace don't have a docstring and also made it possible to parse inexistent namespaces. 2011-01-19 15:21:50 -05:00
Nicolas Buduroi
a92588f993 Fixed parser issue where the LispReader returned comments as forms which broke the map reader and potentially other readers. 2011-01-19 14:28:17 -05:00
fogus
ad6005f696 minor doc fixes in html.clj 2011-01-18 15:38:30 -05:00
fogus
baf5b4ff1e Fixed the namespace doc extraction 2011-01-18 15:31:01 -05:00
fogus
b4d55c409c Pulling out the form parse logic into multimethods to provide a finer level of per-form parse control. This would also form the hook that others can use to provide their own parsing. 2011-01-18 12:54:43 -05:00
Nicolas Buduroi
78b8b4c0f1 Improved integration into Leiningen for better help summary and message. 2011-01-17 16:44:44 -05:00
Nicolas Buduroi
c8d94fd092 Updated TODO list. 2011-01-17 12:52:40 -05:00
Nicolas Buduroi
3da5b13d8d Fixed the Leiningen plugin to work with the new parser. 2011-01-17 12:31:11 -05:00
Nicolas Buduroi
421e5687fb Made the parser merge adjacent code blocks. 2011-01-16 22:35:37 -05:00
Nicolas Buduroi
6985245bc1 Made comments block adjacent to code block part of their documentation. 2011-01-16 21:56:49 -05:00
Nicolas Buduroi
6317084736 Made parser all types of forms. 2011-01-16 21:35:09 -05:00
Nicolas Buduroi
97e9877d60 Integrated improved parser. 2011-01-16 20:05:28 -05:00
Nicolas Buduroi
db934b93fb Fixed bug when no source files are specified. 2011-01-15 20:12:36 -05:00
Nicolas Buduroi
11c7c5fdad Added a command line option for specifying the file to which the documentation will be written. 2011-01-15 19:37:28 -05:00
Nicolas Buduroi
1dc9de0066 Added command line option to use custom documentation directory path. 2011-01-15 19:33:47 -05:00
fogus
c0ff51db2c repushed v4.0.0 pom for markdownj 2011-01-14 23:01:51 -05:00
fogus
fab8b91988 slight mod to work out self-parse test 2011-01-13 14:32:22 -05:00
fogus
8327dafe3e Added first blush parser leveraging the Clojure reader hotpatched at runtime 2011-01-13 14:28:12 -05:00
fogus
f2c5de4661 adding new failure cases in preparation for the new parser 2011-01-13 13:29:47 -05:00
fogus
440ee35097 skeleton of the new parser 2011-01-13 13:29:18 -05:00
Michael Harrison
e602711bec Adds more comments, rejiggers a few fns.
- Breaks project content parsing into separate fn to use destructuring
  instead of second, nth, and drop.
2011-01-11 21:07:01 -05:00
Michael Harrison
d0c07ff9f0 Changes order of args in html/uberdoc-html
- It seems clearer to have the args in the same order as they appear in
  core/uberdoc! -- 1) output-file-path, 2) source docs, 3) metadata.
2011-01-11 21:05:38 -05:00
fogus
f9f212ffbf Adding :eval-in-leiningen per Phil's advice 2011-01-11 16:28:11 -05:00
fogus
16b3be211c Updated site example 2011-01-07 14:27:29 -05:00
fogus
19b665e42d Pulled the call to (parse-project-file) out of uberdocbang so that it can be used in a more generic way. The old way was causing heartburn for Maven integration. 2011-01-07 14:21:46 -05:00
zkim
db80a2abbc Changed html title tag to include project name, added meta description tag, updated example output.
Closes #7
2011-01-07 10:40:40 -07:00
fogus
6370828480 Added support for defmacro, defmulti, and defmethod. bumped version number 2011-01-05 13:20:04 -05:00
fogus
f10fa0456d Added meta tag to the generate html head for utf-8 support 2011-01-05 12:59:08 -05:00
fogus
8b3ab21e85 Added support for defprotocol docstring 2011-01-05 12:36:27 -05:00
fogus
1e257ba0a1 Added official site 2011-01-05 09:06:54 -05:00
fogus
fe12b05a18 Bumped version number to account for -main changes 2011-01-04 10:41:06 -05:00
fogus
6cacdcb07f Updated README to offer more information on getting started/using 2011-01-04 10:34:32 -05:00
fogus
b60a453a1b Added :gen-class directive and Leiningen :main to generate useable uberjar 2011-01-04 10:34:02 -05:00
zkim
91a2c90f46 Added an example from fnparse to the problem-cases section. 2010-12-23 16:55:40 -07:00
fogus
9a22e77c96 Bumped version number and added more problem cases 2010-12-23 09:17:13 -05:00
zkim
768025bcc1 Had docstrings and arg lists transposed in a few places, which the fix for issue #4 highlighted. Updated example-output/uberdoc.html. 2010-12-23 03:14:27 -07:00
zkim
04a139fc47 Joined the two docstring strings on the marg cake task, bumped version to 0.2.1 in the comments. 2010-12-23 03:06:57 -07:00
zkim
80e4be8fe5 Forgot to add the problem-cases.general. 2010-12-23 03:03:55 -07:00
zkim
c7aa687e88 Fix for https://github.com/fogus/marginalia/issues/#issue/4, see line 135 in core.clj. 2010-12-23 02:53:17 -07:00
fogus
191fe3b35e minor change to version numbe rlisted in lein plugin 2010-12-22 22:37:03 -05:00
Brenton Ashworth
63635acdd8 Example configuration for using MathJax to format Latex equations. 2010-12-23 10:59:26 +08:00
Brenton Ashworth
d6dca35040 Add opt-resources-html to allow for external javascript and css to be used in generated docs. External resources are configured in project.clj. 2010-12-23 10:59:26 +08:00
fogus
aed10e3288 Just testing out markdown images 2010-12-22 14:35:14 -05:00