202 Commits

Author SHA1 Message Date
Kyle Gach
f56d8f0a78 Revise architectural diagrams 2023-09-20 11:30:41 -06:00
Kyle Gach
59ff6d13d2 Further improvements
- Add text representation of architectural diagram
- Add/fix file name comments to snippets
- Improve json stories snippets
- Various tweaks to prose
2023-09-20 11:30:41 -06:00
Jeppe Reinhold
ade1681e15 replace examples with real use cases 2023-09-20 11:30:41 -06:00
Jeppe Reinhold
907ff2a5e5 add example for json stories 2023-09-20 11:30:40 -06:00
Jeppe Reinhold
0e0ab5cb34 add indexer title code snippets 2023-09-20 11:30:40 -06:00
Jeppe Reinhold
db17655fac indexFn -> createIndex, as per https://github.com/storybookjs/storybook/pull/24075 2023-09-20 11:30:40 -06:00
Kyle Gach
a49d41b5c1 WIP: Add indexers API reference 2023-09-20 11:30:40 -06:00
Kyle Gach
1a3850da73
Merge pull request #23958 from storybookjs/docs_documentation_video_callout
Docs: Adds videos for additional Doc Blocks
2023-08-29 12:00:14 -06:00
Kyle Gach
1f89b847c7 Update stories.json -> index.json 2023-08-29 11:45:29 -06:00
jonniebigodes
5a2ed3d0a8 Extra Doc blocks videos 2023-08-26 17:07:24 +01:00
jonniebigodes
c75a8fc64b Adds more video coverage to the documentation 2023-08-10 20:40:43 +01:00
Michael Shilman
5cb57a87bf Documentation: Fix Source's auto description 2023-07-20 08:24:33 +09:00
jonniebigodes
4ff1a40bc5 Adds the disable notification to the documentation 2023-07-11 19:25:57 +01:00
Norbert de Langen
3db82fcdd6
Merge branch 'next' into chore_docs_addon_changes 2023-06-30 13:15:27 +02:00
jonniebigodes
f498684df1 Fixes for incorrect placement of documentation 2023-06-27 18:22:18 +01:00
Kyle Gach
320aed54f6 Remove (required) from headings
- Removed to ensure heading anchor links are stable over time
- Consistently display required properties throughout API references
2023-06-21 07:12:58 -06:00
Kyle Gach
dde3e33798 Remove (deprecated) from headings
- Removed to ensure heading anchor links are stable over time
- Consistently display deprecated properties throughout API references
2023-06-21 07:12:58 -06:00
Matthew Nuthall
a0fe377b26 Updated StoriesSpecifier.files pattern in api docs 2023-06-20 10:16:10 +10:00
Kyle Gach
69d1adf16c Clarify APIs of Controls doc block/addon/argTypes 2023-06-13 15:28:20 -06:00
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