-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmkdocs.yml
173 lines (160 loc) · 4.52 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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# Project information
site_name: Zephir Documentation
site_url: https://docs.zephir-lang.com
site_author: Phalcon Team
site_description: >-
Zephir is an open source, high-level/domain specific language designed to
ease the creation and maintainability of extensions for PHP with a focus
on type and memory safety.
# Repository
repo_name: zephir-lang/documentation
repo_url: https://github.com/zephir-lang/documentation
# Copyright
copyright: Copyright © 2012 - present Phalcon Team
# Configuration
theme:
name: material
custom_dir: overrides
features:
- announce.dismiss
- content.action.edit
- content.action.view
- content.code.annotate
- content.code.copy
- content.code.select
# - content.tabs.link
- content.tooltips
# - header.autohide
# - navigation.expand
- navigation.footer
- navigation.indexes
- navigation.instant
- navigation.instant.progress
# - navigation.prune
- navigation.sections
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
# - toc.integrate
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/link
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: deep purple
accent: purple
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: teal
toggle:
icon: material/toggle-switch-off
name: Switch to system preference
font:
text: Titillium Web
code: Source Code Pro
favicon: assets/images/favicon.png
logo: assets/images/logo.svg
# Plugins
plugins:
- include
- search:
separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
- minify:
minify_html: true
- redirects:
redirect_maps:
'index.md': 'introduction.md'
# Hooks
#hooks:
# - material/overrides/hooks/shortcodes.py
# - material/overrides/hooks/translations.py
# Additional configuration
extra:
version:
default: 0.18
provider: mike
annotate:
json: [ .s2 ]
social:
- icon: fontawesome/brands/github
link: https://github.com/zephir-lang
extra_css:
- assets/css/extra.css
# Extensions
markdown_extensions:
- admonition
- attr_list
- footnotes
- md_in_html
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.extra
- pymdownx.tabbed
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.highlight:
anchor_linenums: true
extend_pygments_lang:
- name: php
lang: php
options:
startinline: true
- toc:
permalink: true
# Page tree
nav:
- Home:
- Introduction: introduction.md
- Why Zephir: motivation.md
- License: license.md
- Changelog:
- Current Version: https://github.com/zephir-lang/zephir/blob/development/CHANGELOG.md
- Contributing:
- Contributions: https://github.com/zephir-lang/zephir/blob/development/CONTRIBUTING.md
- Asking a question: https://github.com/orgs/zephir-lang/discussions
- Requesting a change: https://github.com/zephir-lang/zephir/issues
- Issuing a Pull Request: https://github.com/zephir-lang/zephir/pulls
- Getting Started:
- Installation: installation.md
- Tutorial: tutorial.md
- Core:
- Basic Syntax: language.md
- Types: types.md
- Operators: operators.md
- Operator Precedence: operator-precedence.md
- Arrays: arrays.md
- Classes and Objects: oop.md
- Built-in methods: builtin-methods.md
- Control structures: control-structures.md
- Exceptions: exceptions.md
- Features:
- Calling functions: functions.md
- Closures: closures.md
- Custom optimizers: optimizers.md
- Configuration: config.md
- Command Line: command-line.md
- Advanced:
- Lifecycle hooks: lifecycle.md
- Extension globals: globals.md
- phpinfo() sections: phpinfo.md
- Static analysis: static-analysis.md
- Optimizations: optimizations.md
- Compiler warnings: warnings.md
- Discussions: https://github.com/orgs/zephir-lang/discussions