Skip to content

Commit f997aef

Browse files
oddgrdseanmonstar
authored andcommitted
feat: create new collection for 1.0 guides
1 parent d226793 commit f997aef

File tree

18 files changed

+63
-38
lines changed

18 files changed

+63
-38
lines changed

_config.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,26 @@ url: "https://hyper.rs" # the base hostname & protocol for your site
66
defaults:
77
-
88
scope:
9-
path: "_guides"
9+
path: "_guides/"
1010
type: "guides"
1111
values:
1212
layout: "guide"
13+
-
14+
15+
scope:
16+
path: "_stable/"
17+
type: "guides"
18+
values:
19+
layout: "guide"
20+
1321

1422
collections:
1523
guides:
1624
permalink: /:collection/:path/
1725
output: true
26+
stable:
27+
permalink: /:collection/:path/
28+
output: true
1829
posts:
1930
permalink: /blog/:year/:month/:day/:title/
2031
output: true

_data/stable.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
- title: Guide
2+
path: ""
3+
guides:
4+
- server
5+
- client
6+
7+
- title: Server
8+
path: "/server"
9+
guides:
10+
- hello-world
11+
- echo
12+
- graceful-shutdown
13+
14+
- title: Client
15+
path: "/client"
16+
guides:
17+
- basic
18+
- advanced
19+
- configuration
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

_guides/master/index.md

Lines changed: 0 additions & 23 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)