forked from Nugine/deno-manual-cn
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpagic.config.tsx
More file actions
120 lines (117 loc) · 2.87 KB
/
pagic.config.tsx
File metadata and controls
120 lines (117 loc) · 2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
import { React } from "https://deno.land/x/[email protected]/mod.ts";
import type { PagicConfigSidebar } from "https://deno.land/x/[email protected]/src/plugins/sidebar.tsx";
const toc: PagicConfigSidebar = {
"/": [
"README.md",
"introduction.md",
{
link: "getting_started.md",
children: [
"getting_started/installation.md",
"getting_started/setup_your_environment.md",
"getting_started/first_steps.md",
"getting_started/command_line_interface.md",
"getting_started/permissions.md",
"getting_started/typescript.md",
"getting_started/webassembly.md",
],
},
{
link: "runtime.md",
children: [
"runtime/stability.md",
"runtime/program_lifecycle.md",
"runtime/compiler_apis.md",
"runtime/workers.md",
],
},
{
link: "linking_to_external_code.md",
children: [
"linking_to_external_code/reloading_modules.md",
"linking_to_external_code/integrity_checking.md",
"linking_to_external_code/proxies.md",
"linking_to_external_code/import_maps.md",
],
},
{
link: "standard_library.md",
},
{
link: "testing.md",
children: [
"testing/assertions.md",
],
},
{
link: "tools.md",
children: [
"tools/debugger.md",
"tools/script_installer.md",
"tools/formatter.md",
"tools/bundler.md",
"tools/documentation_generator.md",
"tools/dependency_inspector.md",
"tools/linter.md",
],
},
{
link: "embedding_deno.md",
},
{
link: "contributing.md",
children: [
"contributing/building_from_source.md",
"contributing/development_tools.md",
"contributing/style_guide.md",
"contributing/architecture.md",
],
},
{
link: "examples.md",
children: [
"examples/unix_cat.md",
"examples/file_server.md",
"examples/tcp_echo.md",
"examples/subprocess.md",
"examples/permissions.md",
"examples/os_signals.md",
"examples/file_system_events.md",
"examples/testing_if_main.md",
],
},
],
};
export default {
srcDir: ".",
root: "/",
ignore: [
"/LICENSE",
],
theme: "docs",
plugins: ["sidebar", "prev_next"],
title: "Deno 中文手册",
description: "Deno 中文手册,Deno 中文教程,Deno 入门手册,Deno 入门指南。",
github: "https://github.com/denocn/deno_manual",
head: <link rel="icon" href="/favicon.svg" type="image/svg+xml" />,
tools: {
editOnGithub: false,
backToTop: true,
},
sidebar: toc,
nav: [
{
text: "社区",
link: "http://deno.js.cn",
target: "_blank",
},
{
text: "安装",
link: "http://x.deno.js.cn",
target: "_blank",
},
],
ga: {
id: "UA-123999279-4",
},
};