Thibaud Av
6a2e6b6362
refactor: remove unnecessary peerDependencies
...
the use of '@angular/elements' is no longer necessary for the doc Inline
2022-01-06 23:36:44 +01:00
Michael Shilman
06eb833d5f
Fix doc blocks imports to import from ESM/CJS
2021-05-07 11:51:52 +08:00
Gaëtan Maisse
16a5deb2fc
refactor(addon-docs): remove babel-loader peer dep
...
`babel-loader` is required in the context of `builder-webpack4` so there is no need to have it as a dep.
2021-04-22 07:32:01 +02:00
Gaëtan Maisse
1e20a891fa
feat(addon-docs): improve inline rendering setup
...
Co-authored-by: Gaëtan Maisse <gaetanmaisse@gmail.com>
Co-authored-by: ThibaudAv <thibaud.avenier@gmail.com>
2021-03-25 10:23:00 +01:00
ThibaudAv
3265884961
feat(angular): add inline stories support in the docs addon
...
The configuration has to be set up in each angular project to avoid forcing dependencies to `@angular/elements` ans `@webcomponents/custom-elements`
2021-01-28 18:16:51 +01:00
Michael Shilman
859ebcbae7
Remove react-is dependency
2020-10-25 21:59:34 +08:00
Michael Shilman
201ae325cc
Addon-docs: Rename Preview/Props to Canvas/ArgsTable
2020-07-31 14:10:07 +08:00
Norbert de Langen
1fc0cdfac2
Merge branch 'next' into pr/chrisj-skinner/10957
2020-06-04 21:25:29 +02:00
Chris Skinner
f3a2af7f4f
Fix for port BUG with breaks all other addons
...
The suggested port of 9008 breaks / hides addons such as a11y, actions etc.
I've found that setting the port back to the default 6006 fixes this. Unfortunately I couldn't find out why this fixes it. Would be good to find out if you guys know.
An example of this is at this [repo](https://github.com/chrisj-skinner/storybook-addon-docs-bug ) running `npm run storybook:pass` & `npm run storybook:fail` will show the above bug.
Although the above example is using `6.0.0-beta.16` this bug extends back to `5.3.14`. Thats as far as I tested it.
2020-05-27 19:11:52 -06:00
Norbert de Langen
540d0a2119
Merge branch 'next' into fix/valid-globs
...
# Conflicts:
# MIGRATION.md
2020-05-26 12:34:40 +02:00
Michael Shilman
4d1a3f4106
CSF: Update documentation to use hoisted CSF annotations
2020-05-25 15:24:48 +08:00
Michael Shilman
6e75747db3
Improve props tables docs
2020-05-24 05:14:44 +08:00
Norbert de Langen
da4f8f5a25
CHANGE documentation
2020-05-22 16:06:59 +02:00
Michael Shilman
73a6106b3c
Merge pull request #10321 from seveves/patch-3
...
Explanation for template and addDecorators
2020-05-08 09:44:46 +08:00
Michael Shilman
e30cc27f5b
Addon-docs: Common setup docs
2020-04-29 22:03:42 +08:00
Michael Shilman
54757192c5
Addon-docs: Fix reference links in documentation
2020-04-17 09:10:26 +08:00
Michael Shilman
643be31fdc
Merge pull request #10056 from bovandersteene/patch-3
...
docs(README): add ts to module.exports
2020-03-14 10:10:12 +08:00
Norbert de Langen
10a30f28ec
FIX spelling mistakes
2020-01-23 21:36:07 +01:00
Norbert de Langen
0707b4231c
ADD migration guide ref to docs-pages that are not a starter-guide
2020-01-20 10:47:31 +01:00
Michael Shilman
316c8cc826
Main.js Combine addons/presets in documentation
2019-12-31 15:20:27 +08:00
Michael Shilman
2911c13d3e
Update triconfig instructions for SB Docs frameworks
2019-12-14 11:58:51 +08:00
Michael Shilman
e3ab46a202
Addon-docs: Deprecate framework presets
2019-11-12 07:26:30 +08:00
Kai Röder
4c60525ffa
fix import statement in mdx example
...
`addon-` was missing in `import { Meta, Story, Props } from '@storybook/addon-docs/blocks';`
2019-11-07 22:16:20 +01:00
Michael Shilman
6651fe305f
Angular docs typos
2019-11-03 12:49:55 +08:00
Michael Shilman
0404132056
Addon-docs: Angular README
2019-11-02 16:02:11 +08:00