Skip to content

Commit 92801bb

Browse files
committed
chore(docs): update v1 links to new repo and static hosting
1 parent c691050 commit 92801bb

File tree

6 files changed

+16
-14
lines changed

6 files changed

+16
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Create an accessible React application with the
2424
- [Library Size](#library-size) - The UMD bundle size for the entire `react-md`
2525
library and sizes for some of the pre-built css files.
2626

27-
#### If you are still on v1, please see the [v1 documentation site](https://react-md.dev/v1) and [branch](../../tree/v1) instead
27+
#### If you are still on v1, please see the [v1 documentation site](https://mlaursen.github.io/react-md-v1-docs/) and [branch](https://github.com/mlaursen/react-md-v1-docs) instead
2828

2929
<!-- rmd-readme-replace -->
3030

packages/documentation/src/blogs/v2-release.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,11 @@ throughout your app because some patterns seem repetitive.
7070
> `react-md` with JavaScript as you have done before, but all the examples and
7171
> documentation will be written with Typescript.
7272
73-
[v1.1.0](/v1/discover-more/whats-new#v1-1-0-released) was the first `react-md`
74-
release to add support for Typescript but unfortunately the type definitions
75-
were [not that great]({{GITHUB_URL}}/blob/v1/src/js/index.d.ts) because I did
76-
not fully understand Typescript and kept getting out of sync or forgotten. Since
73+
[v1.1.0](https://mlaursen.github.io/react-md-v1-docs/#/discover-more/whats-new#v1-1-0-released)
74+
was the first `react-md` release to add support for Typescript but unfortunately
75+
the type definitions were
76+
[not that great]({{GITHUB_URL}}/blob/v1/src/js/index.d.ts) because I did not
77+
fully understand Typescript and kept getting out of sync or forgotten. Since
7778
Typescript is becoming the new trend for web development with additional tooling
7879
and editor integrations, it seemed like a good time to finally start learning
7980
Typescript and re-write `react-md` to use it natively.
@@ -327,10 +328,10 @@ following actions happens:
327328
![v1 implementation](https://i.imgur.com/MTxYr1e.mp4)
328329

329330
v1 of `react-md` had a very "noisy" implementation of this with the
330-
[ripple/ink effect](/v1/components/inks) which caused a 300ms animation each
331-
time the user interacted with a focusable element. This was _okay_ for the tap
332-
and click behaviors but extremely obnoxious for keyboard users especially when
333-
tabbing through elements quickly.
331+
[ripple/ink effect](https://mlaursen.github.io/react-md-v1-docs/#/components/inks)
332+
which caused a 300ms animation each time the user interacted with a focusable
333+
element. This was _okay_ for the tap and click behaviors but extremely obnoxious
334+
for keyboard users especially when tabbing through elements quickly.
334335

335336
In addition there would sometimes be `:hover` styles applied accidentally after
336337
a user touches an element on mobile since touch events also trigger the `:hover`

packages/documentation/src/components/ColorsAndTheming/CreatingDynamicThemes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,8 @@ Theme Guide] instead using the [prefers-color-scheme media query].
181181

182182
[theme values]: /packages/theme/sassdoc#theme-variable-rmd-theme-values
183183
[theme builder]: /colors-and-theming/theme-builder
184-
[v1 theme builder]: /v1/customization/theme-builder
184+
[v1 theme builder]:
185+
https://mlaursen.github.io/react-md-v1-docs/#/customization/theme-builder
185186
[react context api]: https://reactjs.org/docs/context.html
186187
[theme builder github folder]:
187188
{{GITHUB_FILE_URL}}/packages/documentation/src/components/ColorsAndTheming/ThemeBuilder

packages/documentation/src/components/Layout/Version1MenuItem.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default forwardRef<HTMLAnchorElement, Props>(function Version1MenuItem(
1818
ref={ref}
1919
id="version-1-link"
2020
leftAddon={!small && <LinkSVGIcon />}
21-
href="https://react-md.dev/v1"
21+
href="https://mlaursen.github.io/react-md-v1-docs/"
2222
onClick={(event) => {
2323
if (onClick) {
2424
onClick(event);

packages/react-md/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ throughout your app because some patterns seem repetitive.
283283
> `react-md` with JavaScript as you have done before, but all the examples and
284284
> documentation will be written with Typescript.
285285
286-
[v1.1.0](/v1/discover-more/whats-new#v1-1-0-released) was the first `react-md`
286+
[v1.1.0](https://mlaursen.github.io/react-md-v1-docs/#/discover-more/whats-new#v1-1-0-released) was the first `react-md`
287287
release to add support for Typescript but unfortunately the type definitions
288288
were [not that great]({{GITHUB_URL}}/blob/v1/src/js/index.d.ts) because I did
289289
not fully understand Typescript and kept getting out of sync or forgotten. Since
@@ -540,7 +540,7 @@ following actions happens:
540540
![v1 implementation](https://i.imgur.com/MTxYr1e.mp4)
541541

542542
v1 of `react-md` had a very "noisy" implementation of this with the
543-
[ripple/ink effect](/v1/components/inks) which caused a 300ms animation each
543+
[ripple/ink effect](https://mlaursen.github.io/react-md-v1-docs/#/components/inks) which caused a 300ms animation each
544544
time the user interacted with a focusable element. This was _okay_ for the tap
545545
and click behaviors but extremely obnoxious for keyboard users especially when
546546
tabbing through elements quickly.

packages/react-md/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Create an accessible React application with the
2525
- [Library Size](#library-size) - The UMD bundle size for the entire `react-md`
2626
library and sizes for some of the pre-built css files.
2727

28-
#### If you are still on v1, please see the [v1 documentation site](https://react-md.dev/v1) and [branch](../../tree/v1) instead
28+
#### If you are still on v1, please see the [v1 documentation site](https://mlaursen.github.io/react-md-v1-docs/) and [branch](https://github.com/mlaursen/react-md-v1-docs) instead
2929

3030
## Installation
3131

0 commit comments

Comments
 (0)