-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
109 lines (107 loc) · 3 KB
/
docusaurus.config.js
File metadata and controls
109 lines (107 loc) · 3 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
module.exports = {
title: "Console Table Printer", // Title for your website.
tagline: "A tool to print colorful table on your console",
url: "https://console-table.netlify.app", // Your website URL
baseUrl: "/", // Base URL for your project */
favicon: "img/favicon.ico",
organizationName: "Console Styles", // Usually your GitHub org/user name.
projectName: "docusaurus", // Usually your repo name.
themeConfig: {
announcementBar: {
id: "support",
content:
'⭐️ If you like Console Table Printer, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/console-table-printer/console-table-printer">GitHub</a>! ⭐️',
},
navbar: {
title: "Console Table Printer",
logo: {
alt: "CTP",
src: "img/logo.ico",
},
items: [
{
href: "https://github.com/console-table-printer/console-table-printer",
label: "GitHub",
position: "right",
},
{
href: "https://www.npmjs.com/package/console-table-printer",
label: "npmjs",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Learn",
items: [
{
label: "Quick Start",
to: "docs",
},
{
label: "Getting Started With CLI",
to: "docs/doc-cli-install-quick-start",
},
],
},
{
title: "Decorate",
items: [
{
label: "Color",
to: "docs/doc-color",
},
{
label: "Border",
to: "docs/doc-border-design",
},
{
label: "Alignment",
to: "docs/doc-alignment",
},
],
},
{
title: "More",
items: [
{
label: "GitHub",
href: "https://github.com/console-table-printer/console-table-printer",
},
{
label: "Npmjs",
href: "https://www.npmjs.com/package/console-table-printer",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Nahiyan Kamal under MIT License. Built with Docusaurus.`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
path: "docs",
sidebarPath: require.resolve("./sidebars.js"),
sidebarCollapsible: false,
showLastUpdateAuthor: true,
showLastUpdateTime: true,
remarkPlugins: [
[require('@docusaurus/remark-plugin-npm2yarn'), {sync: true}],
],
// this enabled the edit button for documentation
editUrl:
"https://github.com/console-table-printer/console-table-docu/blob/master/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};