170 Commits

Author SHA1 Message Date
jonniebigodes
9ea84239a7 Doc blocks tweaks 2023-04-13 19:21:24 +01:00
Kyle Gach
15623cec68 Remove @next specifiers in docs & READMEs
- If attached to a library used via npx/pnpm dlx, change to `@latest`
- Otherwise, remove it
2023-04-05 10:45:38 -06:00
Jeppe Reinhold
33258e2edc Remove subcomponents feature from docs 2023-03-27 09:27:53 +02:00
jonniebigodes
e2610a0ae1 MDX tweaks 2023-03-23 19:55:27 +00:00
domyen
5aea11a392 Forgot about this image 2023-03-13 20:16:49 -04:00
domyen
467c8d7945 Update doc blocks and MDX pages 2023-03-13 20:07:44 -04: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
8ef90e4741 Address misc feedback 2023-03-08 14:27:28 +00:00
jonniebigodes
d69691057a Updates documentation to feature previewjs TS types 2023-03-02 22:33:12 +00:00
Michael Shilman
764d210f1e
Merge pull request #21347 from storybookjs/shilman/rename-autodocs
Rename AutoDocs to Autodocs
2023-03-03 01:06:40 +08:00
Michael Shilman
94c08d84b3
Fix typo 2023-03-03 01:05:49 +08:00
Michael Shilman
b2aea37ece Rename AutoDocs to Autodocs 2023-03-02 12:42:49 +08:00
Michael Shilman
9f52591d02 Document MDX docs template 2023-03-02 12:38:59 +08:00
Kyle Gach
7a0337dedd Content structure tweaks to Doc Blocks guide 2023-02-28 12:01:52 -07:00
jonniebigodes
cf19d915b4 Asset and snipets fixes 2023-02-23 12:13:07 +00: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
jonniebigodes
ab21666fdc Another round of feedback 2023-02-22 21:06:54 +00:00
Kyle Gach
f39e2cad26 Rework the doc blocks guide
- Update ArgTypes and Controls parameter/prop examples
2023-02-21 22:38:18 -07:00
Kyle Gach
fb48b37e90 Address comments
- Consistently include space after filename comment
- Include `<Meta />` in snippets for blocks that are used in attached docs
- Grammatical improvements
2023-02-21 22:38:18 -07:00
Kyle Gach
c03f0da058 Add Doc Blocks overview & API reference
- Remove Doc Blocks guides
- Update `docs/api/argtypes` to include information that was in `docs/writing-docs/doc-block-argstable`
- Update TOC
    - Change `Write docs > Doc blocks` from a menu to a page
    - Add `API > @storybook/blocks menu`
2023-02-21 22:38:18 -07:00
jonniebigodes
01ce0cba22 Minor tweaks and introduces istemplate prop 2023-02-20 20:16:57 +00:00
jonniebigodes
b41def9e32 tweaks to the MDX and frameworks to align blocks 2023-02-17 18:41:52 +00:00
jonniebigodes
4c6ee30644
Update docs/writing-docs/mdx.md
Co-authored-by: Jeppe Reinhold <jeppe@chromatic.com>
2023-02-16 13:38:40 +00:00
jonniebigodes
749214cbfa
Update docs/writing-docs/autodocs.md
Co-authored-by: Jeppe Reinhold <jeppe@chromatic.com>
2023-02-16 13:37:23 +00:00
jonniebigodes
c47de5c1bd misc fixes to auto docs and doc block related issues 2023-02-16 12:46:28 +00:00
Tom Coleman
0018badc9b remove DocsOptions.disable 2023-02-15 18:36:15 +11:00
jonniebigodes
099734c4f1 Removes deprecated flag from the documentation 2023-02-02 13:55:13 +00:00
jonniebigodes
e39620df04 writing docs changes 2023-01-19 17:55:58 +00:00
jonniebigodes
2395b2d13a auto docs changes 2023-01-19 17:55:35 +00:00
jonniebigodes
e6b4b07e2f Updates to code snippets and docs 2023-01-16 12:58:08 +00:00
Norbert de Langen
ef7b7df9df
Merge pull request #20327 from storybookjs/norbert/gfm-migration
Docs: migration documentation for MDX2 in storybook CLI
2023-01-14 11:14:22 +01:00
Norbert de Langen
6528127aa4
Merge branch 'norbert/gfm-migration' of github.com:storybookjs/storybook into norbert/gfm-migration 2023-01-09 14:53:36 +01:00
Norbert de Langen
48465da030
Merge branch 'next' into norbert/gfm-migration 2023-01-09 14:53:21 +01:00
Kyle Gach
0a34c159e6 Add language to snippet filenames 2023-01-07 20:40:46 -07:00
jonniebigodes
ffa8a2cd40
Merge pull request #20344 from storybookjs/chore_docs_adds_wc_snippets
Chore: (Docs) Adds Missing Web component snippets
2023-01-05 16:13:18 +00:00
Valentin Palkovic
30b011fff6
Merge pull request #20358 from ACDR/patch-1
Docs: Fix example storybook-docs package scripts for v7
2022-12-29 12:20:23 +01:00
jonniebigodes
5e74edebed Tweaks to the CLI and Docs 2022-12-28 15:36:20 +00:00
jonniebigodes
73fd4bdae9 Up to Essential section 2022-12-21 14:51:22 +00:00
Tom Coleman
427ec4433d Rename docsPage to autodocs
And change semantics: `docsPage:true` = `autodocs: 'tag'` and `docsPage: 'automatic'` = `autodocs: true`.
2022-12-21 21:49:57 +11:00
Tom Coleman
ed18a8dc6d Rename docsOptions.enabled to docsOptions.disable 2022-12-21 21:26:44 +11:00
Aaron Rose
d58f4c0f2c
Fix example docs package scripts for v7 2022-12-21 14:25:16 +13:00
jonniebigodes
befbe50cbe Adds AutoDocs webcomponent snippet (js/ts) 2022-12-20 15:05:06 +00:00
Norbert de Langen
4c9838f6f9
Update docs/writing-docs/mdx.md
Co-authored-by: Josh Wooding <12938082+joshwooding@users.noreply.github.com>
2022-12-19 19:04:03 +01:00
Norbert de Langen
530cc75617
make mdx1 to mdx2 migration link to docs page, with content about GFM 2022-12-19 15:03:23 +01:00
Luis Merino
9c4ecc0739
Fix example of automigrate script fixId option 2022-12-19 11:50:58 +01:00
jonniebigodes
59f4096f88
Merge branch 'next' into docs-updates-for-mdx-2 2022-12-16 13:29:07 +00:00
jonniebigodes
f668d90b71 Some tweaks 2022-12-16 13:21:51 +00:00
jonniebigodes
a77a31ef2f Polish per feedback 2022-12-15 23:25:44 +00:00