73 Commits

Author SHA1 Message Date
Jeff Williams
f0224e9845 don't crash if a file does not contain any comments (#368) 2013-03-21 12:41:04 -07:00
Jeff Williams
370c1ea1e7 update plugin docs 2013-01-27 08:37:31 -08:00
Jeff Williams
87cd24728f allow plugins to be installed outside of the JSDoc directory (#277) 2013-01-27 07:56:43 -08:00
Jeff Williams
5df93a0136 improvements to eventDumper plugin 2013-01-26 08:07:09 -08:00
Jeff Williams
964f6e97e2 Merge branch 'master' of https://github.com/jsdoc3/jsdoc 2013-01-22 20:36:39 -08:00
Jeff Williams
5df4fd432d update the default template to generate pretty-printed source files (#208)
enabled by default. to disable pretty-printed source files, add the
property templates.default.outputSourceFiles: false to your conf.json
file.
2013-01-22 20:34:41 -08:00
mathematicalcoffee
7678689278 for jsdoc3/jsdoc3.github.com#5 - mention jsdoc/util/error in plugin docs 2013-01-18 14:43:42 +10:00
Jeff Williams
2ad44a6c6a remove stray console.log 2013-01-15 08:39:11 -08:00
Jeff Williams
5880a7bd79 add plugin that removes everything except JSDoc comments from source files (#304) 2013-01-15 08:26:31 -08:00
Jeff Williams
d73570defc make fs module consistent with Node.js (#211) 2012-12-26 19:03:05 -08:00
Jeff Williams
e4236eaa42 remove most globals from jsdoc.js (#287)
for clarity, also forward-declared all variables in main()
2012-12-25 04:55:50 -08:00
Jeff Williams
a17c90dfd2 deprecate env.dirname in favor of __dirname (#286)
plus some minor cleanup to address JSHint warnings
2012-12-23 09:45:11 -08:00
Jeff Williams
10cd4a077d get rid of superfluous [[string0]] on console when running tests 2012-10-30 22:55:32 -07:00
Jeff Williams
589eb300c8 add plugin to dump parser events to the console (#242) 2012-10-28 17:17:13 -07:00
Jeff Williams
65e4a47201 Merge branch 'master' of https://github.com/jsdoc3/jsdoc
Conflicts:
	plugins/prettyPrintSource.js
2012-10-20 15:37:54 -07:00
Jeff Williams
3f60724f92 fix JSHint errors (again) 2012-10-20 15:36:59 -07:00
Matthew Kastor
202357d4d0 jslint doesn't like comment switches
The block is toggled by deleting /*
/*// Explanation of junk
somejunk
//*/
2012-10-20 18:34:55 -04:00
Matthew Kastor
7ebf9c5976 prettyPrintSource now uses it's own template
now that the templates.js file is fixed, plugins can use templates
without trashing everything.
2012-10-20 18:20:33 -04:00
Jeff Williams
97e5cb9bf2 fix bad regexp in JSHint test; make plugins JSHint-clean 2012-10-20 15:06:56 -07:00
Jeff Williams
5295803fc7 replace all types of line endings 2012-10-19 22:07:42 -07:00
Jeff Williams
cab6e29ebd Merge branch 'markdown-refactor'
Conflicts:
	plugins/markdown.js
	rhino_modules/jsdoc/readme.js
	rhino_modules/jsdoc/tutorial.js
2012-10-19 21:34:44 -07:00
Matthew Kastor
b05e3bf147 Merge pull request #233 from matthewkastor/Fix-for-issue-#228-Pretty-Source
Adds Pretty Printed Source Code To Docs
2012-10-19 14:26:37 -07:00
Matthew Kastor
e36cb0f96b Markdown Input EOL Filtering
Added filters for input end of line character where evilstreak/markdown
was called because it chokes on `\r\n`. We'll have to do this to any
input to this markdown parser unless/until they accept my pull request
and we update the upstream source.

https://github.com/evilstreak/markdown-js/pull/64
2012-10-19 17:11:45 -04:00
Jeff Williams
97d289c65f refactor markdown-related code (#220) 2012-10-19 03:45:43 -07:00
Jeff Williams
409c62b22c don't set the github repo's nameWithOwner if the config is incomplete 2012-10-18 14:01:46 -07:00
Jeff Williams
0eeda4dd6a Merge pull request #230 from matthewkastor/Fix-for-issue-#227
Fix for issue #227 (typos in references to jsdocCommentFound events).
2012-10-18 08:20:08 -07:00
Matthew Kastor
838c4aad50 fixed typo 2012-10-17 15:28:20 -04:00
Matthew Kastor
c481cbdb32 apply white-space pre-wrap to all pretty code 2012-10-17 14:52:22 -04:00
Matthew Kastor
c502a8adc2 fs moved to func, can't dump here... 2012-10-17 14:38:56 -04:00
Matthew Kastor
77e2bd5f7a Adds Pretty Printed Source Code To Docs
Plugin generates pages using google prettify to highlight the source.
The three css files are the defaults that come with google prettify. The
plugin is set up to use the desert style as it's default stylesheet,
with prettify, sunburst and prettify-jsdoc listed as alternative
stylesheets.

Currently this plugin is not tied in with any template. There won't be
links in the documentation to bring you to the prettified source.
2012-10-17 03:21:10 -04:00
Jeff Williams
3c8437b9d9 replace GFM parser; package.json cleanup 2012-10-16 09:16:20 -07:00
Matthew Kastor
235ea57681 Fix for issue #227 jsDocComment Found typos.
All of the code refers to jsdocCommentFound but the documentation and
comments in the code refer to jsDocCommentFound. This confused someone
for understandable reasons. I've fixed the typos.
2012-10-16 11:16:06 -04:00
Jeff Williams
929e60dd99 update evilstreak markdown plugin; move to node_modules 2012-10-14 09:13:53 -07:00
Jeff Williams
8a58a72ae3 remove bogus test spec for markdown plugin 2012-10-14 08:53:42 -07:00
Jeff Williams
bf84d3cd1d say that comments must have leading asterisks when using Markdown (#177) 2012-09-17 21:59:47 -07:00
Michael Mathews
425e56f835 Merge pull request #157 from manix84/master
Verbose Output
2012-08-12 13:45:19 -07:00
Rob Taylor
1cc0907aa4 Adding verboseOutput test. 2012-08-08 20:53:56 +01:00
Rob Taylor
6193b418f7 Removing newDoclet, as I don't think it's necessary. 2012-08-08 19:20:55 +01:00
Rob Taylor
a378c9f0b9 Removing _config, as it bleeds into global, and I don't like that.
Moved fileBegin and newDoclet back onto the handlers namespace of
exports.
2012-08-08 19:03:40 +01:00
Rob Taylor
ab31150d9a First init of verboseOutput plugin. 2012-08-08 16:25:53 +01:00
Ludo Antonov
29b8ab5ff4 Adding a plugin that enables a @partial tag for re-usable partial documentation kept in separate files. 2012-07-25 22:00:04 -07:00
Jeff Williams
c43c183aaa disable JSHint's "asi" relaxing option 2012-07-06 07:40:24 -07:00
Jeff Williams
1951ea3821 enable JSHint's "undef" test 2012-07-04 16:22:08 -07:00
Jeff Williams
22e899fa9d change __dirname to env.dirname
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:37:17 -07:00
Michael Mathews
23d03835f7 Fixed confusing readmes that implied the entire configuration JSON should be replaced by a few entries. Protected against exception thrown when some config entries were missing. Closes Issue #126 2012-06-15 07:59:21 +01:00
Jannon Frank
7d97a17421 Merge pull request #117 from jannon/SmartTestRunner
Upgrade testing framework
2012-05-06 03:59:43 -07:00
Jannon
526a22673a Update readme docs 2012-05-06 03:41:04 -07:00
Jannon
a6f68d838c Plugin tests
Tests for the plugin framework as well as for the plugins shipping with JSDoc
2012-05-06 00:43:22 -07:00
Michael Mathews
85abf804a5 Merge pull request #114 from benblank/markdown
Improve Markdown support
2012-04-26 14:25:43 -07:00
Ben Blank
27d043d23e correct gfm example and add explanation for multiple parsers 2012-04-26 10:58:48 -07:00