-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
141 lines (140 loc) · 5.47 KB
/
astro.config.mjs
File metadata and controls
141 lines (140 loc) · 5.47 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
// @ts-check
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import starlightThemeBlack from "starlight-theme-black";
// https://astro.build/config
export default defineConfig({
site: "https://docs.ecency.com",
integrations: [
starlight({
title: "Ecency",
components: {
Sidebar: "./src/components/Sidebar.astro",
},
social: {
github: "https://github.com/ecency",
},
logo: {
src: "./src/assets/logo-circle.svg",
},
sidebar: [
{
label: "Get started",
items: [
{ label: "What is Ecency?", slug: "get-started/what-is-ecency" },
{ label: "How it works?", slug: "get-started/how-it-works" },
{ label: "Onboarding checklist", slug: "get-started/onboarding-checklist" },
{ label: "How to earn?", slug: "get-started/earning" },
{ label: "Referral system", slug: "get-started/referral" },
{ label: "Ecency vs other socials", slug: "get-started/difference" },
{ label: "Ecency vs other frontends", slug: "ecency/ecency-vs-others" },
],
},
{
label: "Hive basics",
items: [
{ label: "What is Hive?", slug: "hive/what-is-hive" },
{ label: "Hive accounts", slug: "hive/hive-accounts" },
{ label: "Hive tokens", slug: "common/hive-tokens" },
{ label: "Resource credits", slug: "hive/resource-credits" },
{ label: "Resource credits troubleshooting", slug: "common/resource-credits/troubleshooting" },
{ label: "Voting power", slug: "common/resource-credits/voting-power" },
{ label: "Curation and rewards", slug: "hive/curation-and-rewards" },
{ label: "Publishing", slug: "common/posting" },
{ label: "Reblog", slug: "common/reblog" },
{ label: "Reputation", slug: "common/reputation" },
{ label: "Governance", slug: "hive/governance" },
{
label: "Communities",
items: [
{ label: "Overview", slug: "hive/communities" },
{ label: "Custom beneficiary", slug: "hive/custom-beneficiary" },
],
},
],
},
{
label: "Using Ecency",
items: [
{ label: "Feed", slug: "ecency/feed" },
{ label: "Publish", slug: "ecency/publish" },
{ label: "Market", slug: "ecency/market" },
{ label: "Discover", slug: "ecency/discover" },
{ label: "Mobile App", slug: "guides/use-mobile-app" },
{ label: "Mobile FAQ", slug: "ecency/mobile-faq" },
{ label: "Ecency Points", slug: "ecency/ecency-points" },
{ label: "Boost and Promote", slug: "ecency/boost-and-promote" },
{ label: "Notifications, Drafts, Bookmarks", slug: "ecency/notifications-drafts-bookmarks" },
{
label: "Decks",
items: [{ label: "What are Decks?", slug: "ecency/decks/about" }],
},
{
label: "Waves",
items: [{ label: "What are Waves?", slug: "ecency/waves/about" }],
},
{
label: "Wallets",
items: [
{ label: "Ecency Wallet", slug: "ecency/wallets/about" },
{ label: "Cross-chain wallets", slug: "ecency/wallets/cross-chain-wallets" },
{ label: "Payouts and conversions", slug: "ecency/wallets/payouts-and-conversions" },
],
},
],
},
{
label: "Guides",
items: [
{ label: "Create account", slug: "guides/create-account" },
{ label: "Account recovery", slug: "guides/recovery" },
{ label: "Power up/down", slug: "guides/power-up-down" },
{ label: "Delegate Hive Power", slug: "guides/delegate-hp" },
{ label: "Create community", slug: "guides/create-community" },
{ label: "Witness voting", slug: "guides/vote-witness" },
{ label: "Seed phrase migration", slug: "guides/seed-phrase-migration" },
],
},
{
label: "Developers",
items: [
{ label: "Ecency wallets", slug: "developers/wallets" },
{ label: "Ecency chats", slug: "developers/chats" },
{ label: "Ecency analytics", slug: "developers/analytics" },
{ label: "Ecency SDK", slug: "developers/sdk" },
{ label: "x402 Payments", slug: "developers/x402" },
{
label: "Extra services",
items: [
{ label: "Hivesearcher", slug: "extra-services/hivesearcher" },
{ label: "Hivesigner", slug: "extra-services/hivesigner" },
{ label: "Hivexplorer", slug: "extra-services/hivexplorer" },
],
},
],
},
{ label: "FAQ", slug: "faq" },
{ label: "Contribution", slug: "contribution" },
],
plugins: [
starlightThemeBlack({
navLinks: [
{
label: "Open Ecency",
link: "https://ecency.com",
attrs: {
target: "_blank",
},
},
{
label: "Docs",
link: "/get-started/what-is-ecency",
},
],
footerText: "",
}),
],
customCss: ["./src/styles/index.css"],
}),
],
});