146 Commits

Author SHA1 Message Date
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
Michael Mathews
31c8554d57 Fix for @members not appearing in the output. 2012-05-29 20:31:57 +01:00
Michael Mathews
59655252e1 Fix for @returns type and description not appearing in the output. 2012-05-29 20:19:07 +01:00
Michael Mathews
84f4e54c55 Running in normal mode should be quiet to allow results to be piped in to other processes. 2012-05-29 16:34:18 +01:00
Michael Mathews
6580e17629 Added support for @example in haruki. Added Readme with informations about haruki. 2012-05-29 16:27:49 +01:00
Michael Mathews
2cdb27fd6d Changes to default template to support index page [submitted by reklis (Steven Fusco)]. 2012-05-14 17:18:48 +01:00
Michael Mathews
402159b8a8 Merge pull request #113 from kuebk/template/index
Creating index.html in default template
2012-04-26 14:30:08 -07:00
Michael Mathews
85abf804a5 Merge pull request #114 from benblank/markdown
Improve Markdown support
2012-04-26 14:25:43 -07:00
Jakub Lekstan
96dcf0c9c5 Creating index.html in default template 2012-04-25 11:12:31 +02:00
Ben Blank
22ce570985 tweak default template to support <p> tags within descriptions 2012-04-24 17:19:44 -07:00
Johan Walles
2337084349 Explicitly set background to white and scroll bars to auto.
When displaying documentation pages inside of the Spotify client
without this change, the pages have the wrong background color and
aren't scrollable.
2012-04-13 11:16:19 +02:00
Jannon
a3cdf01397 Adding HTML5Shiv for crappy IE 2012-03-21 00:12:31 -07:00
Jannon Frank
eeb6611ea5 Merge pull request #78 from rafalwrzeszcz/feature-template-helper
Feature template helper
2012-03-16 01:56:53 -07:00
Jannon Frank
68f264f468 Merge pull request #75 from rafalwrzeszcz/feature-tutorial-fixes
Fixed tutorials tree generation.
2012-03-15 17:57:51 -07:00
Jannon
7b12033b5a Always making source file list available to templates
Previously, the list of source files was only added to a package doclet and passed through to the templates if there was a package.json specified.  Now, that doclet is always added.  If there is no package.json, then only the 'files' property of the doclet will be defined.
2012-02-22 14:27:06 -08:00
Rafał Wrzeszcz
65bd3c0069 Dropped dependency on underscore/underscore - Rhino 1.7 (which we use) implements ECMAScript5. 2012-01-04 12:46:41 +01:00
Rafał Wrzeszcz
cd3abea318 Dropped print() calls in template in favor of templating engine. 2012-01-04 11:50:33 +01:00