Skip to content

Commit c199b0c

Browse files
committed
change conf
1 parent 5a32f3a commit c199b0c

16 files changed

+98
-31
lines changed

docs/.vuepress/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
description: 'Netlify + VuePress',
44
themeConfig: {
55
docsDir: 'docs',
6-
repo: 'andreliem/vuepress-netlify-cms',
6+
repo: 'yoanmarchal/vuepress-netlify-cms',
77
sidebar: [
88
'/',
99
'/welcome',

docs/.vuepress/dist/404.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
<head>
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width,initial-scale=1">
6-
<title>Hello VuePress</title>
6+
<title>Netlify CMS + VuePress</title>
77
<meta name="description" content="Netlify + VuePress">
88

99

10-
<link rel="preload" href="/assets/css/1.styles.78550756.css" as="style"><link rel="preload" href="/assets/js/app.6849934e.js" as="script"><link rel="prefetch" href="/assets/js/0.6ccd9fd9.js">
11-
<link rel="stylesheet" href="/assets/css/1.styles.78550756.css">
10+
<link rel="preload" href="/assets/css/4.styles.9483d836.css" as="style"><link rel="preload" href="/assets/js/app.68ffe170.js" as="script"><link rel="prefetch" href="/assets/js/0.5fe6fb93.js"><link rel="prefetch" href="/assets/js/1.d9235d76.js"><link rel="prefetch" href="/assets/js/2.bf0edb6f.js"><link rel="prefetch" href="/assets/js/3.90eed2f7.js">
11+
<link rel="stylesheet" href="/assets/css/4.styles.9483d836.css">
1212
</head>
1313
<body>
14-
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="content"><h1>404</h1><blockquote>Looks like we've got some broken links.</blockquote><a href="/" class="router-link-active">Take me home.</a></div></div></div>
15-
<script src="/assets/js/app.6849934e.js" defer></script>
14+
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="content"><h1>404</h1><blockquote>There's nothing here.</blockquote><a href="/" class="router-link-active">Take me home.</a></div></div></div>
15+
<script src="/assets/js/app.68ffe170.js" defer></script>
1616
</body>
1717
</html>

docs/.vuepress/dist/admin/config.yml

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
backend:
2-
name: git-gateway
2+
name: github
3+
repo: yoanmarchal/vuepress-netlify-cms
34
branch: master # Branch to update (optional; defaults to master)
4-
collections:
5-
- name: "doc" # Used in routes, e.g., /admin/collections/blog
6-
label: "Doc" # Used in the UI
7-
folder: "docs" # The path to the folder where the documents are stored
8-
create: true # Allow users to create new documents in this collection
9-
slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
10-
fields: # The fields for each document, usually in front matter
11-
- {label: "Title", name: "title", widget: "string"}
12-
- {label: "Body", name: "body", widget: "markdown"}
5+
media_folder: "docs/.vuepress/public/images"
6+
public_folder: "docs/.vuepress/dist/"
7+
collections:
8+
- name: "doc" # Used in routes, e.g., /admin/collections/blog
9+
label: "Doc" # Used in the UI
10+
folder: "docs" # The path to the folder where the documents are stored
11+
create: true # Allow users to create new documents in this collection
12+
slug: "{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md
13+
fields: # The fields for each document, usually in front matter
14+
- {label: "Title", name: "title", widget: "string"}
15+
- {label: "Body", name: "body", widget: "markdown"}

docs/.vuepress/dist/admin/index.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
<title>Content Manager</title>
77

88
<!-- Include the styles for the Netlify CMS UI, after your own styles -->
9-
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@^1.0.0/dist/cms.css" />
9+
<link rel="stylesheet" href="https://unpkg.com/netlify-cms@1.8.2/dist/cms.css" />
10+
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
11+
1012

1113
</head>
1214
<body>
1315
<!-- Include the script that builds the page and powers Netlify CMS -->
14-
<script src="https://unpkg.com/netlify-cms@^1.0.0/dist/cms.js"></script>
16+
<script src="https://unpkg.com/netlify-cms@1.8.2/dist/cms.js"></script>
1517
</body>
1618
</html>

docs/.vuepress/dist/assets/js/0.5fe6fb93.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/.vuepress/dist/assets/js/0.6ccd9fd9.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/.vuepress/dist/assets/js/1.d9235d76.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/.vuepress/dist/assets/js/2.bf0edb6f.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/.vuepress/dist/assets/js/3.90eed2f7.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)