forked from cfug/dart.cn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
127 lines (115 loc) · 3.78 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
# Site settings
title: Dart
description: Dart is a client-optimized language for developing fast apps on any platform.
url: https://dart.cn
dev-url: https://debug.dart.cn
repo:
this: https://github.com/cfug/dart.cn
shared: &repo-shared https://github.com/dart-lang/site-shared
branch: master
port: 4000
source: src
strict_front_matter: true
future: true # In support of https://github.com/dart-lang/site-www/issues/1111
sass:
sass_dir: _sass
cache: false
style: compressed
load_paths:
- ../node_modules
plugins:
- jekyll-toc
toc:
min_level: 2
max_level: 3
no_toc_section_class: no_toc_section # ignore if in no_toc_section element
dart-site: ''
flutter: https://flutter.cn
flutter-docs: https://flutter.cn/docs
dart_api: https://api.dart.cn # temporary keep for .cn site to see if there is any refrence to it
flutter_api: https://api.flutter-io.cn # temporary keep for .cn site to see if there is any refrence to it
pub: https://pub.flutter-io.cn
pub-api: https://pub.flutter-io.cn/documentation
pub-pkg: https://pub.flutter-io.cn/packages
dartpad: https://dartpad.cn
dart-api: https://api.dart.cn
flutter-api: https://api.flutter-io.cn
news: https://news.dartlang.org
show_banner: true
collections:
articles:
output: true
permalink: /articles/:path
tutorials:
output: true
permalink: /tutorials/:path
guides:
output: true
permalink: /guides/:path
defaults:
- scope:
path: ''
# type: pages
values:
layout: default
toc: true
- scope:
path: ''
type: tutorials
values:
layout: tutorial
custom:
downloads:
dartarchive-be-url-prefix: https://storage.flutter-io.cn/dart-archive/channels/be/raw
dartarchive-dev-url-prefix: https://storage.flutter-io.cn/dart-archive/channels/dev/release
dartarchive-stable-url-prefix: https://storage.flutter-io.cn/dart-archive/channels/stable/release
binaries:
- os: windows
name: Windows
ext: zip
editor-ext: zip
- os: macos
name: Mac
ext: zip
editor-ext: zip
- os: linux
name: Linux
ext: zip
editor-ext: zip
# `symlinked-sources` can refer to individual files or directories
# under `src` that are symlinked to somewhere outside `src`, or it can
# refer to the root folder of the symlinked content (like `site-shared/src`):
# symlinked-sources: [site-shared/src]
# Increment this global og:image URL version number (used as a query parameter)
# when you update any og:image file. (Also increment the corresponding number
# in the `firebase.json` redirect rule.)
og_image_vers: "?2"
## Site-wide shorthands
alert:
important: >-
<aside class="alert alert-warning" role="alert" markdown="1">
<i class="fas fa-exclamation-circle"></i> **重要说明:**
info: >-
<aside class="alert alert-info" role="alert" markdown="1">
<i class="fas fa-info-circle"></i>
note: >-
<aside class="alert alert-info" role="alert" markdown="1">
<i class="fas fa-info-circle"></i> **备注:**
flutter-note: >-
<aside class="alert alert-info" role="alert" markdown="1">
<img src="/assets/img/shared/flutter/icon/64.png" width="24" alt="Flutter logo"> **与 Flutter 相关的备注:**
version-note: >-
<aside class="alert alert-info" role="alert" markdown="1">
<i class="fas fa-code-branch"></i> **版本提示:**
secondary: >-
<aside class="alert alert-secondary" role="alert" markdown="1">
tip: >-
<aside class="alert alert-success" role="alert" markdown="1">
<i class="far fa-lightbulb"></i> **小提示:**
warn: >-
<aside class="alert alert-warning" role="alert" markdown="1">
<i class="fas fa-exclamation-triangle"></i>
warning: >-
<aside class="alert alert-warning" role="alert" markdown="1">
<i class="fas fa-exclamation-triangle"></i> **请注意:**
end: </aside>