update docs version references to 0.5
This commit is contained in:
parent
2324f08d69
commit
f811699176
@ -26,7 +26,7 @@ CMS.registerPreviewStyle(file);
|
||||
**Example:**
|
||||
```html
|
||||
// index.html
|
||||
<script src="https://unpkg.com/netlify-cms@~0.4/dist/cms.js"></script>
|
||||
<script src="https://unpkg.com/netlify-cms@~0.5/dist/cms.js"></script>
|
||||
<script>
|
||||
CMS.registerPreviewStyle("/example.css");
|
||||
</script>
|
||||
@ -67,7 +67,7 @@ Registers a template for a collection.
|
||||
**Example:**
|
||||
|
||||
```html
|
||||
<script src="https://unpkg.com/netlify-cms@~0.4/dist/cms.js"></script>
|
||||
<script src="https://unpkg.com/netlify-cms@~0.5/dist/cms.js"></script>
|
||||
<script>
|
||||
var PostPreview = createClass({
|
||||
render: function() {
|
||||
|
@ -35,7 +35,7 @@ Param | Type | Description
|
||||
**Example:**
|
||||
|
||||
```html
|
||||
<script src="https://unpkg.com/netlify-cms@~0.4/dist/cms.js"></script>
|
||||
<script src="https://unpkg.com/netlify-cms@~0.5/dist/cms.js"></script>
|
||||
<script>
|
||||
var CategoriesControl = createClass({
|
||||
handleChange: function(e) {
|
||||
@ -75,7 +75,7 @@ Register a block level component for the Markdown editor:
|
||||
**Example:**
|
||||
|
||||
```html
|
||||
<script src="https://unpkg.com/netlify-cms@~0.4/dist/cms.js"></script>
|
||||
<script src="https://unpkg.com/netlify-cms@~0.5/dist/cms.js"></script>
|
||||
<script>
|
||||
CMS.registerEditorComponent({
|
||||
// Internal id of the component
|
||||
|
@ -25,11 +25,11 @@ The admin interface is a single-page app with the entry point stored in a static
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Content Manager</title>
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@~0.4/dist/cms.css" />
|
||||
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@~0.5/dist/cms.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<script src="https://unpkg.com/netlify-cms@~0.4/dist/cms.js"></script>
|
||||
<script src="https://unpkg.com/netlify-cms@~0.5/dist/cms.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
@ -60,11 +60,11 @@ The first file, `admin/index.html`, is the entry point for the Netlify CMS admin
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Content Manager</title>
|
||||
|
||||
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@~0.4/dist/cms.css" />
|
||||
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@~0.5/dist/cms.css" />
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<script src="https://unpkg.com/netlify-cms@~0.4/dist/cms.js"></script>
|
||||
<script src="https://unpkg.com/netlify-cms@~0.5/dist/cms.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user