241 Commits

Author SHA1 Message Date
Jeff Williams
0080e5f99f if a symbol shares its longname with a module, only show the symbol if it either a) has a description or b) is a class (#853) 2014-12-28 12:32:47 -08:00
Jeff Williams
9a18e361fe remove huge paragraph margin (#844) 2014-12-22 13:38:05 -08:00
Jeff Williams
0fc0244ab6 close ul element correctly (#843)
Fixes validation errors.
2014-12-19 16:38:24 -08:00
Jeff Williams
e7f55594a1 add required dd elements (#843)
Fixes validation errors.
2014-12-19 16:32:38 -08:00
Jeff Williams
feb96ea7f5 remove dictionary-list wrappers (#843)
Fixes validation errors. Also results in fewer sections being indented, which, to my eye, looks nicer and is easier to read.
2014-12-19 16:27:23 -08:00
Jeff Williams
faee92618d use CSS to clear the br element (#843)
Fixes a validation error.
2014-12-19 16:25:49 -08:00
Jeff Williams
16f8270430 add missing dictionary list wrappers 2014-12-18 17:32:01 -08:00
Jeff Williams
61819f1105 close list elements 2014-12-18 17:21:55 -08:00
Jeff Williams
ee2badcde2 improvements from @dchambers to nav-building code (#813)
Squashed commit of the following:

commit 723349a9c90a005137d01e19012778f4dddb1d12
Author: dchambers <dominic.chambers@gmail.com>
Date:   Fri Dec 5 13:14:13 2014 +0000

    Moved an assignment within the corresponding guard, since it was superfluous unless the guard was triggered.

commit 872974656e7500c99daba64e7db31f14f9874c0d
Author: dchambers <dominic.chambers@gmail.com>
Date:   Fri Dec 5 11:35:33 2014 +0000

    Use four spaces for tabulation.

commit 5eaabcf84c5395aeeeff018ea042e73d710e2846
Author: dchambers <dominic.chambers@gmail.com>
Date:   Mon Nov 24 18:15:36 2014 +0000

    Attempt to fix remaining linting errors -- may not work as I'm unable to run the build locally on my own machine to verify.

commit 0137865ff4aa4e888533a217f2e6bb3b12b7fc87
Author: dchambers <dominic.chambers@gmail.com>
Date:   Mon Nov 24 17:42:09 2014 +0000

    Attempt to fix remaining linting errors -- may not work as I'm unable to run the build locally on my own machine to verify.

commit 7d80410d63e29837b436776b8983004c8b92ecb2
Author: dchambers <dominic.chambers@gmail.com>
Date:   Mon Nov 24 17:17:51 2014 +0000

    Removed trailing whitespace from 'publish.js'.

commit 773b785756f5ee6c32cbcb1742543c1a2671efe7
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Tue Aug 26 09:58:50 2014 +0100

    Ensure the title for classes defined within modules shows the thing
    being documented as being a class rather than a module, as it currently
    does for interfaces.

commit 9fc527d63aa6839fbae07f4b6db8dee027f6fc43
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Tue Aug 26 09:51:10 2014 +0100

    Remove the 'module:' prefix from index links to classes and interfaces
    defined within modules.

commit 21e3e31f2499bbc9cb5f10c09cfaeb86d25ded9b
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Tue Aug 26 09:43:13 2014 +0100

    Removed duplicated code from the buildNav() function, where the version
    of the code used is one where items are only written if they haven't
    already been encountered, and a heading is only written when there are
    items to appear beneath that heading.
    Conflicts:
    	templates/default/publish.js
2014-12-06 15:50:28 -08:00
Jeff Williams
1a975c0f6d remove duplicate Requires section in modules (#790) 2014-11-11 20:14:38 -08:00
Jeff Williams
42f388f009 render a doclet's overrides property (#792) 2014-11-11 18:01:17 -08:00
Jeff Williams
afbc4fa0bc close li tag 2014-11-11 17:55:16 -08:00
Jeff Williams
7807ac021e rename "Index" to "Home" (#750)
Thanks to @dchambers for the suggestion.
2014-11-08 10:54:14 -08:00
Jeff Williams
7761292b97 use nicer typography in the default template (#780)
Squashed commit of the following:

commit eb310340ae542152ae5fd15b070e389a17b71913
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Wed Nov 5 17:24:19 2014 +0000

    Updated to use the same set of monospace typefaces as MDN too.

commit 5ff2591f8c3711e20f87eeb2e41347396d201414
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Wed Nov 5 17:15:28 2014 +0000

    Add font re-generation instructions to the README.

commit bb4502a308936a31684732104b09ae737e6fbaec
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Wed Nov 5 16:11:06 2014 +0000

    Added additional variations of the OpenSans typeface.

commit 125f2c91e767c7fa853ffa3222e7ed7d02f027b8
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Wed Nov 5 15:33:44 2014 +0000

    Moved the web fonts into a separate 'fonts' directory.

commit 968998c677a946e79910b96cff2cb4c29898eb48
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Wed Nov 5 15:24:46 2014 +0000

    Removed a negative margin hack we no longer seem to need.

commit 82f96d67cd3067ba6fd3deadee13e8853eb58491
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Wed Nov 5 15:13:15 2014 +0000

    Removed the 'Summary' heading, plus re-jigged the formatting so there isn't too much space before the content.

commit db9dfad5c2339ea6d36a400b59da0447d446920d
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Wed Nov 5 14:23:05 2014 +0000

    Fix for styling that was incorrectly being applied to each item in a list, rather than to the list itself.

commit 774271bd4e74ea429df7e5ae8fb9473097b81a1b
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Wed Nov 5 14:14:04 2014 +0000

    For consistency, ensure there is always a space after the colon used to delimit CSS rule pairs.

commit 88d59794b0442e594bedf6fb17a638923ac67c2a
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Wed Nov 5 14:07:31 2014 +0000

    Replace tabs with spaces to be consistent with the remainder of the stylesheet.

commit 37e5043403441a19cbe0cf2e2f4dec8ceba6cacb
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Wed Nov 5 14:02:34 2014 +0000

    Use the same color for headings that MDN does.

commit 8f925659efd7a6c9996bf2a8dcebb174f79dc8d8
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Fri Aug 22 09:46:41 2014 +0100

    Accidentally missed from previous check-in.

commit e98b060822b018c1403b98c92400052565d69e20
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Fri Aug 22 09:46:11 2014 +0100

    Updated the license to reflect the inclusion of the Open Sans typeface,
    plus included EOT and SVG versions of the font so that older version of
    IE and Android browser also get to see the page rendered correctly.

commit 7e1a581bca931603e738e5afc238e7f211c9d444
Author: Dominic Chambers <dominic.chambers@gmail.com>
Date:   Thu Aug 21 14:32:02 2014 +0100

    Rebased the template typography off of the Mozilla Developer Network
    site so generated API docs have a more contemporary and familiar style.
2014-11-05 16:48:09 -08:00
Jeff Williams
fc2b4ad3d2 fix Windows path issues and static-file copying (#785)
- In the default template, look for the list of static file paths in the
config property `templates.default.staticFiles.include`. (You can still
use `paths` instead of `include`.)
- Handle path-normalization issues that prevented the default template
from copying user-specified static files on Windows.
- Normalize paths in `fs.toDir` so that callers get the correct path
separator on Windows.
2014-10-30 12:06:26 -07:00
Jeff Williams
b28f3341a3 delint 2014-10-26 05:52:03 -07:00
Jeff Williams
7471685fa9 show the inheritance chain for modules that export a single constructor (#594) 2014-10-22 09:41:11 -07:00
Jeff Williams
25ffab0676 prevent a crash when a package file specifies a name, but not a version 2014-10-17 12:44:35 -07:00
Jeff Williams
00b9dbb8c8 don't write empty class descriptions to template output (#741) 2014-10-07 08:52:32 -07:00
Jeff Williams
3b865dde3f Merge remote-tracking branch 'brjs/fix-classdesc-in-modules' 2014-10-07 08:45:24 -07:00
Jeff Williams
d527f3e6b0 prevent crash when a returns tag does not have a value (#751) 2014-09-05 15:30:21 -07:00
Dominic Chambers
982d4ddb88 Updated the template so it now display the @classdesc for classes
defined within the modules.
2014-08-20 21:15:06 +01:00
Dominic Chambers
fea85645e0 Display the class description even when the class is defined within a
module.
2014-08-19 17:45:33 +01:00
Jeff Williams
019ebb538f only show a module's summary info once (#701) 2014-08-18 16:13:53 -07:00
Jeff Williams
482d34cc5e cleanup 2014-08-18 15:51:48 -07:00
Jeff Williams
4479e69578 don't show modules on the Globals page (#700) 2014-08-18 14:55:40 -07:00
Jeff Williams
61e637bae6 if a module exports only an overloaded method, show every version of the method (#727) 2014-08-12 09:50:11 -07:00
Jeff Williams
2f87fb11dc improvements to interface and implements tags
- Change doclet property names
- Populate the list of property implementations in augment.js, not in the template
- Tone down the presentation of both tags in the default template
- Other related cleanup
2014-08-11 16:02:00 -07:00
MinHyeong Kim
87c33e242b modify codes for generate describe interface's all properties. 2014-08-11 16:01:59 -07:00
MinHyeong Kim
cc9ceb700b fix codes for patch. excepts 'implements not functions' issue. 2014-08-11 16:01:59 -07:00
MinHyeong Kim
ef70ffe2bd modify codes for @interface, @implements annotation. 2014-08-11 16:01:59 -07:00
Jeff Williams
5c59bc1488 fix a crash (and incorrect output) when a property has its own properties (#697) 2014-07-01 19:56:19 -07:00
Jeff Williams
19867a07b0 show mixins for members, not just classes and modules (#379) 2014-07-01 16:54:38 -07:00
Jeff Williams
6e940d275b do not show the default values for enums (#689) 2014-07-01 16:34:07 -07:00
Jeff Williams
8c66aef685 fix several template issues for modules (#522, #672)
- Show type info for modules that export something other than a class or a function. (#672)
- Do not duplicate the module description at the start of each page.
- Display the module description before the class description. (#522)
2014-06-30 20:55:57 -07:00
Jeff Williams
da7911bcf8 remove a bogus anchor tag for namespace links 2014-06-28 16:59:01 -07:00
Jeff Williams
14d11c2844 remove parameter properties from the method signature (#680) 2014-06-22 19:45:02 -07:00
Jeff Williams
329db29c4f fix syntax for modules that export a single constructor (#655) 2014-05-29 18:51:36 -07:00
Jeff Williams
073d7e83e3 enable ESLint space-infix-ops rule (and associated cleanup) 2014-04-19 11:04:53 -07:00
Jeff Williams
bce238bb51 replace JSHint with ESLint (and associated cleanup) 2014-04-19 10:38:02 -07:00
Jeff Williams
254dda50b1 show more info for Closure Compiler type expressions (#618) 2014-04-18 16:46:34 -07:00
Jeff Williams
bac1ea00fa Merge pull request #602 from popham/add-missing-mixins
Add "Mixins" to module view
2014-04-13 09:06:32 -07:00
Jeff Williams
a476aef10b correct title for "Attributes" column (#618) 2014-04-04 08:58:47 -07:00
Jeff Williams
8128dc5335 handle default values that are array literals (#604)
plus some test cleanup
2014-03-18 10:16:41 -07:00
Tim Popham
c1617b8e1f Add "Mixins" to module view 2014-03-14 12:50:49 -07:00
Jeff Williams
49ad746e49 trailing whitespace cleanup 2014-03-04 13:47:57 -08:00
Jeff Williams
48e6c392d5 huge whitespace cleanup
- remove all trailing whitespace
- for consistency, replace all tabs with spaces
2014-03-03 07:43:01 -08:00
Jeff Williams
39daa9ab23 hide source location if outputSourceFiles is false (#571)
revised fix to address the regression in #592
2014-03-01 08:18:08 -08:00
Jeff Williams
3caf49520d Revert "hide source location if outputSourceFiles is false (#571)"
Caused regression #592.

This reverts commit 8a50d1f064fc719e4099faf426d81e45690f07fd.
2014-03-01 08:09:43 -08:00
Jeff Williams
8a50d1f064 hide source location if outputSourceFiles is false (#571) 2014-02-16 09:15:14 -08:00