12 Commits

Author SHA1 Message Date
jonniebigodes
5667488ef3 Starter documentation and snippet fixes 2024-11-17 16:46:37 +00: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
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
Charles de Dreuille
c840af65c2 Update links for addons + main config + faq 2024-06-17 18:22:07 +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