387 Commits

Author SHA1 Message Date
Michael Shilman
bc3fd3914a Update telemetry docs 2025-02-17 18:10:18 +08:00
Michael Shilman
4c82a2d9d8 Documentation: Don't skip heading levels 2024-12-01 11:33:18 +08:00
jonniebigodes
5667488ef3 Starter documentation and snippet fixes 2024-11-17 16:46:37 +00:00
Tobias Diez
3a8a5f5e2e Mark the link addon as essential 2024-09-21 23:37:39 +08:00
Shota FUJI
7a32c16cfd
Docs: Fix broken links ending with ".mdx"
When I checked "How to contribute" page on storybook.js.org, a link
titled "Continue reading our contributor covenant" pointed to GitHub's
404 page. The last item of the URL path was "CODE_OF_CONDUCT.mdx", which
is not common filename people uses, therefore I suspected this is not
the only broken link in the docs.

And I was right. I ran the below command (rg = RipGrep) then found
several 404 links.

```
$ cd docs
$ rg "https?:[\S)]+mdx\)" --sort path
```

Git blame told me that some of ".md" to ".mdx" migration works
accidentally changed non-docs URLs ending with ".md" too.

StackBlitz URL in docs/api/main-config/main-config-indexers.mdx is not
actually a dead link, as the service redirects to the `README.md`.
However, the redirection takes loooong so I replaced that as well.

There are still two links that match to the above regexp:

* <https://github.com/storybookjs/storybook/blob/next/docs/get-started/setup.mdx>
  at docs/contribute/documentation/new-snippets.mdx L42
* <https://marketplace.visualstudio.com/items?itemName=unifiedjs.vscode-mdx>
  at docs/writing-docs/mdx.mdx

but those two are both valid (alive) URLs.
2024-09-05 15:30:37 +09:00
Kyle Gach
9e3d644c83 Address feedback 2024-08-29 08:49:05 -06:00
Kyle Gach
df80522e1b Rename interaction test -> component test 2024-08-22 14:48:54 -06:00
Norbert de Langen
c48fc0fccf
Merge pull request #28822 from storybookjs/shilman/globals-telemetry
Telemetry: Add globals stats
2024-08-07 11:10:50 +02:00
Michael Shilman
597102b301 Add globals telemertry 2024-08-07 07:16:36 +08:00
Michael Shilman
c4e4b99965 Merge branch 'next' into shilman/portable-stories-stats 2024-08-07 06:55:16 +08:00
jonniebigodes
9f16fe1aee Docs: Fix links and assorted fixes 2024-07-09 23:44:05 +01:00
Michael Shilman
e9d28dba30 Fix tests 2024-07-09 10:54:04 +08:00
jonniebigodes
47e919ce0e Docs: Fix malformed frontmatter 2024-06-28 15:30:21 +01:00
Kyle Gach
f06eb65975 Fix remaining ./overview.mdx links 2024-06-28 00:19:35 -06: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
ec867cbf10 Add contribute 2024-06-18 01:27:03 +01:00
Charles de Dreuille
c8495172d2 Updating all pngs 2024-06-14 09:55:31 +01:00
Charles de Dreuille
5b529623ce Fixes drafts 2024-06-13 19:36:08 +01:00
Charles de Dreuille
23ffd11f4b Multiple sections 2024-06-13 19:12:12 +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
Michael Shilman
5e4d590d88 Merge branch 'next' into jeppe/remove-more-stories-mdx 2024-06-10 16:06:51 +08:00
Valentin Palkovic
899b7fc6e7
Merge pull request #26163 from kyletsang/fix-react-inspector-link
Documentation: Fix link to react-inspector theme
2024-06-09 23:29:51 +02:00
Michael Shilman
6fe4e7f4e5 Telemetry: Add test packages 2024-05-22 19:56:26 +08:00
Michael Shilman
5a85edeb7a Update API docs 2024-05-13 12:07:06 +08:00
Kyle Gach
6bf05a1707 Remove unnecessary snippets 2024-04-30 22:31:12 -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
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
jonniebigodes
4b1752de05 Docs: Update Styling and CSS 2024-04-04 15:18:08 +01:00
jonniebigodes
57361ec88d
Merge branch 'next' into docs_asset_updates 2024-03-12 15:01:36 +00:00
jonniebigodes
917da2a7d8 Docs: Storybook 8 image updates 2024-03-12 14:59:07 +00:00
jonniebigodes
b5eacba75a Docs: Fix table alignment 2024-03-10 17:07:34 +00:00
kyletsang
3aaf33af89
Docs: fix link to react-inspector theme 2024-02-22 23:46:03 -08:00
Jeppe Reinhold
d82fb47bb1 remove stories.mdx reporting in telemetry 2024-02-09 10:23:42 +01:00
jonniebigodes
d351504a58 Docs: Remove references to the storiesOf API 2024-02-08 21:17:33 +00:00
jonniebigodes
757f5cdf13 Docs: StoriesOf API removal 2024-02-01 17:22:36 +00:00
jonniebigodes
fc5ddafe2b
Merge branch 'next' into docs_minor_webpack_babel_swc_fix 2024-01-31 23:21:00 +00:00
jonniebigodes
0cd33304b1 compiler docs updates 2024-01-31 20:55:37 +00:00
jonniebigodes
fbdacf8209 Docs: Minor SWC docs polish 2024-01-31 15:21:55 +00:00
jonniebigodes
d1ce421e18 address feedback 2024-01-31 12:27:55 +00:00
jonniebigodes
c90ebebd66
Merge branch 'next' into docs_react_ts_updates 2024-01-27 19:11:57 +00:00
jonniebigodes
56ad82da3c additional changes 2024-01-27 18:56:55 +00:00
Kyle Gach
5c2759b8e3 Document CLI version support 2024-01-25 10:41:51 -07:00
jonniebigodes
661c7e76cc initial changes 2024-01-24 14:35:09 +00:00
jonniebigodes
f3c7f3d538
Merge branch 'next' into docs_vue_2_removal 2024-01-22 14:39:48 +00:00