forked from dart-lang/site-www
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
124 lines (114 loc) · 3.3 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
# Site settings
title: Dart
description: Dart is a platform for building structured apps. It includes a language, a VM, libraries, tools, and compilers to many targets, including JavaScript.
url: https://www.dartlang.org
dev-url: https://dartlang-org-dev.firebaseapp.com
repo: https://github.com/dart-lang/site-www
branch: master
port: 4000
# Global variables
# use case:
# {{site.webdev}}/downloads
www: https://www.dartlang.org
prev-url: https://v1-dartlang-org.firebaseapp.com
webdev: https://webdev.dartlang.org
dev-webdev: https://webdev-dartlang-org-dev.firebaseapp.com
dart_vm: /dart-vm
flutter: https://flutter.io
dart_api: https://api.dartlang.org
flutter_api: https://docs.flutter.io
pub: https://pub.dartlang.org
pub-api: https://pub.dartlang.org/documentation
pub-pkg: https://pub.dartlang.org/packages
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
- scope:
path: tools
values:
show_breadcrumbs: true
custom:
dartpad:
embed-dart-prefix: https://dartpad.dartlang.org/embed-dart.html
embed-html-prefix: https://dartpad.dartlang.org/embed-html.html
embed-inline-prefix: https://dartpad.dartlang.org/embed-inline.html
direct-link: https://dartpad.dartlang.org
downloads:
dartarchive-be-url-prefix: https://storage.googleapis.com/dart-archive/channels/be/raw
dartarchive-dev-url-prefix: https://storage.googleapis.com/dart-archive/channels/dev/release
dartarchive-stable-url-prefix: https://storage.googleapis.com/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
# Build settings
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]
destination: publish
bundler_args: --without production
exclude: [diagrams]
plugins:
- jekyll-assets
- jekyll-toc
# 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"
assets:
# compress:
# css: true # default - development: false, production: true
# js: true # default - development: false, production: true
# cache: .asset-cache # default: .asset-cache
# cdn: https://cdn.example.com
# skip_baseurl_with_cdn: false
# skip_prefix_with_cdn: false
prefix: /assets
assets:
- "*.png"
- "*.jpg"
- "*.eot"
- "*.ttf"
- "*.woff"
- "*.woff2"
- "*.svg"
sources:
- _assets/icons
- _assets/images
- _assets/javascripts
- _assets/stylesheets
- _assets/page_assets
features:
liquid: true # default: false
automatic_img_size: true # default: true
automatic_img_alt : true # default: true