jonniebigodes
9f16fe1aee
Docs: Fix links and assorted fixes
2024-07-09 23:44:05 +01:00
Kyle Gach
cdde79ce70
Replace remaining *.md
docs links with *.mdx
2024-06-27 22:25:39 -06:00
Kyle Gach
35d30d2914
Fix links that were missing new directories
...
e.g. `./api/main-config-typescript.mdx` -> `./api/main-config/main-config-typescript.mdx`
2024-06-27 22:25:03 -06:00
Kyle Gach
09bd49af77
Fix incorrect relative links
...
On a page inside a new directory (e.g. `get-started/frameworks`), almost* every relative link that went up a level (e.g. `../writing-stories/args.mdx`) now needs to go up two levels (e.g. `../../writing-stories/args.mdx`).
* The exception is relative links pointing to directories that are siblings of the current directory, e.g. on `configure/integration`, a link to `../user-interface/sidebar.mdx` does _not_ need adjusted.
2024-06-27 22:22:39 -06:00
Charles de Dreuille
6cf15e0778
writing stories
2024-06-18 09:37:46 +01:00
Charles de Dreuille
54f9db2216
Remove SUPPORTED_RENDERER + SUPPORTED_RENDERERS
2024-06-14 10:41:08 +01:00
Charles de Dreuille
d1c2a507a8
Update all videos
2024-06-14 10:37:07 +01:00
Charles de Dreuille
c8495172d2
Updating all pngs
2024-06-14 09:55:31 +01:00
Charles de Dreuille
ef31c827e7
Done 2 sections
2024-06-13 18:43:14 +01:00
Charles de Dreuille
c9b9a0929f
Updated indexes root
2024-06-13 18:34:00 +01:00
Charles de Dreuille
fdf0856332
Convert code snippets paths into a single path
2024-06-13 17:53:43 +01:00
Charles de Dreuille
41e0a4fca2
Update comments to javascript
2024-06-13 17:52:40 +01:00
Charles de Dreuille
36b38f7283
Rename all file extensions from .md to .mdx
2024-06-13 17:52:12 +01:00
Charles de Dreuille
4949308eed
Move all assets to a single folder
2024-06-13 17:50:53 +01:00
Kyle Gach
640a84f5e2
Misc docs updates
...
- Update story pipeline images
- Add TypeScript config disclaimer
2024-05-14 10:26:13 -06:00
Jeppe Reinhold
a47433ffdf
Merge pull request #27113 from storybookjs/save-from-controls-docs
...
Docs: Add new story and save from controls flows
2024-05-14 10:13:20 +02:00
Kyle Gach
6da0af7f34
Revert "Mention badges addon"
...
This reverts commit 348d23bf07852baf0e861d77fa993bee1c48faf6.
2024-05-13 14:21:22 -06:00
Kyle Gach
d18bb6d5fc
Add new story and save from controls flows
2024-05-13 12:54:46 -06:00
Kyle Gach
974ad927f0
Merge branch 'next' into tags-docs
2024-05-07 12:38:58 -06:00
Kyle Gach
34c0e17bd4
Address feedback
...
- Clarify static nature of tags
2024-05-07 10:13:10 -06:00
Kyle Gach
50dd267575
Update module mocking docs
...
- Link to demo repo
- Add `mockName` guidance
2024-05-07 10:05:00 -06:00
Kyle Gach
25ed3c27a2
Snippetize examples
2024-05-07 09:20:43 -06:00
Kyle Gach
348d23bf07
Mention badges addon
2024-05-06 21:10:06 -06:00
Kyle Gach
b44b8382da
Merge branch 'next' into tags-docs
2024-05-06 16:43:22 -06:00
Kyle Gach
64c67b4dbb
Revise tags docs
...
- Document new API
- Add examples
- Remove `main-config-tags`
- Remove `--tags` and `--exclude-tags` CLI flags
- Remove `autodocs: true | false | 'tag'`
- Remove old snippets
2024-05-06 16:34:17 -06:00
Kyle Gach
d2f7fe8448
Address feedback
...
- Snippet consistency
- Prose tweaks
2024-05-03 11:13:53 -06:00
Kyle Gach
a9d9bfa464
Update decorator snippets
2024-05-02 22:44:18 -06:00
Kyle Gach
7be08e32cf
Address feedback
...
- Make nextjs module alias usage more clear
- Update msw graphql snippets
- Add preact support for mocking providers
- Prose improvements
2024-05-01 09:44:47 -06:00
Kyle Gach
1dca308bf4
Snippetize examples
2024-04-30 22:21:31 -06:00
Kyle Gach
01c65098a8
Address feedback
...
- Re-order TOC items
- Fix conditional content
- Improve nextjs module API references
- Make example snippets more consistent
- Re-organize subpath imports section of module mocking guide
- Fix typos, grammar
2024-04-30 13:54:10 -06:00
Kyle Gach
a9ce1d4e2d
Apply suggestions from code review
...
Co-authored-by: jonniebigodes <joaocontadesenvolvimento@gmail.com>
2024-04-30 13:54:10 -06:00
Kyle Gach
3f7e44ca6e
Improve MSW snippets
...
- Use MSW 2.0 API
- Use loader instead of decorator
- Improve snippet filename format
2024-04-18 20:37:34 -06:00
Kyle Gach
f88bea5169
Add back nextjs router/navigation override instructions
...
Other improvements:
- Consistency improvements in snippets throughout
- Prose tweaks
2024-04-18 20:36:02 -06:00
Kyle Gach
2ac03c4248
Address feedback
...
- Next.js
- Add portable stories section
- Mocking modules
- Clarify requirements of mock files
- Prose and snippet tweaks
- Interaction testing
- Bring over `mockdate` example
- Prose and snippet tweaks
2024-04-17 23:35:36 -06:00
Jeppe Reinhold
5d8ee28209
add docs on beforeEach
, cleanup
, parameters.test
2024-04-17 22:20:12 +02:00
Jeppe Reinhold
e7c06768fc
add paragraph on mocking external modules.
2024-04-17 21:10:48 +02:00
Jeppe Reinhold
f2f4d13716
clarify mock->original import limitations.
2024-04-17 20:37:40 +02:00
Kyle Gach
194a9bcbc0
Add vite example
...
Co-authored-by: Jeppe Reinhold <jeppe@chromatic.com>
2024-04-17 12:04:16 -06:00
Kyle Gach
ec6742b1ea
Update Decorators and Interaction tests pages
...
- Decorators
- Focus the "context" section on only that argument
- Move irrelevant examples and snippets to the Story rendering page
- Interaction Testing
- Under the Write an interaction test section, add:
- Run code before each test section
- Mocked modules section
2024-04-16 22:04:42 -06:00
Kyle Gach
299a2c2a78
Simplify Building pages with Storybook guide
2024-04-16 16:46:27 -06:00
Kyle Gach
92e1382135
More mocking content
...
- Providers
- Configuring mocked providers with parameters
- Network requests
- Bad link
- Modules
- Better mock files section
- Using mocked files in stories
2024-04-16 13:19:35 -06:00
Kyle Gach
024237154f
Split into 3 pages
2024-04-15 23:28:21 -06:00
Kyle Gach
1efccbe464
WIP
2024-04-15 12:24:59 -06:00
Kyle Gach
33176192ad
Add docs for story tags
...
- API reference
- Guide
- CLI options
2024-04-02 12:38:54 -06:00
Kyle Gach
b8e46fea16
Address feedback
2024-04-01 08:59:11 -06:00
Kyle Gach
30e3954550
Apply suggestions from code review
...
Co-authored-by: Michael Shilman <shilman@users.noreply.github.com>
Co-authored-by: jonniebigodes <joaocontadesenvolvimento@gmail.com>
2024-04-01 08:59:11 -06:00
Kyle Gach
82e9f71cc7
Update multiple components guidance
...
- Remove guidance to reuse entire stories
- Clarify other guidance
2024-04-01 08:58:57 -06:00
Kyle Gach
df0bf8bce9
Revert "WIP: Update multiple components guidance"
...
This reverts commit dba4179e2f4ca8a9c8669ecd28f36ca41f449a08.
2024-04-01 08:58:57 -06:00
Kyle Gach
e6bbb1411f
WIP: Update multiple components guidance
2024-04-01 08:58:57 -06:00
Nathan Brown
b2f5a90c89
Update docs/writing-stories/index.md
...
Co-authored-by: jonniebigodes <joaocontadesenvolvimento@gmail.com>
2024-03-25 09:32:49 -04:00