-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocs.config.ts
More file actions
122 lines (114 loc) · 3.89 KB
/
Copy pathdocs.config.ts
File metadata and controls
122 lines (114 loc) · 3.89 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
import { defineDocsConfig } from 'docora'
const MAIN_SITE_URL = 'https://reactplay.io/'
const BLOG_URL = 'https://blog.reactplay.io/'
const GITHUB_URL = 'https://github.com/reactplay/docs'
const DISCORD_URL = 'https://discord.gg/vrTxWUP8Am'
const TWITTER_URL = 'https://twitter.com/reactplayio'
const LINKEDIN_URL = 'https://www.linkedin.com/company/reactplay/'
export default defineDocsConfig({
site: {
name: 'ReactPlay',
description:
'An OpenSource platform for React developers to learn, create and share ReactJS Projects.',
url: 'https://docs.reactplay.io',
locale: 'en',
},
i18n: {
defaultLocale: 'en',
locales: [
{ code: 'en', name: 'English' },
{ code: 'bn', name: 'বাংলা' },
],
messages: {
bn: {
searchButton: 'খুঁজুন...',
searchPlaceholder: 'ডকুমেন্টেশনে খুঁজুন...',
searchEmpty: 'কোনো ফলাফল পাওয়া যায়নি',
searchLoading: 'ইনডেক্স লোড হচ্ছে...',
searchError: 'সার্চ ইনডেক্স লোড করা যায়নি।',
searchNavigate: 'নেভিগেট করতে',
searchOpen: 'খুলতে',
searchClose: 'বন্ধ করতে',
searchLinks: 'লিংক',
searchTheme: 'থিম',
themeSystem: 'সিস্টেম',
themeLight: 'লাইট',
themeDark: 'ডার্ক',
close: 'বন্ধ করুন',
tocTitle: 'এই পৃষ্ঠায়',
previous: 'পূর্ববর্তী',
next: 'পরবর্তী',
toggleToDark: 'ডার্ক থিমে যান',
toggleToLight: 'লাইট থিমে যান',
openNavigation: 'নেভিগেশন খুলুন',
closeNavigation: 'নেভিগেশন বন্ধ করুন',
selectLanguage: 'ভাষা নির্বাচন করুন',
documentation: 'ডকুমেন্টেশন',
},
},
},
header: {
title: '',
logo: {
light: '/images/logo.png',
alt: 'ReactPlay',
},
links: [
{ label: 'ReactPlay', href: MAIN_SITE_URL, external: true },
{ label: 'Blog', href: BLOG_URL, external: true },
],
},
socials: {
github: GITHUB_URL,
x: TWITTER_URL,
discord: DISCORD_URL,
linkedin: LINKEDIN_URL,
},
github: {
url: GITHUB_URL,
branch: 'main',
},
toc: {
bottom: {
title: 'Community',
links: [
{
label: 'Report an issue',
href: 'https://github.com/reactplay/docs/issues',
icon: 'book-open',
},
{ label: 'Join Discord', href: DISCORD_URL, icon: 'message-circle' },
],
},
},
footer: {
credits: `Copyright © ${new Date().getFullYear()} ReactPlay. Built with Docora.`,
columns: [
{
title: 'Docs',
links: [
{ label: 'What is ReactPlay?', href: '/en/docs/getting-started/what-is-reactplay' },
{ label: 'Contribution Guide', href: '/en/docs/getting-started/contribution-guide' },
{ label: 'Local Development', href: '/en/docs/getting-started/local-development' },
{ label: 'Create a Play', href: '/en/docs/how-to-guides/how-to-create-play' },
],
},
{
title: 'Community',
links: [
{ label: 'Discord', href: DISCORD_URL, external: true },
{ label: 'Twitter', href: TWITTER_URL, external: true },
{ label: 'LinkedIn', href: LINKEDIN_URL, external: true },
],
},
{
title: 'More',
links: [
{ label: 'Blog', href: BLOG_URL, external: true },
{ label: 'GitHub', href: GITHUB_URL, external: true },
{ label: 'llms.txt', href: '/llms.txt' },
],
},
],
},
})