forked from cfug/flutter.cn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
203 lines (188 loc) · 5.34 KB
/
_config.yml
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
title: Flutter 中文文档 - Flutter 中文开发者网站 - Flutter
url: https://flutter.cn/docs
main-url: https://flutter.cn
email: [email protected]
google_analytics_id: UA-122680122-1
# google_site_verification: HFqxhSbf9YA_0rBglNLzDiWnrHiK_w4cqDh2YD2GEY4
# google_tag_manager_id: GTM-ND4LWWZ
default_share_image: /assets/images/cn/flutter-cn-logo.png
github_username: cfug
branch: master
repo:
organization: https://github.com/flutter
this: https://github.com/cfug/flutter.cn
flutter: https://github.com/flutter/flutter
samples: https://github.com/flutter/samples
plugins: https://github.com/flutter/plugins
gallery: https://github.com/flutter/gallery
engine: https://github.com/flutter/engine
uxr: https://github.com/flutter/uxr
dart:
api: https://api.dart.cn
sdk:
channel: stable
sdk:
channel: stable # When changing this value also update it in src/_assets/js/archive.js
social:
twitter: https://twitter.com/FlutterDev
youtube: https://www.youtube.com/flutterdev
dart-site: https://dart.cn
news: https://news.dartlang.org
api: https://api.flutter-io.cn
master-api: https://master-api.flutter-io.cn
pub: https://pub-web.flutter-io.cn
pub-api: https://pub-web.flutter-io.cn/documentation
pub-pkg: https://pub-web.flutter-io.cn/packages
flutter-medium: https://medium.com/flutter
medium: https://medium.com
dartpad: https://dartpad.cn
gallery: https://gallery.flutter.cn
material: https://m3.material.io
material2: https://m2.material.io
so: https://stackoverflow.com
github: https://github.com
flutter-assets: https://flutter.github.io/assets-for-api-docs/assets
android-dev: https://developer.android.google.cn
apple-dev: https://developer.apple.com
google-blog: https://developers.googleblog.com
developers: https://developers.google.cn
codelabs: https://codelabs.flutter-io.cn
groups: https://groups.google.com
firebase: https://firebase.google.cn
flutterfire: https://firebase.flutter.dev
dartpadx-dart: https://dartpad.cn/experimental/embed-new-dart.html ## Adding the exp version for dart here.
youtube-site: https://youtube.com
########### Jekyll ###########
source: src
strict_front_matter: true
permalink: pretty
exclude: []
liquid:
error_mode: strict
strict_filters: true
sass:
sass_dir: _sass
cache: false
style: compressed
load_paths:
- ../node_modules
plugins:
- jekyll-toc
- jekyll-include-cache
toc:
min_level: 2
max_level: 4
defaults:
- scope:
path: assets/images
values:
image: true
- scope:
path: assets/js
values:
js: true
- scope:
path: ''
values:
layout: default
show-nav-get-started-button: true
show_banner: true
show_footer: true
- scope:
path: ''
values:
toc: true
- scope:
path: 'accessibility-and-localization'
values:
show_breadcrumbs: true
- scope:
path: 'add-to-app'
values:
show_breadcrumbs: true
- scope:
path: 'docs/cookbook'
values:
show_breadcrumbs: true
- scope:
path: 'data-and-backend'
values:
show_breadcrumbs: true
- scope:
path: 'docs/deployment'
values:
show_breadcrumbs: true
- scope:
path: 'docs/get-started'
values:
show_breadcrumbs: true
- scope:
path: 'docs/get-started/flutter-for'
values:
show_breadcrumbs: false
- scope:
path: 'packages-and-plugins'
values:
show_breadcrumbs: true
- scope:
path: 'perf'
values:
show_breadcrumbs: true
- scope:
path: 'platform-integration'
values:
show_breadcrumbs: true
- scope:
path: 'release'
values:
show_breadcrumbs: true
- scope:
path: 'testing'
values:
show_breadcrumbs: true
- scope:
path: 'tools'
values:
show_breadcrumbs: true
- scope:
path: 'ui'
values:
show_breadcrumbs: true
- scope:
path: 'ui/widgets'
values:
toc: false
########### Alerts ###########
# TODO these are bootstrap related, will not be supported
alert:
bonus: >-
<aside class="alert alert-info" role="alert" markdown="1">
**Bonus questions!**
important: >-
<aside class="alert alert-warning" role="alert" markdown="1">
<i class="material-icons" aria-hidden="true">error</i> **重点提醒:**
info: >-
<aside class="alert alert-info" role="alert" markdown="1">
<i class="material-icons" aria-hidden="true">info</i>
note: >-
<aside class="alert alert-info" role="alert" markdown="1">
<i class="material-icons" aria-hidden="true">info</i> **提示:**
version-note: >-
<aside class="alert alert-info" role="alert" markdown="1">
<i class="material-icons" aria-hidden="true">merge_type</i> **版本提示:**
secondary: >-
<aside class="alert alert-secondary" role="alert" markdown="1">
tip: >-
<aside class="alert alert-success" role="alert" markdown="1">
<i class="material-icons" aria-hidden="true">tips_and_updates</i> **小提示:**
warning: >-
<aside class="alert alert-warning" role="alert" markdown="1">
<i class="material-icons" aria-hidden="true">report_problem</i> **请注意:**
end: </aside>
########### Custom ###########
custom:
dartpad:
embed-dart-prefix: https://dartpad.cn/embed-dart.html
embed-flutter-prefix: https://dartpad.cn/embed-flutter.html
embed-html-prefix: https://dartpad.cn/embed-html.html
embed-inline-prefix: https://dartpad.cn/embed-inline.html