Skip to content
This repository was archived by the owner on Sep 9, 2024. It is now read-only.

Commit 0c0803b

Browse files
committed
docs: update cdn examples to use v3
1 parent f90f805 commit 0c0803b

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

packages/docs/content/docs/add-to-your-site-cdn.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ In this example, we pull the `admin/index.html` file from a public CDN.
4545
<head>
4646
<meta charset="utf-8" />
4747
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
48-
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.0/dist/main.css" />
48+
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^3.0.0/dist/main.css" />
4949
<title>Content Manager</title>
5050
</head>
5151
<body>
5252
<!-- Include the script that builds the page and powers Static CMS -->
53-
<script src="https://unpkg.com/@staticcms/app@^2.0.0/dist/static-cms-app.js"></script>
53+
<script src="https://unpkg.com/@staticcms/app@^3.0.0/dist/static-cms-app.js"></script>
5454
<script>
5555
window.CMS.init();
5656
</script>

packages/docs/content/docs/decap-migration-guide.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ Start by replacing Decap with Static CMS, then address the changes below.
1717
Decap:
1818

1919
```html
20-
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
20+
<script src="https://unpkg.com/netlify-cms@^3.0.0/dist/netlify-cms.js"></script>
2121
```
2222

2323
Static CMS:
2424

2525
```html
26-
<script src="https://unpkg.com/@staticcms/app@^2.0.0/dist/static-cms-app.js"></script>
26+
<script src="https://unpkg.com/@staticcms/app@^3.0.0/dist/static-cms-app.js"></script>
2727
```
2828

2929
### Bundling
@@ -64,7 +64,7 @@ Static CMS bundles its styles separately from the main javascript file, so you w
6464
**CDN**:
6565

6666
```html
67-
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.0/dist/main.css" />
67+
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^3.0.0/dist/main.css" />
6868
```
6969

7070
**Bundling**:

packages/docs/content/docs/updating-your-cms.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ If you are using a package manager like Yarn or NPM, use their standard procedur
1414

1515
If you are using Static CMS through a CDN like Unpkg, then that depends on the version tag you are using. You can find the version tag in the `/admin/index.html` file of your site.
1616

17-
- (Recommended) If you use `^2.0.0`, Static CMS does all updates except major versions automatically.
18-
- It upgrades to `2.0.1`, `2.1.0`, `2.1.1`.
19-
- It does not upgrade to `2.0.0` or higher.
17+
- (Recommended) If you use `^3.0.0`, Static CMS does all updates except major versions automatically.
18+
- It upgrades to `3.0.1`, `3.1.0`, `3.1.1`.
19+
- It does not upgrade to `3.0.0` or higher.
2020
- It does not upgrade to beta versions.
2121

22-
- If you use `~2.0.0`, Static CMS will do only patch updates automatically.
23-
- It upgrades `2.0.1`, `2.0.2`.
24-
- It does not upgrade to `2.1.0` or higher.
22+
- If you use `~3.0.0`, Static CMS will do only patch updates automatically.
23+
- It upgrades `3.0.1`, `3.0.2`.
24+
- It does not upgrade to `3.1.0` or higher.
2525
- It does not upgrade beta versions.

0 commit comments

Comments
 (0)