forked from flutter/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
137 lines (124 loc) · 3.89 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
# Site settings
title: Flutter
# description: TBC
email: [email protected]
url: https://flutter.dev
port: 4002
github_username: flutter
repo:
organization: https://github.com/flutter
this: https://github.com/flutter/website
flutter: https://github.com/flutter/flutter
branch: master
dart:
api: https://api.dart.dev
sdk:
channel: stable
sdk: # Flutter 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.dev
news: https://news.dartlang.org
api: https://api.flutter.dev
master-api: https://master-api.flutter.dev
pub: https://pub.dev
pub-api: https://pub.dev/documentation
pub-pkg: https://pub.dev/packages
flutter-medium: https://medium.com/flutter
medium: https://medium.com
dartpad: https://dartpad.dev
material: https://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.com
codelabs: https://codelabs.developers.google.com
groups: https://groups.google.com
firebase: https://firebase.google.com
defaults:
- scope:
path: ''
values:
layout: default
show-nav-get-started-button: true
# To hide banners from every page, comment out the `show_banner` setting
# below. To selectively enable a banner (say, on the homepage) add
# `show_banner: true` to the page's frontmatter.
show_banner: true
show_footer: true
- scope:
path: 'docs'
values:
toc: true
- scope:
path: 'docs/cookbook'
values:
show_breadcrumbs: true
- scope:
path: 'docs/development'
values:
show_breadcrumbs: true
- scope:
path: 'docs/development/ui/widgets'
values:
toc: false
- scope:
path: 'docs/get-started'
values:
show_breadcrumbs: true
- scope:
path: 'docs/get-started/flutter-for'
values:
show_breadcrumbs: false
# Build settings
assets:
sources:
- _shared/_assets
- _shared/_assets/css
# kramdown: {show_warnings: true}
plugins: [jekyll-toc]
source: src
# `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]
toc:
min_level: 2
max_level: 4
## Site-wide shorthands
os-list: [Windows, macOS, Linux]
alert:
important: >-
<aside class="alert alert-warning" role="alert" markdown="1">
<i class="fas fa-exclamation-circle"></i> **Important:**
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> **Note:**
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> **Tip:**
warning: >-
<aside class="alert alert-warning" role="alert" markdown="1">
<i class="fas fa-exclamation-triangle"></i> **Warning:**
end: </aside>
custom:
dartpad:
embed-dart-prefix: https://dartpad.dev/embed-dart.html
embed-flutter-prefix: https://dartpad.dev/embed-flutter.html
embed-html-prefix: https://dartpad.dev/embed-html.html
embed-inline-prefix: https://dartpad.dev/embed-inline.html
# callout_danger: '<div class="bs-callout bs-callout-danger">'
# callout_default: '<div class="bs-callout bs-callout-default">'
# callout_primary: '<div class="bs-callout bs-callout-primary">'
# callout_success: '<div class="bs-callout bs-callout-success">'
# callout_info: '<div class="bs-callout bs-callout-info">'
# callout_warning: '<div class="bs-callout bs-callout-warning">'
# hr_faded: '<hr class="faded"/>'
# hr_shaded: '<hr class="shaded"/>'