MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / help

Function help

src/settings/helpSettings.js:4–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2import config from "lib/config";
3
4export default function help() {
5 const title = strings.help;
6 const items = [
7 {
8 key: "docs",
9 text: strings.documentation,
10 link: config.DOCS_URL,
11 chevron: true,
12 },
13 {
14 key: "help",
15 text: strings.help,
16 link: config.TELEGRAM_URL,
17 chevron: true,
18 },
19 {
20 key: "faqs",
21 text: strings.faqs,
22 link: `${config.BASE_URL}/faqs`,
23 chevron: true,
24 },
25 {
26 key: "bug_report",
27 text: strings.bug_report,
28 link: `${config.GITHUB_URL}/issues`,
29 chevron: true,
30 },
31 ];
32
33 const page = settingsPage(title, items, () => {}, "separate", {
34 preserveOrder: true,
35 pageClassName: "detail-settings-page",
36 listClassName: "detail-settings-list",
37 groupByDefault: true,
38 });
39 page.show();
40}

Callers

nothing calls this directly

Calls 1

showMethod · 0.45

Tested by

no test coverage detected