182 Commits

Author SHA1 Message Date
Jeff Williams
8663cc420f Merge pull request #532 from tubalmartin/feature-show-linenumbers
Feature: Show linenumbers with working anchors and highlight anchored line.
2013-11-30 11:13:12 -08:00
Jeff Williams
f6d93296c7 "sans-serif" needs a hyphen (#538) 2013-11-26 07:27:15 -08:00
Túbal Martín
2447c035c2 Select source code only
Works on Chrome, FF, Opera, Safari, IE10+.
More info about compatibility: http://caniuse.com/#feat=user-select-none
2013-11-16 21:43:59 +01:00
Túbal Martín
78f39383f3 Fix for long numbers in line numbers column (up to 5 digits which should be enough). 2013-11-15 15:11:10 +01:00
Túbal Martín
7ba1d5da6b Format according to JSdoc style guidelines. 2013-11-14 17:45:55 +01:00
Túbal Martín
6ce7a5a36f Make anchors work again and highlight the anchored line. 2013-11-14 16:58:38 +01:00
Túbal Martín
86db992861 Show line numbers in source code. 2013-11-14 14:16:14 +01:00
Jeff Williams
f55feb1a0e 'use strict'ify 2013-11-11 23:49:54 -08:00
Jeff Williams
ac88f30936 escape @example tag contents (#511) 2013-11-07 08:26:15 -08:00
Jeff Williams
f958ab0fd2 prevent doclet paths from being shortened twice (#514) 2013-11-05 20:52:59 -08:00
Jeff Williams
751bea1b0a fixes for Node.js compatibility (see details)
- new Rhino .jar to help find module paths
(https://github.com/hegemonic/rhino/commit/31b70105)
- make __dirname and process.cwd() provide the current module path; use
only env.dirname for JSDoc's home dir; fix callers
- get rid of jsdoc/util/include (and update test framework accordingly)
- avoid running Rhino/Node.js tests on the wrong runtime
- remove support for global 'publish' function, which relied upon
jsdoc/util/include
- update jsdoc/util/dumper for consistency with Node.js'
JSON.stringify()
- fix jsdoc/util/runtime to detect Node.js correctly
- add Node.js versions of jsdoc/fs and jsdoc/path
- other minor cleanup
2013-10-25 23:30:56 -07:00
Jeff Williams
9745685dde make the fs.statSync shim throw an error (consistent with Node.js) 2013-10-23 09:32:20 -07:00
livelazily
2b845d7590 read source files using user defined encodeing, fix #496 2013-09-28 15:40:32 +08:00
Kienz
f7b6bd6988 Add class line to span-tags for line-numbers
Update css
2013-08-18 10:33:53 +02:00
Kienz
b4029d0559 Fix for jump to source file line 2013-08-12 12:41:33 +02:00
Jeff Williams
912f548343 make the default template generate pretty-printed source files by default (#454) 2013-08-04 23:46:21 -07:00
Jeff Williams
a2f947bd34 change 'virtual' to 'abstract' in default template output (#432) 2013-08-04 23:34:21 -07:00
Jeff Williams
01ce3042d1 prevent crashes in lenient mode when a returns tag has no value (#451) 2013-08-04 18:07:27 -07:00
Ernst Haagsman
70109a2956 @default tag with object literals
Changed boolean 'doclet.defaultobject' to 'doclet.defaultvaluetype' field. Improved unit testing and fixed template.
2013-05-15 10:54:55 +02:00
Ernst Haagsman
9af5ea424e @default tag: added support for object literal defaults
Default object literals are now stored as a string. In the default
template they are shown with syntax highlighting.
2013-05-09 14:38:14 +02:00
Jeff Williams
f97803ad69 use Object.keys instead of Object.hasOwnProperty where possible 2013-05-02 20:06:04 -07:00
Jeff Williams
0042847a0d copy user-specific static files to the default template's output directory (#393) 2013-04-30 20:57:16 -07:00
Jeff Williams
74ad8efe39 present multiple exceptions more clearly (#389) 2013-04-20 22:01:40 -07:00
Jeff Williams
070903fb88 link to individual line numbers in source files (#316) 2013-04-20 09:19:10 -07:00
Jeff Williams
525e6fa8ec make the "Global" heading clickable when the only globals are typedefs (#261) 2013-04-19 14:50:20 -07:00
Jeff Williams
bca6cdc5b1 for typedefs, display the type (#391) 2013-04-16 03:20:39 -07:00
Jeff Williams
407a718543 Merge branch 'pr/365' 2013-04-07 07:14:57 -07:00
Jeff Williams
9143264e6b simplify template 2013-04-07 07:14:35 -07:00
Jeff Williams
3b74b7b83c don't throw errors for unnamed properties (#373) 2013-04-06 17:37:54 -07:00
Jeff Williams
e5be860cc4 support modules that export a single non-constructor function (#384) 2013-04-06 16:53:20 -07:00
Jeff Williams
450f3944bc Merge pull request #361 from Billiam/fix/repeated-class-header-354
Fix repeated classes header in sidenav
2013-04-06 07:29:53 -07:00
Jeff Williams
cfff8dd035 identify repeatable params in the default template (#381) 2013-04-02 08:41:05 -07:00
mathematicalcoffee
2cb86c13e3 added 'Listeners:' section to the default template 2013-03-18 14:33:01 +10:00
Billiam
5a84918099 Fix repeated classes header in sidenav
Fixes multiple <h3>classes</h3> navigation menus appearing in navigation
sidebar when using modules.

Removes magic -1 value and module counting in favor of more explicit
boolean, only appending class heading if necessary.
2013-03-11 10:42:11 -05:00
mathematicalcoffee
01c13bd425 display everything a method listens to in the template 2013-02-26 16:42:05 +10:00
Jeff Williams
f09ef82246 don't throw an exception if there are no source files with JSDoc comments (#329) 2013-01-30 17:31:05 -08:00
Jeff Williams
434c80e803 turn '@author' tag text into mailto: link where possible (#326) 2013-01-28 07:33:07 -08:00
Jeff Williams
7d4dd38902 store version info in env.version, and display version number in default template output (#321) 2013-01-27 21:07:23 -08:00
Jeff Williams
4c1611f86f fix class signatures 2013-01-23 23:29:52 -08:00
Jeff Williams
a693262c66 handle typedefs that contain functions (#292) 2013-01-23 22:03:29 -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
Jeff Williams
997cfe9f9a convert tabs to spaces 2013-01-22 17:45:21 -08:00
Jeff Williams
adcb06ca56 include global typedefs and events in template output; don't put "undefined" into typedef headers (#292) 2012-12-27 07:41:38 -08:00
Jeff Williams
d73570defc make fs module consistent with Node.js (#211) 2012-12-26 19:03:05 -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
b07d19f43a show complete info for global functions on Global page (#285) 2012-12-21 11:39:36 -08:00
mathematicalcoffee
4cf3598c4c Added list of events to the index. 2012-12-11 10:47:33 +10: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