-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
210 lines (189 loc) Β· 5.85 KB
/
index.html
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>One Programming Language</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description"
content="One is an open-source system programming language that makes it easy to build reliable, efficient and performant software.">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<!-- site theme -->
<link rel="stylesheet" href="https://unpkg.com/docsify-themeable@0/dist/css/theme-simple.css" title="light">
<!-- prismjs theme -->
<!-- <link rel="stylesheet" href="//unpkg.com/[email protected]/themes/prism.css"> -->
<!-- <link rel="stylesheet" href="//unpkg.com/[email protected]/themes/prism-coy.css"> -->
<!-- <link rel="stylesheet" href="//unpkg.com/prism-themes/themes/prism-ghcolors.css"> -->
<!-- <link rel="stylesheet" href="//unpkg.com/prism-themes/themes/prism-atom-dark.css"> -->
</head>
<body>
<div id="app"></div>
<!-- edit on github plugin must appear here -->
<script src="scripts/docsify-edit-on-github.js"></script>
<script>
window.$docsify = {
name: "One Programming Language",
repo: "https://github.com/One-Language/One",
el: "#app",
onlyCover: true,
coverpage: true,
loadNavbar: true,
loadSidebar: true,
notFoundPage: true,
subMaxLevel: 2,
auto2top: true,
rtl: { // For Ar and FA languages!
body: "ltr",
side: "ltr",
bdo: "rtl"
},
alias: {
// ".*?/plugins-all":
// "https://raw.githubusercontent.com/One-Language/One-plugins/main/README.md",
// ".*?/changelog":
// "https://raw.githubusercontent.com/One-Language/One/main/CHANGELOG.md",
},
markdown: {
smartypants: true,
},
themeColor: "#deffc5",
formatUpdated: "{MM}/{DD} {HH}:{mm}",
select: {
detectOperatingSystem: {
enabled: true,
menuId: "operating-system",
},
sync: true,
theme: "classic",
},
tabs: {
theme: "material",
},
search: {
paths: "auto",
placeholder: {
"/": "Type to search",
},
noData: {
"/": "No Results",
},
},
plugins: [
EditOnGithubPlugin.create(
"https://github.com/One-Language/Document/blob/main/",
{
customURLs: {
// "https://raw.githubusercontent.com/One-Language/One-plugins/main/README.md":
// "https://github.com/One-Language/One-plugins/edit/main/README.md",
// "https://raw.githubusercontent.com/One-Language/One/main/CHANGELOG.md":
// "https://github.com/One-Language/One/edit/main/CHANGELOG.md",
},
}
),
],
};
</script>
<!-- docsify core -->
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<!-- docsify core plugins -->
<script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/emoji.min.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/zoom-image.min.js"></script>
<!-- 3rd party plugins -->
<script src="https://cdn.jsdelivr.net/npm/docsify-select@1"></script>
<script src="//unpkg.com/docsify-themeable@0"></script>
<script src="//unpkg.com/docsify-copy-code@2"></script>
<script src="//unpkg.com/docsify-tabs@1"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-markdown.min.js"></script>
<!-- <script src="//unpkg.com/docsify-rtl/build/index.min.js"></script> -->
<style>
.app-nav ul li ul {
width: max-content;
}
.sidebar-toggle-button {
height: 100%;
width: 100%;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #f1f1f1;
overflow-x: hidden;
padding-top: 60px;
transition: 0.5s;
}
.sidebar a {
padding: 6px 6px 6px 24px;
text-decoration: none;
font-size: 16px;
color: #818181;
display: block;
transition: 0.3s;
}
.sidebar a:hover {
color: #f00707;
}
.sidebar-toggle-button .closebtn {
position: absolute;
top: 0;
right: 25px;
font-size: 36px;
margin-left: 50px;
}
#main {
transition: margin-left .5s;
padding: 20px;
}
body[data-page^="fa/"] {
direction: rtl !important;
text-align: right !important;
/*--sidebar-width:;*/
}
body[data-page^="fa/"] .sidebar {
transform: none !important;
right: 0px !important;
}
body[data-page^="fa/"].close .sidebar {
right: -300px !important;
}
body[data-page^="fa/"] code {
direction: ltr !important;
}
@media (min-width: 48em) {
body[data-page^="fa/"] .sidebar+.content {
margin-left: 0px !important;
margin-right: var(--sidebar-width) !important;
}
}
body[data-page^="fa/"] .app-nav {
left: 30px;
}
body[data-page^="fa/"] .sidebar-toggle {
transform: none !important;
right: var(--sidebar-width) !important;
}
body[data-page^="fa/"].close .sidebar-toggle {
transform: none !important;
right: 0px !important;
}
@media (min-width: 48em) {
nav.app-nav {
margin-left: 0px !important;
margin-right: var(--sidebar-width) !important;
}
}
:root {
/* Reduce the font size */
/* --base-font-size: 14px; */
/* Change the theme color hue */
--theme-color: #45c8e5;
/* generate new cover bg color each load */
--cover-background-color: ;
/* leave cover page title black */
--cover-heading-color: ;
/*--sidebar-nav-pagelink-background-position: 10 10;*/
}
</style>
</body>
</html>