183 Commits

Author SHA1 Message Date
Kyle Gach
9e44678e13 Address comments 2023-06-12 16:37:28 -06:00
Kyle Gach
9703ea5a41 Updates for type 2023-06-12 16:21:40 -06:00
Kyle Gach
c15f7fa6f4 Add ArgTypes API reference
- Remove previous ArgTypes guide
- Add/update relevant snippets
2023-06-12 16:21:40 -06:00
Kyle Gach
852cc70c13 Move "experimental" label beneath heading
- To avoid it being part of the heading anchor
    - Helps links to anchor stay stable over time, when label is removed
2023-06-09 15:24:03 -06:00
Kyle Gach
b22c1acbe5 Update useSWC docs
- Add to API reference
- Update related content/snippets
2023-06-09 15:24:03 -06:00
jonniebigodes
16b100fe88 Removes title and minor tweaks 2023-05-25 21:04:33 +01:00
Kyle Gach
1d3262ee62 Address comments:
- Add `babelDefault` and `managerHead` pages
- Fix broken links
- Clarify when some properties are primarily used by addon authors
- Document simplified options for `babel`, `babelDefault`, `viteFinal`, and `webpackFinal`
- Add description for `core.channelOptions`
- Remove the `previewMainTemplate` page
- Document possible shortcomings of some `stories` configurations
- Document limitations of some `typescript` options
2023-05-23 14:15:53 -06:00
Kyle Gach
1d00b24567 Add examples for all main config sub properties 2023-05-23 14:15:53 -06:00
Kyle Gach
8cac168f06 Update main.js|ts snippets for consistency
- Use `main-config-<property>-description` format, if possible
- Use "your-framework" wherever possible
- Always include `framework` & `stories` properties
- Remove unnecessary properties
2023-05-23 14:15:53 -06:00
Kyle Gach
92c7faa69f Simplify presentation of properties
- # config.core -> # core
- ## `config.core.builder` -> ## `builder`
- Add "Parent: [main.js|ts configuration](./Overview.md)"
- Update TOC menu title
2023-05-23 14:15:53 -06:00
Kyle Gach
06e8807474 Update Overview to ensure "main.js" and "main.ts" are searchable 2023-05-23 14:15:53 -06:00
Kyle Gach
e8a89dbd56 Add /docs/api/main-config-* pages
- Add relevant snippets
2023-05-23 14:15:53 -06:00
Kyle Gach
7320a59546 Rename TOC item: @storybook/blocks -> Doc blocks
- Always sort required properties first
2023-05-23 14:15:53 -06:00
Mauricio Rivera
b269aa8daf Merge remote-tracking branch 'upstream/next' into code-snippets-for-solid 2023-04-24 15:15:55 -05:00
jonniebigodes
510a130370
Merge pull request #22131 from storybookjs/kylegach-patch-1
Clarify that IconGallery only works with React icons
2023-04-17 22:25:40 +01:00
Kyle Gach
4316197bdc
Clarify that IconGallery only works with React icons 2023-04-17 09:14:47 -06:00
hcvdhaar
c3b39318be
Update doc-block-markdown.md 2023-04-17 15:22:41 +02:00
Mauricio Rivera
20e59da520 Merge remote-tracking branch 'upstream/next' into code-snippets-for-solid 2023-04-12 08:36:05 -05:00
Jeppe Reinhold
cb6596433a wording changes to transform docs 2023-03-27 09:14:31 +02:00
Jeppe Reinhold
afb801cea7
Merge branch 'next' into 21744-bug-transformsource-parameter-is-inconsistent 2023-03-24 10:15:55 +01:00
Jeppe Reinhold
680fdfbf3c pass story context to source transformer 2023-03-24 09:58:21 +01:00
Jeppe Reinhold
97b5eaa031
Minor typo in Source docs 2023-03-23 14:02:06 +01:00
Jeppe Reinhold
66c71b7a2c Merge branch 'next' of github.com:storybookjs/storybook into stable-loaders-docs 2023-03-23 13:58:59 +01:00
Jeppe Reinhold
bca21dfbe3 remove experimental warning about argtypes. 2023-03-23 13:57:08 +01:00
Jeppe Reinhold
91a527b766 document transform prop and param in docs and migration 2023-03-23 11:59:25 +01:00
jonniebigodes
1373308d6a Adds ts variant 2023-03-22 19:32:25 +00:00
Mauricio Rivera
b71def909b Merge remote-tracking branch 'upstream/next' into code-snippets-for-solid 2023-03-20 18:42:50 -05:00
Norbert de Langen
2973677d0c
Merge pull request #21586 from storybookjs/7.0-docs-images
Update docs images
2023-03-14 16:18:27 +01:00
Norbert de Langen
8e1688f9b9
Merge pull request #21376 from storybookjs/chore_documentation_update_cli_reference
Chore: (Docs) Updates to the CLI
2023-03-14 15:06:09 +01:00
Kyle Gach
87c6ff58cd Use consistent naming convention for snippets 2023-03-13 22:14:30 -06:00
domyen
486fa70d81 Update a bunch of images 2023-03-13 22:46:59 -04:00
Kyle Gach
d39dd9e1ea Content fixes
- Remove extraneous `ts-4-9` snippet references
    - These are auto-added by `frontpage`' CodeSnippets component
- Fix inaccurate prop types
2023-03-13 19:16:09 -06:00
domyen
467c8d7945 Update doc blocks and MDX pages 2023-03-13 20:07:44 -04:00
jonniebigodes
4dd8d0e9a4
Merge branch 'next' into chore_documentation_update_cli_reference 2023-03-13 17:37:12 +00:00
jonniebigodes
7fc1d31b31 Add options to build 2023-03-13 17:35:41 +00:00
jonniebigodes
48fee4157c Add telemetry aside 2023-03-13 17:30:56 +00:00
jonniebigodes
98021268d7
Update docs/api/cli-options.md
Co-authored-by: Kyle Gach <kyle.gach@gmail.com>
2023-03-13 17:22:01 +00:00
jonniebigodes
4a4725e3ce
Update docs/api/cli-options.md
Co-authored-by: Kyle Gach <kyle.gach@gmail.com>
2023-03-13 17:21:12 +00:00
jonniebigodes
542b640143
Update docs/api/cli-options.md
Co-authored-by: Kyle Gach <kyle.gach@gmail.com>
2023-03-13 17:21:03 +00:00
jonniebigodes
74eb850c5d
Merge pull request #21363 from storybookjs/chore_documentation_framework_ts_4_9
Chore (Docs) Adds TS 4-9 to the documentation
2023-03-09 15:20:53 +00:00
jonniebigodes
2e64fca7f3 Move assets to right folder 2023-03-08 20:30:39 +00:00
jonniebigodes
1dfa3e2695 Match latest iteration of Doc blocks api 2023-03-08 17:30:24 +00:00
jonniebigodes
8ef90e4741 Address misc feedback 2023-03-08 14:27:28 +00:00
jonniebigodes
ee1e655589 Updates to the CLI and misc docs 2023-03-03 10:52:24 +00:00
jonniebigodes
d69691057a Updates documentation to feature previewjs TS types 2023-03-02 22:33:12 +00:00
Tom Coleman
c27f4a2d72 Restore storiesOf.md 2023-03-02 10:47:01 +11:00
Mauricio Rivera
288b79105a Merge remote-tracking branch 'upstream/next' into code-snippets-for-solid 2023-02-23 08:26:30 -05:00
jonniebigodes
217e215874
Merge pull request #21122 from storybookjs/chore_auto_docs__docs_fixes
Chore: (Docs) Auto docs fixes
2023-02-22 21:46:55 +00:00
Kyle Gach
64a7d56075 Update images 2023-02-22 14:24:04 -07:00
Mauricio Rivera
d7ccdb4ad7 Added api and contribute snippets. 2023-02-22 10:59:39 -05:00