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
Jeff Williams
3fed4ebf32
Merge pull request #293 from mathematicalcoffee/bugfix-gfm-hardwrap
...
Bugfix: github-flavoured-markdown was ignoring the hardwrap configuration.
2013-01-17 18:12:23 -08:00
Jeff Williams
b814da3e8b
support -v option; provide more detailed version info ( #303 )
2013-01-17 18:06:31 -08:00
mathematicalcoffee
ac14eda668
added --version switch.
2013-01-18 10:16:41 +10:00
Jeff Williams
4a57a3718c
escape less-than sign in signature headings ( #307 )
2013-01-17 07:20:23 -08:00
mathematicalcoffee
24a3c6b448
filled out markdown tests for getParser to test asking for specific parsers
2012-12-28 23:55:39 +10:00
mathematicalcoffee
2fd96d2bb7
fix: env.conf.markdown.hardwrap is now respected.
2012-12-28 23:55:33 +10:00
Jeff Williams
d73570defc
make fs module consistent with Node.js ( #211 )
2012-12-26 19:03:05 -08:00
Jeff Williams
ce8565f6e0
minor corrections to test
2012-12-25 05:01:56 -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
6c9ef48324
clean up VM-specific code ( #210 )
2012-12-23 17:57:38 -08:00
Jeff Williams
d5877c1217
move rhino_modules/ to lib/
2012-12-23 14:09:37 -08:00
Jeff Williams
3932bc8f5f
remove common/util (no longer needed)
2012-12-23 10:24:49 -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
cd2fba4a3a
use safer version of hasOwnProperty
2012-12-23 08:49:39 -08:00
Jeff Williams
f79728ed62
Merge pull request #281 from mathematicalcoffee/template-event-list-in-index
...
Default template: Event list in right hand sidebar
2012-12-21 23:11:30 -08:00
Jeff Williams
eb4f65eae4
Merge pull request #280 from mathematicalcoffee/bugfix-nested-event-longnames
...
Nested events don't have longname set properly if order of tags is wrong.
2012-12-21 22:01:38 -08:00
Jeff Williams
07a30a5c2d
on windows, when the module name isn't documented, generate an appropriate name ( #279 )
...
also removes 'file:' from the beginning of generated names in overview
tags, which seems like an appropriate change.
2012-12-21 21:50:48 -08:00
mathematicalcoffee
9b785243b8
added tests for getMember
2012-12-11 11:29:38 +10:00
mathematicalcoffee
de7332a4f8
fixed longname resolution for nested events, added tests for it
2012-12-11 09:53:31 +10:00
Jeff Williams
8feb06eccb
migrate the tests that were created for #258 (which was reverted)
2012-12-04 23:16:50 -08:00
Jeff Williams
8bc7f7246a
Revert "support a raw array of doclets in addition to TaffyDB objects ( #258 )"
...
This reverts commit aad7b4896e503b66a29f46c02cc08f84e5535f42.
Conflicts:
test/specs/jsdoc/util/templateHelper.js
2012-12-04 21:53:17 -08:00
Jeff Williams
3227854077
cleanup
2012-12-02 18:25:19 -08:00
Jeff Williams
fd79b328e6
Merge pull request #271 from mathematicalcoffee/improve-link-tag
...
Improve link tag, jsdoc3/jsdoc#250
2012-12-02 18:18:25 -08:00
Jeff Williams
2de416da7d
fix broken hrefs in output files ( #264 )
2012-12-02 08:03:54 -08:00
mathematicalcoffee
8e67e866fd
moved configuration variables from conf.tags to conf.templates
2012-11-27 09:33:59 +10:00
mathematicalcoffee
266d6c7a1f
implemented {@linkplain}, {@linkcode}, monospaceLinks config (all links in monospace, false by default) and cleverLinks config (if true, links to symbols are monospace)
2012-11-26 21:27:59 +10:00
mathematicalcoffee
edb1be2a0d
first attempt at adding cleverLinks and monospaceLinks features; needs testing
2012-11-26 17:17:21 +10:00
mathematicalcoffee
73af01d213
Support link text for symbols and allow both space and pipe as link delimiters for #250
2012-11-26 16:22:55 +10:00
mathematicalcoffee
f131b4f356
added tests for existing {@link http://} and {@link href|text} features
2012-11-26 15:43:51 +10:00
Jeff Williams
df39b6458a
Merge pull request #262 from mathematicalcoffee/fix-for-issue-259
...
jsdoc3/jsdoc#259 : protect underscores in {@link} tags from markdown
2012-11-20 21:58:31 -08:00
Jeff Williams
aad7b4896e
support a raw array of doclets in addition to TaffyDB objects ( #258 )
2012-11-20 21:55:49 -08:00
mathematicalcoffee
280d98f00a
Moved underscore escaping to a dedicated function, fixed typo in test comment (evilstreak -> gfm)
2012-11-21 15:52:59 +10:00
mathematicalcoffee
0973e636fc
fix for jsdoc3/jsdoc#259 : underscores in {@link} tags should not be touched by the markdown parser
2012-11-21 09:55:13 +10:00
Jeff Williams
60e15098e5
stub out tests for util/markdown.js
2012-11-16 08:02:57 -08:00
Jeff Williams
05ae20e060
stub out missing tests; reorganize to match the target file's ordering
2012-11-12 07:25:17 -08:00
Jeff Williams
dc75f6328b
fix several tutorial-related issues ( #222 )
...
- Tutorial code allowed JSON files to have a .js extension, then tried
to parse all .js files as JSON. The code now only looks for JSON files
with a .json extension. This allows .js files and tutorials to live in
the same directory.
- Recent changes caused tutorials to be generated with the wrong
filename. This is now fixed.
2012-11-11 03:17:02 -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
Jeff Williams
b0536de3ff
improve parsing of --query parameter
...
The argument parser now converts the query string to an object, and it
casts booleans and numbers in the query string to the correct
JavaScript types.
2012-11-06 20:24:48 -08:00
Jeff Williams
7cd2737306
reorganize/rename option-parsing files, plus some minor cleanup
2012-11-06 05:15:22 -08:00
Jeff Williams
42711b3cf8
provide Node.js' 'querystring' module
2012-11-05 22:43:46 -08:00
Jeff Williams
35ac56fdd0
replace events and MD5 modules with equivalent Node.js shims
...
one notable change as a result: you now call emitter.emit() instead of
emitter.fire().
2012-10-30 22:49:04 -07:00
Jeff Williams
ddbe0315d4
if a member name is the same as its namespace's name, set the member's longname correctly ( #214 )
2012-10-29 20:10:35 -07:00
Jeff Williams
c0d9b37cf5
set type name correctly for Closure Compiler types ( #226 )
2012-10-28 20:07:04 -07:00
Jeff Williams
b8c54e4e0a
run async test in parallel, not in series
2012-10-24 20:41:28 -07:00
Jeff Williams
8dea758764
fix test for JSHint cleanliness
2012-10-24 08:58:44 -07:00
Jeff Williams
993d0fe49c
create a fake async file I/O method (fs.readFile); use it in a test as a proof of concept
2012-10-23 22:06:33 -07:00
Jeff Williams
97e5cb9bf2
fix bad regexp in JSHint test; make plugins JSHint-clean
2012-10-20 15:06:56 -07:00
Jeff Williams
6adf120a0f
remove irrelevant test that was out of sync with default config
2012-10-19 22:07:26 -07:00
Jeff Williams
05b2331d6e
accommodate Windows paths
2012-10-19 21:59:46 -07:00