Skip to content

Commit 967847a

Browse files
committed
Update pagic to 0.8.4
1 parent 99b4204 commit 967847a

File tree

2 files changed

+49
-46
lines changed

2 files changed

+49
-46
lines changed

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
export DENO_INSTALL="/home/runner/.deno"
1818
export PATH="$DENO_INSTALL/bin:$PATH"
1919
deno --version
20-
deno install --unstable --allow-read --allow-write --allow-net -n pagic https://deno.land/x/pagic@v0.8.0/mod.ts
20+
deno install --unstable --allow-read --allow-write --allow-net -n pagic https://deno.land/x/pagic@v0.8.4/mod.ts
2121
pagic build
2222
2323
- name: Deploy

pagic.config.tsx

Lines changed: 48 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -23,50 +23,52 @@ export default {
2323
)
2424
}
2525
],
26-
sidebar: [
27-
{
28-
link: 'introduction/README.md',
29-
children: [
30-
'introduction/what-is-typescript.md',
31-
'introduction/get-typescript.md',
32-
'introduction/hello-typescript.md'
33-
]
34-
},
35-
{
36-
link: 'basics/README.md',
37-
children: [
38-
'basics/primitive-data-types.md',
39-
'basics/any.md',
40-
'basics/type-inference.md',
41-
'basics/union-types.md',
42-
'basics/type-of-object-interfaces.md',
43-
'basics/type-of-array.md',
44-
'basics/type-of-function.md',
45-
'basics/type-assertion.md',
46-
'basics/declaration-files.md',
47-
'basics/built-in-objects.md'
48-
]
49-
},
50-
{
51-
link: 'advanced/README.md',
52-
children: [
53-
'advanced/type-aliases.md',
54-
'advanced/string-literal-types.md',
55-
'advanced/tuple.md',
56-
'advanced/enum.md',
57-
'advanced/class.md',
58-
'advanced/class-and-interfaces.md',
59-
'advanced/generics.md',
60-
'advanced/declaration-merging.md',
61-
'advanced/further-reading.md'
62-
]
63-
},
64-
{
65-
link: 'engineering/README.md',
66-
children: ['engineering/lint.md', 'engineering/compiler-options.md']
67-
},
68-
'thanks/README.md'
69-
],
26+
sidebar: {
27+
'/': [
28+
{
29+
link: 'introduction/README.md',
30+
children: [
31+
'introduction/what-is-typescript.md',
32+
'introduction/get-typescript.md',
33+
'introduction/hello-typescript.md'
34+
]
35+
},
36+
{
37+
link: 'basics/README.md',
38+
children: [
39+
'basics/primitive-data-types.md',
40+
'basics/any.md',
41+
'basics/type-inference.md',
42+
'basics/union-types.md',
43+
'basics/type-of-object-interfaces.md',
44+
'basics/type-of-array.md',
45+
'basics/type-of-function.md',
46+
'basics/type-assertion.md',
47+
'basics/declaration-files.md',
48+
'basics/built-in-objects.md'
49+
]
50+
},
51+
{
52+
link: 'advanced/README.md',
53+
children: [
54+
'advanced/type-aliases.md',
55+
'advanced/string-literal-types.md',
56+
'advanced/tuple.md',
57+
'advanced/enum.md',
58+
'advanced/class.md',
59+
'advanced/class-and-interfaces.md',
60+
'advanced/generics.md',
61+
'advanced/declaration-merging.md',
62+
'advanced/further-reading.md'
63+
]
64+
},
65+
{
66+
link: 'engineering/README.md',
67+
children: ['engineering/lint.md', 'engineering/compiler-options.md']
68+
},
69+
'thanks/README.md'
70+
]
71+
},
7072
tools: {
7173
editOnGithub: true,
7274
backToTop: true
@@ -97,5 +99,6 @@ export default {
9799
},
98100
ga: {
99101
id: 'UA-45256157-14'
100-
}
102+
},
103+
port: 8001
101104
};

0 commit comments

Comments
 (0)