Skip to content

Commit 9e91e9b

Browse files
committed
update docs
1 parent e773878 commit 9e91e9b

5 files changed

Lines changed: 66 additions & 15 deletions

File tree

CoCreate.config.js

Lines changed: 50 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ module.exports = {
77
},
88

99
sources: [
10+
{
11+
path: "./docs/index.html",
12+
collection: "website-pages",
13+
document_id: "5fcd7624a1e91e001085a053",
14+
key: "html",
15+
data:{
16+
name: "CoCreateJS Doc",
17+
}
18+
},
1019
// {
1120
// path: "./docs/index.html",
1221
// collection: "files",
@@ -16,6 +25,15 @@ module.exports = {
1625
// name: "CoCreateJS Doc",
1726
// }
1827
// },
28+
{
29+
path: "./docs/introduction.html",
30+
collection: "files",
31+
document_id: "60888216117c640e7596303f",
32+
key: "html",
33+
data:{
34+
name: "CoCreateJS Intro Doc",
35+
}
36+
},
1937
{
2038
path: "./docs/elements.html",
2139
collection: "files",
@@ -25,7 +43,15 @@ module.exports = {
2543
name: "CoCreateJS Elements Doc",
2644
}
2745
},
28-
46+
{
47+
path: "./docs/CoCreateJS-objects.html",
48+
collection: "files",
49+
document_id: "60888216117c640e75963040",
50+
key: "html",
51+
data:{
52+
name: "CoCreateJS Objects Doc",
53+
}
54+
},
2955
{
3056
path: "./docs/menu.html",
3157
collection: "components",
@@ -66,6 +92,17 @@ module.exports = {
6692
route: "/docs",
6793
}
6894
},
95+
{
96+
collection: "routes",
97+
document_id: "60888216117c640e7596303d",
98+
data:{
99+
collection: "files",
100+
document_id: "60888216117c640e7596303f",
101+
name: "html",
102+
domains: ["cocreate.app", "server.cocreate.app", "ws.cocreate.app"],
103+
route: "/docs/intro",
104+
}
105+
},
69106
{
70107
collection: "routes",
71108
document_id: "6084db6968177d4c2f556fd6",
@@ -76,7 +113,18 @@ module.exports = {
76113
domains: ["cocreate.app", "server.cocreate.app", "ws.cocreate.app"],
77114
route: "/docs/elements",
78115
}
79-
}
116+
},
117+
{
118+
collection: "routes",
119+
document_id: "60888216117c640e7596303e",
120+
data:{
121+
collection: "files",
122+
document_id: "60888216117c640e75963040",
123+
name: "html",
124+
domains: ["cocreate.app", "server.cocreate.app", "ws.cocreate.app"],
125+
route: "/docs/cocreatejs-objects",
126+
}
127+
},
80128
],
81129

82130
extract: {

docs/index.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@
77
<title>CoCreateJS - A Low-code Javascript framework</title>
88
<meta name="description" content="A Low-code JavaScript framework for building collaborative No-code platforms, apps and UI">
99
<link rel="icon" type="image/png" sizes="32x32" href="https://cocreate.app/images/favicon.ico">
10-
11-
<!-- CoCreate CSS -->
12-
<link rel="stylesheet" href="https://server.cocreate.app/CoCreateJS/dist/CoCreate.css" type="text/css" />
10+
<meta name="robots" content="index,follow" />
11+
<meta property="og:image" content="https://cdn.cocreate.app/docs/action.png">
12+
13+
<!-- CoCreate CSS -->
14+
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css"/>
15+
<link rel="stylesheet" href="https://ws.cocreate.app/docs.css" data-collection="apples" data-document_id="6069ff5042ef8ff5175a5c8d" name="css" type="text/css" />
1316

1417
</head>
1518
<style type="text/css" media="screen">
@@ -243,8 +246,7 @@ <h1 class="text-align:center">SPREAD THE WORD!</h1>
243246
</script>
244247

245248
<!--CoCreateJS-->
246-
<!--<script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>-->
247-
<script src="https://server.cocreate.app/CoCreateJS/dist/CoCreate.js" ></script>
248-
249+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js" ></script>
250+
249251
</body>
250252
</html>

docs/introduction.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
<meta name="description" content="Utility first css framework, design faster and improve on your css by using native inline styles as classes. No learning curve, use what you already know" />
1010
<meta name="keywords" content="helper classes, utility classes, css framework, css library, inline style classes" />
1111
<meta name="robots" content="index,follow" />
12-
<meta property="og:image" content="https://cdn.cocreate.app/docs/boilerplate.png">
13-
12+
<meta property="og:image" content="https://cdn.cocreate.app/docs/action.png">
13+
1414
<!-- CoCreate CSS -->
15-
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css" />
15+
<link rel="stylesheet" href="https://cdn.cocreate.app/latest/CoCreate.min.css" type="text/css"/>
16+
<link rel="stylesheet" href="https://ws.cocreate.app/docs.css" data-collection="apples" data-document_id="6069ff5042ef8ff5175a5c8d" name="css" type="text/css" />
1617
</head>
1718

1819
<body>

docs/menu.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<a href="/#features" class="padding-left:15px color:dodgerblue:hover">Features</a>
3535
</li>
3636
<li class="padding-right:10px font-size:20px line-height:40px height:40px">
37-
<a href="/docs/elements" class="padding-left:15px color:dodgerblue:hover">Docs</a>
37+
<a href="/docs/intro" class="padding-left:15px color:dodgerblue:hover">Docs</a>
3838
</li>
3939
<li class="padding-right:10px font-size:20px line-height:40px height:40px">
4040
<a href="/blog" class="padding-left:15px color:dodgerblue:hover">Blog</a>
@@ -56,12 +56,12 @@
5656
</li>
5757
<div class="padding-bottom:20px gettingstarted ">
5858
<li class="line-height:40px height:40px padding-left:30px">
59-
<a href="./introduction#apikeys">
59+
<a href="./intro#apikeys">
6060
<span class="color:dodgerblue:hover">API Keys</span>
6161
</a>
6262
</li>
6363
<li class="line-height:40px height:40px padding-left:30px">
64-
<a href="./introduction#cdn">
64+
<a href="./intro#cdn">
6565
<span class="color:dodgerblue:hover">CDN</span>
6666
</a>
6767
</li>

docs/navbar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
<a href="/#features" class="color:dodgerblue:hover">Features</a>
8080
</div>
8181
<div class="margin-right:25px">
82-
<a href="/docs/elements" class="color:dodgerblue:hover">Docs</a>
82+
<a href="/docs/intro" class="color:dodgerblue:hover">Docs</a>
8383
</div>
8484
<div class="margin-right:25px">
8585
<a href="/blog" class="color:dodgerblue:hover">Blog</a>

0 commit comments

Comments
 (0)