-
-
Notifications
You must be signed in to change notification settings - Fork 248
/
mkdocs.yml
114 lines (104 loc) · 3.11 KB
/
mkdocs.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
site_name: Crystal
site_url: https://crystal-lang.org/reference/latest/
repo_url: https://github.com/crystal-lang/crystal
edit_uri: https://github.com/crystal-lang/crystal-book/edit/master/docs/
use_directory_urls: false
extra:
alternate:
- name: English
link: https://crystal-lang.org/reference/
lang: en
- name: 日本語
link: https://ja.crystal-lang.org/reference/
lang: ja
version:
provider: mike
analytics:
provider: google
property: UA-42353458-1
theme:
name: material
language: en
palette:
primary: black
accent: blue
icon:
repo: fontawesome/brands/github
edit: material/pencil
favicon: https://crystal-lang.org/favicon.ico
logo: assets/crystal-circ.svg
custom_dir: overrides
features:
- content.action.edit
- navigation.footer
- navigation.tabs
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
anchors: warn
exclude_docs: |
SUMMARY.md
extra_css:
- assets/vendor/codemirror/codemirror.min.css
- assets/style.css
- assets/vendor/carcin-play/carcin-play.css
- assets/vendor/carcin-play/codemirror-theme.css
plugins:
- search
- literate-nav:
nav_file: SUMMARY.md
- section-index
- redirects:
redirect_maps:
introduction.md: README.md
syntax_and_semantics/literals.md: syntax_and_semantics/literals/README.md
syntax_and_semantics/macros.md: syntax_and_semantics/macros/README.md
syntax_and_semantics/annotations.md: syntax_and_semantics/annotations/README.md
guides/continuous_integration.md: guides/ci/README.md
conventions/documenting_code.md: syntax_and_semantics/documenting_code.md
overview/index.md: syntax_and_semantics/README.md
overview/hello_world.md: getting_started/README.md
using_the_compiler/README.md: man/crystal/README.md
the_shards_command/README.md: man/shards/README.md
governance.md: https://crystal-lang.org/community/governance.html
platform_support.md: syntax_and_semantics/platform_support.md
- code-validator:
enabled: !ENV [LINT, false]
identifiers:
crystal:
validators:
- crystal tool format --check -
crystal-play:
language: crystal
validators:
- crystal tool format --check -
- crystal build --no-codegen $<
hooks:
- hooks.py
markdown_extensions:
- admonition
- attr_list
- md_in_html
- pymdownx.betterem:
smart_enable: all
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight
- pymdownx.magiclink
- pymdownx.superfences
- pymdownx.snippets:
check_paths: true
base_path:
- !relative $config_dir
- callouts
- toc:
permalink: true
extra_javascript:
- assets/vendor/codemirror/codemirror.min.js
- assets/vendor/codemirror/mode/crystal/crystal.min.js
- assets/vendor/carcin-play/carcin.js
- assets/vendor/carcin-play/carcin-play.js
- assets/vendor/ansi_up/ansi_up.min.js
- assets/crystal-play.js