Commit graph

263 commits

Author SHA1 Message Date
Fogus
f292c879d9 Merge pull request #36 from budu/dev
Improved parser substantially!
2011-05-11 12:35:27 -07:00
fogus
e89d5bf7aa Releasing v0.5.1 2011-05-11 09:04:19 -04:00
fogus
fbb3ff9612 Releasing v0.5.1 2011-05-11 08:57:53 -04:00
Anthony Grimes
9c50425696 Added cake documentation to the README. 2011-05-10 22:36:15 +08:00
Nicolas Buduroi
c3009ea6c4 Recursively dispatch form to handle definitions wrapped into some other form. 2011-04-29 15:35:19 -04:00
Nicolas Buduroi
cfc5b0ff86 Improved strip-docstring to also remove empty metadata map. 2011-04-29 14:29:31 -04:00
Nicolas Buduroi
3f63422e5c Cleaned-up extract-common-docstring and made it ignore forms in which the second item isn't a symbol. 2011-04-27 16:34:08 -04:00
Raynes
70a0b2f6bc Fix cake plugin. 2011-04-22 10:02:08 +08:00
Nicolas Buduroi
500f88f037 Changed Hiccup dependency to 0.3.4 version. 2011-04-08 09:32:14 +08:00
Nicolas Buduroi
df9f2b4140 Fixed HTML escaping issues and clean-up code. 2011-04-08 09:32:14 +08:00
Nicolas Buduroi
ae24c5d54c Removed code to extract defmethod docstring has this feature isn't supported by Clojure yet. 2011-03-14 07:57:16 +08:00
Nicolas Buduroi
8c8b9648fd Fixed issues with angled brackets, made them HTML entities. 2011-03-14 07:57:16 +08:00
fogus
e98709fb87 adding peeps section in README 2011-03-01 20:55:22 -05:00
Michael Harrison
88fd30e627 Corrects name of parse-project-form fn 2011-03-01 16:12:41 -05:00
Michael Harrison
4f08a7d634 Merge branch 'master' into more_marginalia
Conflicts:
	src/marginalia/core.clj
	src/marginalia/html.clj

Merged by accepting changes to definition and usage of
  html/uberdoc-html
2011-03-01 12:27:21 -05:00
fogus
e1b1a97dd8 Bumped version to 0.5.0 2011-02-24 10:40:56 -05:00
fogus
20d2bdbd49 Merge branch 'master' of github.com:fogus/marginalia 2011-02-24 10:14:01 -05:00
fogus
7144c13764 Tiny homage to the CL standard 2011-02-24 10:13:56 -05:00
zkim
341a30508f Added new regex to shBrushClojure.js to fix gt & lt issues, moved css includes above js includes in marginalia.html/page-template to fix non-deterministic rendering problems in chrome. See problem-cases/general for verification of fix.
Issue #17 https://github.com/fogus/marginalia/issues#issue/17
2011-02-22 22:59:11 -07:00
zkim
6f890ed263 Added binding of marginalia.html/*resources* to "" in the lein plugin. 2011-02-22 22:36:40 -07:00
zkim
b897d09c44 Removed unused output-file-name param from uberdoc-html. 2011-02-22 21:28:22 -07:00
fogus
3dc33a3a43 preliminary ideas on how to handle embedded docstrings 2011-02-10 15:42:36 -05:00
Michael Harrison
2a654c2b85 Merge branch 'master' into more_marginalia
This merges Fogus's changes Jan 7 - Jan 25 into goodmike's banch for
  additional comments.
Conflicts:
	src/marginalia/core.clj
2011-02-01 09:18:32 -05:00
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