427 Commits

Author SHA1 Message Date
patrick.lafrance
0b8f80b342 Improved docgen info interface 2019-11-11 16:40:17 -05:00
patrick.lafrance
a9b8cec3e6 Finishing up rendering enhancement for default values 2019-11-11 15:29:18 -05:00
patrick.lafrance
96cc4c9885 Added a acorn parser to infer types from string values and also do pretty formatting with escodegen 2019-11-10 23:25:44 -05:00
patrick.lafrance
896ebc8c6e Better default valut rendering for prop types custom, shape, object and func 2019-11-08 17:48:34 -05:00
patrick.lafrance
9f0957d8a9 Removed the quotes around the default value that were not strings 2019-11-08 16:34:25 -05:00
patrick.lafrance
416dd4e2aa Better support for shape 2019-11-08 13:08:15 -05:00
patrick.lafrance
54903a2f9a Handling more prop types type 2019-11-08 12:39:33 -05:00
patrick.lafrance
6bfd952b6f Fixed a bunch of types for prop types 2019-11-08 09:27:32 -05:00
patrick.lafrance
67a4f4bbe8 Updated PropDef type to a React component 2019-11-07 15:52:08 -05:00
patrick.lafrance
d4b6276b43 Reworking the prop types renderer 2019-11-07 08:47:32 -05:00
patrick.lafrance
f78ca0d64f JSDoc parser now take a string instead of a docgen object 2019-11-07 08:32:49 -05:00
Michael Shilman
b43b45f270 Update PropDef for web-components 2019-11-07 12:34:21 +08:00
patrick.lafrance
c9cd423ec4 clean up 2019-11-06 18:56:19 -05:00
patrick.lafrance
9acec41c11 Moved tests 2019-11-06 18:53:13 -05:00
patrick.lafrance
ff120d0098 Finished refactoring 2019-11-06 17:15:46 -05:00
patrick.lafrance
a198daaf09 Reworked the docs lib with a new prop extractor 2019-11-06 15:15:49 -05:00
Michael Shilman
f0810047d0
Addon-docs: Render array of shape properly in props table (#8707)
Addon-docs: Render array of shape properly in props table
2019-11-07 02:21:51 +08:00
Michael Shilman
a76b55e24c
Addon-docs: Render params description in props table, support @… (#8702)
Addon-docs: Render params description in props table, support @ignore
2019-11-07 02:19:34 +08:00
Michael Shilman
0bd6a484e8 Docgen extractor: Minor housecleaning 2019-11-06 14:44:03 +08:00
Michael Shilman
8adf732d32 Addon-docs: Fix "Cannot read property 'props'" 2019-11-06 11:20:38 +08:00
Michael Shilman
8741f83b3f v5.3.0-alpha.40 2019-11-06 10:52:51 +08:00
ImgBotApp
83fcbed24f
[ImgBot] Optimize images
*Total -- 1,437.78kb -> 1,129.66kb (21.43%)

/addons/docs/docs/media/vue-hero.png -- 668.06kb -> 515.54kb (22.83%)
/addons/docs/docs/media/angular-hero.png -- 769.72kb -> 614.12kb (20.22%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2019-11-05 14:57:19 +00:00
patrick.lafrance
e5896801a7 Moved the fix to the PropRow component 2019-11-05 09:45:35 -05:00
patrick.lafrance
288050860b Added support for inline shape 2019-11-05 09:04:06 -05:00
Michael Shilman
8f09ccc687 v5.3.0-alpha.39 2019-11-05 21:39:50 +08:00
Michael Shilman
437407b5c0 Addon-docs: Updated recipe for notes as component description 2019-11-05 17:40:22 +08:00
Thomas Allmer
f43047c78c feat(docs): support inline rendering for wc and enable by default 2019-11-05 01:49:03 +01:00
patrick.lafrance
fbfaae82f8 Add custom code to replace the custom string with the raw type when available 2019-11-04 18:48:58 -05:00
patrick.lafrance
fd8304ea4a Rework the jsdoc parser output and fix a rendering bug 2019-11-04 18:18:14 -05:00
patrick.lafrance
0d4574448f Merge branch 'next' into 8532-render-params-and-returns-tags-optional-description-under-func-type 2019-11-04 12:24:46 -05:00
patrick.lafrance
04bde393bc wip 2019-11-04 09:20:10 -05:00
patrick.lafrance
3f1508c732 Added test coverage for @ignore 2019-11-04 09:15:19 -05:00
patrick.lafrance
5073e73466 Refactored to support JSDoc for unknown type system and stop infering the type name for typescript @param tags 2019-11-03 23:46:22 -05:00
patrick.lafrance
fb2fef31fc Fix JSDoc parsing to make it works with TS types 2019-11-03 18:48:17 -05:00
Michael Shilman
528c6617d9 v5.3.0-alpha.38 2019-11-03 16:33:20 +08:00
Michael Shilman
8fc41e7076 Addon-docs: Add link to Vue in README 2019-11-03 14:06:34 +08:00
Michael Shilman
f7ac56c26f Vue docs README 2019-11-03 12:50:23 +08:00
Michael Shilman
6651fe305f Angular docs typos 2019-11-03 12:49:55 +08:00
Michael Shilman
13c1d54f7e Update angular-hero.png 2019-11-02 16:27:26 +08:00
Michael Shilman
0404132056 Addon-docs: Angular README 2019-11-02 16:02:11 +08:00
Michael Shilman
7cfaf46efa Addon-docs Angular: Fix description handling for properties 2019-11-02 16:01:55 +08:00
Michael Shilman
fb19c3337d v5.3.0-alpha.37 2019-11-02 10:19:47 +08:00
patrick.lafrance
7bdeb4b5d6 Added support for typescript 2019-11-01 19:34:40 -04:00
patrick.lafrance
9b32b0a443 props types handler now returned raw jsdoc tags to be displayed in the PropRow component 2019-11-01 17:41:45 -04:00
lionel benychou
6e4b291f32 Merge remote-tracking branch 'origin/next' into 8198-source-loader-typescript 2019-11-01 19:52:47 +01:00
Michael Shilman
ccafaf46d4 v5.3.0-alpha.36 2019-11-02 01:32:50 +08:00
Michael Shilman
451945410d Merge branch 'next' into 6664-angular-docs-page 2019-11-02 01:11:52 +08:00
Kai Röder
9775c36ae0 add types and refactor code 2019-11-01 16:55:58 +01:00
Michael Shilman
4aed2feec4
Addon-docs: Support jsdoc params to describe function signature (#8660)
Addon-docs: Support jsdoc params to describe function signature
2019-11-01 23:40:33 +08:00
Michael Shilman
09b0b5b345 Addon-docs: Refactor angular compodoc into docs addon 2019-11-01 19:35:30 +08:00