Skip to content

Commit c661af0

Browse files
committed
layout and content updated
1 parent b00c922 commit c661af0

37 files changed

+449
-414
lines changed

config/external_links.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const external_links = [
22
{
33
identifier: 'landing',
4-
name: 'Home page',
4+
name: 'Landing page',
55
url: 'http://sveltin.io',
66
weight: 1
77
},

config/menu.js

+18-24
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const menu = [
22
{
3-
identifier: 'about',
4-
name: 'About Sveltin',
5-
url: '/about',
3+
identifier: 'why',
4+
name: 'Why Sveltin?',
5+
url: '/why',
66
weight: 1
77
},
88

@@ -12,12 +12,6 @@ const menu = [
1212
url: '/getting-started',
1313
weight: 2
1414
},
15-
{
16-
identifier: 'tutorials',
17-
name: 'Tutorials',
18-
url: '/tutorials',
19-
weight: 3
20-
},
2115
{
2216
identifier: 'cli',
2317
name: 'CLI',
@@ -26,105 +20,105 @@ const menu = [
2620
children: [
2721
{
2822
identifier: 'sveltin',
29-
name: 'Sveltin',
23+
name: 'sveltin',
3024
url: '/cli/sveltin',
3125
weight: 1
3226
},
3327

3428
{
3529
identifier: 'new',
36-
name: 'New',
30+
name: 'new',
3731
url: '/cli/new',
3832
weight: 2
3933
},
4034

4135
{
4236
identifier: 'new-resource',
43-
name: 'New-Resource',
37+
name: 'new resource',
4438
url: '/cli/new-resource',
4539
weight: 3
4640
},
4741

4842
{
4943
identifier: 'new-content',
50-
name: 'New-Content',
44+
name: 'new content',
5145
url: '/cli/new-content',
5246
weight: 4
5347
},
5448

5549
{
5650
identifier: 'new-metadata',
57-
name: 'New-Metadata',
51+
name: 'new metadata',
5852
url: '/cli/new-metadata',
5953
weight: 5
6054
},
6155

6256
{
6357
identifier: 'new-page',
64-
name: 'New-Page',
58+
name: 'new page',
6559
url: '/cli/new-page',
6660
weight: 6
6761
},
6862

6963
{
7064
identifier: 'new-theme',
71-
name: 'New-Theme',
65+
name: 'new theme',
7266
url: '/cli/new-theme',
7367
weight: 7
7468
},
7569

7670
{
7771
identifier: 'generate',
78-
name: 'Generate',
72+
name: 'generate',
7973
url: '/cli/generate',
8074
weight: 8
8175
},
8276

8377
{
8478
identifier: 'generate-menu',
85-
name: 'Generate-Menu',
79+
name: 'generate menu',
8680
url: '/cli/generate-menu',
8781
weight: 9
8882
},
8983

9084
{
9185
identifier: 'generate-rss',
92-
name: 'Generate-Rss',
86+
name: 'generate rss',
9387
url: '/cli/generate-rss',
9488
weight: 10
9589
},
9690

9791
{
9892
identifier: 'generate-sitemap',
99-
name: 'Generate-Sitemap',
93+
name: 'generate sitemap',
10094
url: '/cli/generate-sitemap',
10195
weight: 11
10296
},
10397

10498
{
10599
identifier: 'server',
106-
name: 'Server',
100+
name: 'server',
107101
url: '/cli/server',
108102
weight: 12
109103
},
110104

111105
{
112106
identifier: 'prepare',
113-
name: 'Prepare',
107+
name: 'prepare',
114108
url: '/cli/prepare',
115109
weight: 13
116110
},
117111

118112
{
119113
identifier: 'build',
120-
name: 'Build',
114+
name: 'build',
121115
url: '/cli/build',
122116
weight: 14
123117
},
124118

125119
{
126120
identifier: 'preview',
127-
name: 'Preview',
121+
name: 'preview',
128122
url: '/cli/preview',
129123
weight: 15
130124
}

config/website.js

+6-7
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,20 @@ const website = {
33
baseURL: 'https://docs.sveltin.io',
44
language: 'en-GB',
55
title: 'docs',
6-
slogan: '',
7-
description: '',
8-
logo: 'logo.png',
9-
logo_small: 'logo_small.png',
6+
slogan: 'Documentation site for Sveltin CLI',
7+
description: 'Documentation site for Sveltin CLI',
8+
logo: 'sveltin-logo.png',
109
copyright: '2021, YOUR_NAME_HERE',
11-
keywords: '',
10+
keywords: 'sveltekit, svelte, documentation, cli, sveltin, static site generator, tailwind',
1211
contactEmail: '',
1312
sitemap: {
14-
changefreq: 'weekly',
13+
changefreq: 'monthly',
1514
priority: 0.5
1615
},
1716
socials: {
1817
linkedin: '',
1918
twitter: '',
20-
github: '',
19+
github: 'https://github.com/sveltinio',
2120
facebook: '',
2221
instagram: '',
2322
youtube: ''

content/cli/build/index.svx

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: sveltin build
33
slug: build
44
headline: Builds a production version of your static website
55
author: indaco
6-
date: 24-Dec-2021
7-
cover: image.png
6+
created_at: 24-Dec-2021
7+
updated_at: 29-Dec-2021
88
draft: false
99
---
1010

@@ -34,4 +34,4 @@ sveltin build [flags]
3434

3535
### SEE ALSO
3636

37-
- [sveltin](sveltin.md) - sveltin is the main command to work with SvelteKit powered static websites.
37+
- [sveltin](sveltin) - sveltin is the main command to work with SvelteKit powered static websites.

content/cli/generate-menu/index.svx

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Generate Menu
33
slug: generate-menu
44
headline: Generate the menu config file for your Sveltin project
55
author: indaco
6-
date: 24-Dec-2021
7-
cover: image.png
6+
created_at: 24-Dec-2021
7+
updated_at: 29-Dec-2021
88
draft: false
99
---
1010

@@ -29,4 +29,4 @@ sveltin generate menu [flags]
2929

3030
### SEE ALSO
3131

32-
- [sveltin generate](sveltin_generate.md) - Command to generate static files (sitemap, rss, menu)
32+
- [sveltin generate](generate) - Command to generate static files (sitemap, rss, menu)

content/cli/generate-rss/index.svx

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Generate RSS
33
slug: generate-rss
44
headline: Generate a rss.xml file for your Sveltin project
55
author: indaco
6-
date: 24-Dec-2021
7-
cover: image.png
6+
created_at: 24-Dec-2021
7+
updated_at: 29-Dec-2021
88
draft: false
99
---
1010

@@ -30,4 +30,4 @@ sveltin generate rss [flags]
3030

3131
### SEE ALSO
3232

33-
- [sveltin generate](sveltin_generate.md) - Command to generate static files (sitemap, rss, menu)
33+
- [sveltin generate](generate) - Command to generate static files (sitemap, rss, menu)

content/cli/generate-sitemap/index.svx

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Generate Sitemap
33
slug: generate-sitemap
44
headline: Generate a sitemap.xml file for your Sveltin project
55
author: indaco
6-
date: 24-Dec-2021
7-
cover: image.png
6+
created_at: 24-Dec-2021
7+
updated_at: 29-Dec-2021
88
draft: false
99
---
1010

@@ -28,4 +28,4 @@ sveltin generate sitemap [flags]
2828

2929
### SEE ALSO
3030

31-
- [sveltin generate](sveltin_generate.md) - Command to generate static files (sitemap, rss, menu)
31+
- [sveltin generate](generate) - Command to generate static files (sitemap, rss, menu)

content/cli/generate/index.svx

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Generate
33
slug: generate
44
headline: Command to generate static files (sitemap, rss, menu)
55
author: indaco
6-
date: 24-Dec-2021
7-
cover: image.png
6+
created_at: 24-Dec-2021
7+
updated_at: 29-Dec-2021
88
draft: false
99
---
1010

@@ -28,7 +28,7 @@ sveltin generate [flags]
2828

2929
### SEE ALSO
3030

31-
- [sveltin](sveltin.md) - sveltin is the main command to work with SvelteKit powered static websites.
32-
- [sveltin generate menu](sveltin_generate_menu.md) - Generate the menu config file for your Sveltin project
33-
- [sveltin generate rss](sveltin_generate_rss.md) - Generate a rss.xml file for your Sveltin project
34-
- [sveltin generate sitemap](sveltin_generate_sitemap.md) - Generate a sitemap.xml file for your Sveltin project
31+
- [sveltin](sveltin) - sveltin is the main command to work with SvelteKit powered static websites.
32+
- [sveltin generate menu](generate-menu) - Generate the menu config file for your Sveltin project
33+
- [sveltin generate rss](generate-rss) - Generate a rss.xml file for your Sveltin project
34+
- [sveltin generate sitemap](generate-sitemap) - Generate a sitemap.xml file for your Sveltin project

content/cli/new-content/index.svx

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: New Content
33
slug: new-content
44
headline: Create a new content for existing resource
55
author: indaco
6-
date: 24-Dec-2021
7-
cover: image.png
6+
created_at: 24-Dec-2021
7+
updated_at: 29-Dec-2021
88
draft: false
99
---
1010

@@ -44,4 +44,4 @@ sveltin new content [name] [flags]
4444

4545
### SEE ALSO
4646

47-
- [sveltin new](sveltin_new.md) - Command to create projects, resources, contents, pages, metadata, theme
47+
- [sveltin new](new) - Command to create projects, resources, contents, pages, metadata, theme

content/cli/new-metadata/index.svx

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: New Metadata
33
slug: new-metadata
44
headline: Command to add new metadata to an existing resource
55
author: indaco
6-
date: 24-Dec-2021
7-
cover: image.png
6+
created_at: 24-Dec-2021
7+
updated_at: 29-Dec-2021
88
draft: false
99
---
1010

@@ -36,4 +36,4 @@ sveltin new metadata [name] --resource [resource] --type [single|list] [flags]
3636

3737
### SEE ALSO
3838

39-
- [sveltin new](sveltin_new.md) - Command to create projects, resources, contents, pages, metadata, theme
39+
- [sveltin new](new) - Command to create projects, resources, contents, pages, metadata, theme

content/cli/new-page/index.svx

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: New Page
33
slug: new-page
44
headline: Create a new public page
55
author: indaco
6-
date: 24-Dec-2021
7-
cover: image.png
6+
created_at: 24-Dec-2021
7+
updated_at: 29-Dec-2021
88
draft: false
99
---
1010

@@ -35,4 +35,4 @@ sveltin new page [name] [flags]
3535

3636
### SEE ALSO
3737

38-
- [sveltin new](sveltin_new.md) - Command to create projects, resources, contents, pages, metadata, theme
38+
- [sveltin new](new) - Command to create projects, resources, contents, pages, metadata, theme

content/cli/new-resource/index.svx

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
---
2-
title: New Resource
2+
title: sveltin new resource
33
slug: new-resource
44
headline: Command to create new resources
55
author: indaco
6-
date: 24-Dec-2021
7-
cover: image.png
6+
created_at: 24-Dec-2021
7+
updated_at: 29-Dec-2021
88
draft: false
99
---
1010

11-
## sveltin new resource
1211

1312
Command to create new resources
1413

@@ -39,4 +38,4 @@ sveltin new resource [name] [flags]
3938

4039
### SEE ALSO
4140

42-
- [sveltin new](sveltin_new.md) - Command to create projects, resources, contents, pages, metadata, theme
41+
- [sveltin new](new) - Command to create projects, resources, contents, pages, metadata, theme

content/cli/new-theme/index.svx

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: New Theme
33
slug: new-theme
44
headline: Create a new theme structure
55
author: indaco
6-
date: 24-Dec-2021
7-
cover: image.png
6+
created_at: 24-Dec-2021
7+
updated_at: 29-Dec-2021
88
draft: false
99
---
1010

@@ -30,4 +30,4 @@ sveltin new theme [name] [flags]
3030

3131
### SEE ALSO
3232

33-
- [sveltin new](sveltin_new.md) - Command to create projects, resources, contents, pages, metadata, theme
33+
- [sveltin new](new) - Command to create projects, resources, contents, pages, metadata, theme

content/cli/new/index.svx

+8-8
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: New
33
slug: new
44
headline: Command to create projects, resources, contents, pages, metadata, theme
55
author: indaco
6-
date: 24-Dec-2021
7-
cover: image.png
6+
created_at: 24-Dec-2021
7+
updated_at: 29-Dec-2021
88
draft: false
99
---
1010

@@ -34,9 +34,9 @@ sveltin new <project> [flags]
3434

3535
### SEE ALSO
3636

37-
- [sveltin](sveltin.md) - sveltin is the main command to work with SvelteKit powered static websites.
38-
- [sveltin new content](sveltin_new_content.md) - Create a new content for existing resource
39-
- [sveltin new metadata](sveltin_new_metadata.md) - Command to add new metadata as a Sveltekit resource
40-
- [sveltin new page](sveltin_new_page.md) - Create a new public page
41-
- [sveltin new resource](sveltin_new_resource.md) - Command to create new resources
42-
- [sveltin new theme](sveltin_new_theme.md) - Create a new theme structure
37+
- [sveltin](sveltin) - sveltin is the main command to work with SvelteKit powered static websites.
38+
- [sveltin new content](new-content) - Create a new content for existing resource
39+
- [sveltin new metadata](new-metadata) - Command to add new metadata as a Sveltekit resource
40+
- [sveltin new page](new-page) - Create a new public page
41+
- [sveltin new resource](new-resource) - Command to create new resources
42+
- [sveltin new theme](new-theme) - Create a new theme structure

0 commit comments

Comments
 (0)