162 Commits

Author SHA1 Message Date
Jeff Williams
b07d19f43a show complete info for global functions on Global page (#285) 2012-12-21 11:39:36 -08:00
Jeff Williams
2c597b6505 omit signature from event name headings (#266) 2012-12-02 12:11:58 -08:00
Jeff Williams
2de416da7d fix broken hrefs in output files (#264) 2012-12-02 08:03:54 -08:00
Jeff Williams
d5991a2d71 don't overwrite pages like 'index.html' if a namespace has a name like 'index' (#244)
also, improved the default template's efficiency--we now create lists
of all classes/members/etc. just once, instead of once per longname
2012-11-08 07:47:05 -08:00
Mark Wang
ea7f8cb408 Fix #253 2012-11-06 18:22:43 -08:00
Matthew Kastor
efaeea4d24 Moved css files into prettyPrintSource template
The three css files moved were not used by the default template. I only
had them there so the prettyPrintSource plugin would work. Since plugins
can use templates without ruining everything I've moved the css files to
their proper place and copy them over in
templates\prettyPrintSource\publish.js This makes it possible to enable
the plugin and get the same results with any template. Now all I need to
figure out is how to inject links to the generated pages into the
docs...
2012-10-20 23:13:16 -04: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
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
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
3b937e557f use underscore.js for templates instead of a customized subset 2012-10-16 05:34:50 -07:00
Jeff Williams
bdee90463f replace JSON-to-XML serializer 2012-10-15 20:47:08 -07:00
Jeff Williams
157d5c89ad update TaffyDB; move to node_modules 2012-10-15 05:22:13 -07:00
Jeff Williams
10a54620fc use consistent path separators on windows (#207) 2012-10-04 09:20:44 -07:00
Jeff Williams
716adbabf3 fix error in exceptions template (#199) 2012-09-23 21:15:46 -07:00
Jeff Williams
ec47356ee6 make templates work from relative and absolute paths (#196, #197, #198) 2012-09-23 21:06:36 -07:00
Jeff Williams
add0b09638 don't show "type" section if there are no types to display (#195) 2012-09-22 11:22:01 -07:00
Jeff Williams
c890b0cf79 replace SHJS syntax highlighter with prettify.js (#193) 2012-09-21 14:17:12 -07:00
Jeff Williams
c20f399d1d show type of events; link to type of return values (#192) 2012-09-21 11:11:47 -07:00
Michael Mathews
3bdd67e737 Merge pull request #191 from steidinger/template-overwrites-css-files
Proposed fix for Issue #190 (default template truncates CSS files on Windows)
2012-09-20 14:49:47 -07:00
Jeff Williams
6b95d8b29d replace broken tag in tutorial template (#188) 2012-09-20 08:06:34 -07:00
Frank Steidinger
132a6da310 Prevent default template from trying to copy its static files into themselves if env.dirname contains a backslash. Otherwise they end up empty.
Filenames provided by fs.ls already use slashes instead of backslashes so the replace(fromDir, toDir) does nothing and the file is truncated. (Issue #190)
2012-09-20 12:35:27 +02:00
Jeff Williams
4e0af2967a refactor default template and templateHelper.js (#186) 2012-09-17 21:50:26 -07:00
Jeff Williams
b3c717b8cb don't throw an exception if a parameter has no name (closes #175) 2012-09-09 13:44:19 -07:00
Jeff Williams
bf2fd75c3f use 'inherited' property in default template (closes #154) 2012-09-09 08:29:47 -07:00
Jeff Williams
d22d59b315 improve error message when "-d console" isn't used (closes #174); JSHint cleanup 2012-09-08 18:15:20 -07:00
Jeff Williams
f5e3f0f31d save output in the current working directory, not the JSDoc directory 2012-09-03 10:23:25 -07:00
Jeff Williams
ef6f2e92d5 use arrays instead of objects in Haruki template. fixes #153. (thanks to @kpozin for the fix!) 2012-08-22 20:07:33 -07:00
Jeff Williams
a3bf78410b Merge pull request #166 from hegemonic/exports-publish 2012-08-22 08:57:58 -07:00
Jeff Williams
d091675cfa make 'fs' and 'path' modules more consistent with Node.js 2012-08-19 15:25:02 -07:00
Jeff Williams
c43c183aaa disable JSHint's "asi" relaxing option 2012-07-06 07:40:24 -07:00
Jeff Williams
4524af7a09 enable JSHint's "latedef" test 2012-07-06 07:22:00 -07:00
Jeff Williams
ce287745f1 enable JSDoc's "trailing" test 2012-07-04 16:27:06 -07:00
Jeff Williams
1951ea3821 enable JSHint's "undef" test 2012-07-04 16:22:08 -07:00
Jeff Williams
dabb0b4410 enable JSHint's "immed" test 2012-07-04 16:01:55 -07:00
Jeff Williams
769a71298e enable JSHint's "forin" test 2012-07-04 15:59:33 -07:00
Jeff Williams
324af73dcf enable JSHint's "curly" test 2012-07-04 15:19:31 -07:00
Jeff Williams
da39bdd302 rename Object.prototype.hasOwnProperty alias to hasOwnProp
this fixes a JSHint error that cannot be suppressed.
2012-07-03 17:45:44 -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
6d914ee30e Added support for including README.md content on the output index page. Closes #128 2012-06-21 22:46:32 +01:00
Michael Mathews
eb0186b96a Do not show a header for Classes if the documentation contains no classes. 2012-06-15 07:57:19 +01:00
Michael Mathews
ef37251464 Fix for exception thrown when documenting symbols with special names like "hasOwnProperty". Closes #125. 2012-06-07 22:36:22 +01:00
Michael Mathews
1efee9d908 Added link to index page, added files and package information to index page content. Closes #51. 2012-06-01 09:47:47 +01:00
Michael Mathews
4ce17195ae Fix for classes in the navigation not being sorted by name when those classes were members of different modules. 2012-06-01 00:32:51 +01:00
Michael Mathews
fed3fd076e Clarified docs around creating and invoking custom templates. Closes issue #120 2012-05-30 21:15:29 +01:00
Michael Mathews
af0252c863 Clarified docs around creating and invoking custom templates. Closes issue #120 2012-05-30 21:13:41 +01:00
Michael Mathews
d74bb87ec4 Removed stray console.log. 2012-05-30 07:00:10 +01:00
Michael Mathews
5cb6bb4cd1 Updates to the Haruki README, added contact info. 2012-05-29 20:32:34 +01:00