-
Notifications
You must be signed in to change notification settings - Fork 10
/
docusaurus.config.js
72 lines (71 loc) · 2.08 KB
/
docusaurus.config.js
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
const { themes } = require("prism-react-renderer");
module.exports = {
title: "Awesome React Native UI",
tagline: "Awesome React Native UI components made by community! 🚀",
url: "https://mrpmohiburrahman.github.io",
baseUrl: "/awesome-react-native-ui/",
onBrokenLinks: "warn",
onBrokenMarkdownLinks: "warn",
organizationName: "mrpmohiburrahman",
projectName: "react-native-bottom-sheet",
favicon: "img/favicon.ico",
themeConfig: {
image: "img/icon.png",
navbar: {
title: "Awesome React Native UI",
hideOnScroll: false,
items: [
{
href: "https://github.com/mrpmohiburrahman/awesome-react-native-ui",
position: "right",
html: '<a class="navbar__link" href="https://github.com/mrpmohiburrahman/awesome-react-native-ui" target="_blank" rel="noopener noreferrer"><i class="fas fa-star"></i> Star Us on GitHub</a>',
},
],
},
prism: {
theme: themes.dracula,
},
footer: {
copyright: `Copyright © ${new Date().getFullYear()} <a rel="noreferrer" href="https://www.linkedin.com/in/mrpmohiburrahman/" target="_blank">MD. MOHIBUR RAHMAN</a>. Built with Docusaurus.`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
routeBasePath: "/",
path: "docs",
include: ["**/*.md", "**/*.mdx"],
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
// googleAnalytics: {
// trackingID: "UA-193461439-1",
// anonymizeIP: true,
// },
},
],
],
plugins: [
[
"posthog-docusaurus",
{
apiKey: "phc_7Pq4TSUWwqrOku8lgK8jfRD4TZcNsWA8eRPHE8iUPvq",
appUrl: "https://us.i.posthog.com",
enableInDevelopment: false,
onPostHogReady: () => {
console.log("PostHog is ready");
},
},
],
],
stylesheets: [
{
href: "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css",
type: "text/css",
},
],
};