aboutsummaryrefslogtreecommitdiff
path: root/docs/dev/index.html
blob: e62268deafff88a541b05fd8977190a08e36b174 (plain) (blame)
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
<!doctype html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <meta
            name="viewport"
            content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no, viewport-fit=cover"
        />

        <title>Mingling Dev Docs</title>
        <meta
            name="Mingling Dev Docs"
            content="Internal design docs, issue discussions, and development notes for Mingling."
        />

        <link rel="preconnect" href="https://fonts.googleapis.com" />
        <link rel="icon" type="image/png" href="../res/favicon_small.png" />
        <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
        <link
            href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap"
            rel="stylesheet"
        />

        <link rel="stylesheet" href="../css/dev-light.css" />
        <link
            id="dark-style"
            rel="stylesheet"
            href="../css/dev-dark.css"
            disabled
        />

        <style>
            /* ── No sidebar header image override ── */
            .sidebar > h1 .app-name-link {
                font-family:
                    "JetBrains Mono", "SF Mono", "Fira Code", "Cascadia Code",
                    monospace;
                font-size: 16px;
                font-weight: 600;
                letter-spacing: -0.3px;
            }
            .sidebar > h1 .app-name-link::before {
                content: "⚙ ";
                font-family:
                    system-ui,
                    -apple-system,
                    sans-serif;
                letter-spacing: 0;
            }
            .markdown-section h1,
            .markdown-section h2,
            .markdown-section h3,
            .markdown-section h4 {
                font-family:
                    "JetBrains Mono", "SF Mono", "Fira Code", "Cascadia Code",
                    monospace;
                font-weight: 600;
                letter-spacing: -0.5px;
            }
            .markdown-section h1 {
                font-size: 24px;
            }
            .markdown-section h2 {
                font-size: 19px;
            }
            .markdown-section h3 {
                font-size: 16px;
            }
            .markdown-section p,
            .markdown-section li {
                font-family:
                    system-ui,
                    -apple-system,
                    "Segoe UI",
                    "Noto Sans",
                    Helvetica,
                    Arial,
                    sans-serif;
            }
            .sidebar ul li a {
                font-family:
                    "JetBrains Mono", "SF Mono", "Fira Code", "Cascadia Code",
                    monospace;
                font-size: 13px;
                letter-spacing: -0.2px;
            }
            .sidebar ul li ul li a {
                font-size: 12px;
            }
            /* ── Top nav bar ── */
            .dev-nav {
                position: fixed;
                top: 12px;
                right: 30px;
                z-index: 20;
                display: flex;
                gap: 4px;
                align-items: center;
            }
            .dev-nav a {
                font-family:
                    "JetBrains Mono", "SF Mono", "Fira Code", "Cascadia Code",
                    monospace;
                font-size: 12px;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                color: #656d76;
                text-decoration: none;
                padding: 4px 10px;
                transition: color 0.15s;
            }
            .dev-nav a:hover {
                color: #0969da;
            }
        </style>
    </head>

    <body>
        <nav class="dev-nav">
            <a
                href="#"
                onclick="
                    toggleTheme();
                    return false;
                "
                >🌓 Theme</a
            >
            <a href="../doc.html">📖 Helpdoc</a>
        </nav>

        <div id="app"></div>

        <script>
            window.$docsify = {
                name: "dev-docs",
                repo: "true",
                corner: {
                    url: "https://github.com/mingling-rs/mingling",
                    icon: "github",
                },
                auto2top: true,
                loadSidebar: true,
                maxLevel: 0,
                subMaxLevel: 3,
                search: {
                    placeholder: "Search dev docs…",
                    noData: "No matches found.",
                    depth: 2,
                },
                plugins: [
                    function (hook) {
                        hook.beforeEach(function (content) {
                            return content
                                .split("\n")
                                .filter(function (line) {
                                    return !line.startsWith("@@@");
                                })
                                .join("\n");
                        });
                    },
                    [
                        "flexible-alerts",
                        {
                            style: "flat",
                            labels: {
                                NOTE: "Note",
                                TIP: "Tip",
                                IMPORTANT: "Important",
                                WARNING: "Warning",
                                CAUTION: "Caution",
                            },
                        },
                    ],
                ],
            };
        </script>

        <script src="../scripts/docsify.min.js"></script>
        <script src="../scripts/search.js"></script>
        <script src="../scripts/prism-bash.min.js"></script>
        <script src="../scripts/prism-toml.min.js"></script>
        <script src="../scripts/prism-rust.js"></script>
        <script src="../scripts/docsify-corner.js"></script>
        <script src="../scripts/docsify-plugin-flexible-alerts.js"></script>
        <script src="../scripts/day-night-switch.js"></script>
    </body>
</html>