Skip to content

Commit

Permalink
[examples] Fix download instructions
Browse files Browse the repository at this point in the history
Fix more of #28358.
  • Loading branch information
oliviertassinari committed Sep 8, 2024
1 parent eb8244e commit 2bfe32c
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions examples/cdn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Download the example [or clone the repo](https://github.com/mui-org/material-ui):

```sh
curl https://codeload.github.com/mui-org/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/cdn
curl https://codeload.github.com/mui/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-4.x/examples/cdn
cd cdn
```

Expand All @@ -22,7 +22,7 @@ which is great for prototyping. We discourage using this approach in production
the client has to download the entire library, regardless of which components are actually used,
affecting performance and bandwidth utilisation.

[The live preview.](https://combinatronics.com/mui-org/material-ui/master/examples/cdn/index.html)
[The live preview.](https://raw.githack.com/mui/material-ui/v4.x/examples/cdn/index.html)

## UMD releases

Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app-with-typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Download the example [or clone the repo](https://github.com/mui-org/material-ui):

```sh
curl https://codeload.github.com/mui-org/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-master/examples/create-react-app-with-typescript
curl https://codeload.github.com/mui/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-master/examples/create-react-app-with-typescript
cd create-react-app-with-typescript
```

Expand Down
2 changes: 1 addition & 1 deletion examples/create-react-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Download the example [or clone the repo](https://github.com/mui-org/material-ui):

```sh
curl https://codeload.github.com/mui-org/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-master/examples/create-react-app
curl https://codeload.github.com/mui/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-master/examples/create-react-app
cd create-react-app
```

Expand Down
2 changes: 1 addition & 1 deletion examples/gatsby-theme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Download the example [or clone the repo](https://github.com/mui-org/material-ui):

```sh
curl https://codeload.github.com/mui-org/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-master/examples/gatsby-theme
curl https://codeload.github.com/mui/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-4.x/examples/gatsby-theme
cd gatsby-theme
```

Expand Down
2 changes: 1 addition & 1 deletion examples/gatsby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Download the example [or clone the repo](https://github.com/mui-org/material-ui):

```sh
curl https://codeload.github.com/mui-org/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-master/examples/gatsby
curl https://codeload.github.com/mui/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-4.x/examples/gatsby
cd gatsby
```

Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs-with-typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Download the example [or clone the repo](https://github.com/mui-org/material-ui):

```sh
curl https://codeload.github.com/mui-org/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-master/examples/nextjs-with-typescript
curl https://codeload.github.com/mui/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-4.x/examples/nextjs-with-typescript
cd nextjs-with-typescript
```

Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Download the example [or clone the repo](https://github.com/mui-org/material-ui):

```sh
curl https://codeload.github.com/mui-org/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-master/examples/nextjs
curl https://codeload.github.com/mui/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-4.x/examples/nextjs
cd nextjs
```

Expand Down
2 changes: 1 addition & 1 deletion examples/preact/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Download the example [or clone the repo](https://github.com/mui-org/material-ui):

```sh
curl https://codeload.github.com/mui-org/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-master/examples/preact
curl https://codeload.github.com/mui/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-4.x/examples/preact
cd preact
```

Expand Down
2 changes: 1 addition & 1 deletion examples/ssr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Download the example [or clone the repo](https://github.com/mui-org/material-ui):

```sh
curl https://codeload.github.com/mui-org/material-ui/tar.gz/master | tar -xz --strip=2 material-ui-master/examples/ssr
curl https://codeload.github.com/mui/material-ui/tar.gz/v4.x | tar -xz --strip=2 material-ui-4.x/examples/ssr
cd ssr
```

Expand Down

0 comments on commit 2bfe32c

Please sign in to comment.