-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·297 lines (256 loc) · 8.59 KB
/
index.html
File metadata and controls
executable file
·297 lines (256 loc) · 8.59 KB
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<!DOCTYPE html>
<html lang="en">
<head> <meta charset="UTF-8">
<title>PineScript Documentation</title>
<!-- Basic meta tags -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="Documentation for PineScript indicators and technical analysis library">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<!-- Stylesheets -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.7/dist/katex.min.css"
integrity="sha384-3UiQGuEI4TTMaFmGIZumfRPtfKQ3trwQE2JgosJxCnGmQpL/lJdjpcHkaaFwHlcI"
crossorigin="anonymous">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/themes/vue.css">
<style>
:root {
--background-primary: #0d1117;
--background-secondary: #161b22;
--text-color-primary: #c9d1d9;
--text-color-secondary: #8b949e;
--theme-color: #58a6ff;
--border-color: #30363d;
--highlight-color: #ffffe0;
--code-bg: #1f2428;
--sidebar-bg: #161b22;
--sidebar-nav-link-color: #c9d1d9;
--sidebar-nav-link-border-color: #58a6ff;
--heading-color: #c9d1d9;
--link-color: #58a6ff;
--ui-lib-typography-font-size: 16px;
--ui-lib-typography-line-height: 18px;
}
body {
background-color: var(--background-primary);
color: var(--text-color-primary);
font-family: -apple-system, BlinkMacSystemFont, "Trebuchet MS", Roboto, Ubuntu, sans-serif;
font-size: var(--ui-lib-typography-font-size);
line-height: var(--ui-lib-typography-line-height);
overflow-wrap: break-word;
}
.markdown-section h1,
.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section strong {
color: var(--theme-color);
font-weight: 600;
}
.sidebar > h1 a {
color: var(--heading-color);
font-family: -apple-system, BlinkMacSystemFont, "Trebuchet MS", Roboto, Ubuntu, sans-serif;
}
.pagination-item-title {
font-size: 1em !important;
}
.markdown-section {
background-color: var(--background-primary);
color: var(--text-color-primary);
max-width: 100%;
padding: 2rem 1rem;
font-family: inherit;
}
.markdown-section code {
background-color: var(--code-bg);
color: var(--text-color-primary);
padding: 0.2em 0.4em;
border-radius: 4px;
}
.markdown-section pre {
background-color: var(--code-bg);
padding: 1em;
}
.sidebar {
background-color: var(--sidebar-bg);
border-right: 1px solid var(--border-color);
}
.sidebar ul li.active > a {
border-right: 2px solid var(--sidebar-nav-link-border-color);
color: var(--theme-color);
}
.sidebar ul li a {
color: var(--sidebar-nav-link-color);
font-size: 18px;
}
.sidebar ul li ul li a {
font-size: 14px; /* Adjust font size */
padding-left: 20px; /* Indentation */
margin-bottom: 5px; /* Vertical spacing between items */
}
/* Optional: Reduce line height for tighter spacing */
.sidebar ul li ul li a {
line-height: 1.2;
}
.sidebar-nav ul:not(.app-sub-sidebar) > li:not(.file)::before {
content: "▶";
position: absolute;
left: 0;
top: 4px;
font-size: 8px;
color: var(--text-color-secondary);
transition: transform 0.2s;
}
.sidebar-nav ul:not(.app-sub-sidebar) > li:not(.file).open::before {
transform: rotate(90deg);
}
.markdown-section table {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
}
.markdown-section th,
.markdown-section td {
border: 1px solid var(--border-color);
padding: 8px;
word-wrap: break-word;
}
.markdown-section tr:nth-child(2n) {
background: var(--background-secondary);
}
.docTable {
background-color: var(--background-secondary);
border-radius: 6px;
margin: 1em 0;
width: 100%;
}
.docTable thead tr {
background-color: var(--background-primary);
border-bottom: 2px solid var(--border-color);
}
.search input:focus {
box-shadow: 0 0 5px var(--theme-color);
}
.search input {
background-color: var(--background-secondary);
color: var(--text-color-primary);
border: 1px solid var(--border-color);
padding: 0.5em;
border-radius: 4px;
}
.search input::placeholder {
color: var(--text-color-secondary);
}
.search input:hover {
border-color: var(--theme-color);
}
.search input:focus {
outline: none;
}
.markdown-section h1,
.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section h5,
.markdown-section h6 {
color: var(--heading-color);
}
.anchor span {
color: var(--heading-color) !important;
}
.github-corner {
display: none !important;
}
.content {
max-width: 100%;
padding: 0 20px;
}
</style>
</head>
<body>
<div id="app"></div>
<!-- Docsify Configuration -->
<script>
window.$docsify = {
// Basic settings
name: 'QuanTAlib in Pine Script',
homepage: 'README.md',
noCorner: true,
basePath: './',
// Navigation settings
loadSidebar: true,
loadNested: true,
auto2top: true,
mergeNavbar: true,
sidebarDisplayLevel: 0, // Start with all sections collapsed
subMaxLevel: 0, // Disable sidebar headings
alias: {
'/.*/_sidebar.md': '/_sidebar.md',
},
search: {
maxAge: 86400000,
paths: ['auto'],
placeholder: 'Type to search',
noData: 'No Results!',
depth: 6,
hideOtherSidebarContent: false
},
// Theme settings
themeable: {
readyTransition: true,
responsiveTables: true
},
// Math settings
latex: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
displayMath: [['$$', '$$']]
},
// Markdown settings
markdown: {
smartypants: true,
renderer: {
table: function(header, body) {
if (header) return '<table class="docTable"><thead>' + header + '</thead><tbody>' + body + '</tbody></table>'
return '<table class="docTable"><tbody>' + body + '</tbody></table>'
}
}
},
// Content settings
executeScript: true,
externalLinkTarget: '_blank',
cornerExternalLinkTarget: '_blank',
relativePath: false,
// Table of Contents settings
toc: {
scope: '.markdown-section',
headings: 'h1, h2, h3',
title: 'Table of Contents'
}
};
</script>
<!-- Core Docsify -->
<script src="https://cdn.jsdelivr.net/npm/docsify@4/lib/docsify.min.js"
integrity="sha384-KaHhgnx/OTLoJ4J33SSJsF4x1pk4I7q3s5ZOfIDHJYl6IG7Oyn2vNDsHiWJe46fD"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
<!-- Plugins -->
<script src="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/js/docsify-themeable.min.js"
integrity="sha384-ibjVZCUwWPrRrNc9BNkbbJvtYmTh8GYDNQgj+2jQVNDudOFgSQWs+Es6JhdoTIvf"
crossorigin="anonymous"></script>
<script src="//cdn.jsdelivr.net/npm/docsify-sidebar-collapse/dist/docsify-sidebar-collapse.js"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-copy-code/dist/docsify-copy-code.min.js"
integrity="sha384-Vu4LjJ210wltbg1I3zl1f5n8qLSDr9GE7ij2JfiMbV64UCFP2RgFtG8W2Gh6Khwe"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-pagination/dist/docsify-pagination.min.js"
integrity="sha384-uFEp18/1vv2dYlO64J2lOcnbhirAQZPtruqAZZ7PZYoXenm5c+tIs3AqSMjVMRe8"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"
integrity="sha384-fYBaBAsdPMjWt1AuA+txMoztHnl+zLgObSvwddIabbfUp+36gf/vNOKx88f37zix"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-tabs/dist/docsify-tabs.min.js"
integrity="sha384-QA3IVKzXq6xcKR8yQJHgDbI1FcJiQ137Cuetl1VWzUxJ6BQ7ew0MMq5fg2HbFK1o"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-katex@1.4.3/dist/docsify-katex.js"
integrity="sha384-M76M/x5vGyeoej1covQQifl7T945mY+qgzNVrM/urHMCYjP8tnMsx5WCdeLZ74UE"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/docsify-plugin-toc@1.3.1/dist/docsify-plugin-toc.min.js"></script>
</body>
</html>