-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocumentation.html
153 lines (146 loc) · 5.36 KB
/
documentation.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
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<title>plugdata - Documentation</title>
<link
rel="icon"
type="image/x-icon"
href="https://plugdata.org/images/favicon.ico"
/>
<link rel="stylesheet" href="documentation_files/inter.css" />
<link rel="stylesheet" type="text/css" media="all" href="./main.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
</head>
<body style="background: rgb(255, 255, 255)">
<nav>
<script type="text/javascript">
function toggleMenu() {
var e = document
.getElementById("menu-button")
.getAttribute("aria-expanded");
(e = "true" == e ? "false" : "true"),
document
.getElementById("menu-button")
.setAttribute("aria-expanded", e);
(e = "true" == e ? "relative" : "fixed"),
(document.getElementById("doc-frame").style.position =
e);
}
</script>
<button
class="menu-button enabled"
title="Toggle navigation menu"
aria-label="Toggle navigation menu"
aria-expanded="false"
id="menu-button"
onclick="toggleMenu()"
>
<svg
aria-hidden="true"
height="24"
width="24"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M0 6v1h24V6zm0 6v1h24v-1zm0 6v1h24v-1z"></path>
</svg>
</button>
<div class="nav-content">
<ul>
<li>
<a href="https://plugdata.org/" class="logomark"
><img
src="./images/logo.png"
alt="plugdata"
style="width: 24px; height: auto"
/></a>
</li>
<li><a href="https://plugdata.org/">Home</a></li>
<li>
<a href="https://plugdata.org/about.html" target="_self"
>About</a
>
</li>
<li>
<a href="https://plugdata.org/support.html">Support</a>
</li>
<li>
<a
href="https://plugdata.org/download.html"
target="_self"
>Download</a
>
</li>
<li>
<a
href="https://plugdata.org/documentation.html"
target="_self"
>Documentation</a
>
</li>
</ul>
<style>
.social {
display: inline-block;
cursor: pointer;
margin-right: 12px;
}
.logo {
display: inline-block;
height: 28px;
width: auto;
position: relative;
margin-right: -8px;
top: 8px;
}
</style>
<div class="right">
<div
class="social"
onclick="location.href = 'https://github.com/plugdata-team/plugdata';"
>
<img src="./images/github.png" class="logo" />
<a>View on GitHub</a>
</div>
<div
class="social"
onclick="location.href = 'https://discord.gg/eT2RxdF9Nq';"
>
<img src="./images/discord.png" class="logo" />
<a>Join our Discord</a>
</div>
</div>
</div>
</nav>
<iframe
id="doc-frame"
name="frame"
src="./docs/book/index.html"
style="
position: fixed;
inset: 48px 0px 0px;
width: 100%;
height: 794px;
border: medium none;
margin-top: 0px;
padding: 0px;
margin-bottom: 90px;
z-index: 999999;
"
>
Your browser doesn't support iframes
</iframe>
<script>
function onResize() {
var height =
window.innerHeight ||
document.documentElement.clientHeight ||
document.body.clientHeight;
let frame = document.getElementById("doc-frame");
frame.style.height = height - 48 + "px";
}
window.onresize = onResize;
onResize();
</script>
</body>
</html>