forked from crystal-lang/crystal-book
-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkdocs.yml
90 lines (84 loc) · 2.51 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
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/tree/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
- name: Portuguese
link: http://127.0.0.1:8000/reference/latest/
lang: pt-BR
version:
provider: mike
analytics:
provider: google
property: UA-42353458-1
theme:
name: material
language: pt-BR
palette:
primary: black
accent: blue
icon:
repo: fontawesome/brands/github
favicon: https://crystal-lang.org/favicon.ico
logo: assets/crystal-circ.svg
custom_dir: overrides
features:
- navigation.tabs
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
- 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 $<
- mkdocs-simple-hooks:
hooks:
on_page_markdown: 'hooks:on_page_markdown'
markdown_extensions:
- admonition
- md_in_html
- pymdownx.highlight
- pymdownx.magiclink
- pymdownx.superfences
- toc:
permalink: true
- pymdownx.snippets
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