|
| 1 | + |
| 2 | +module.exports = { |
| 3 | + title: "Console Table Printer", // Title for your website. |
| 4 | + tagline: "A tool to print colorful table on your console", |
| 5 | + url: "https://console-table.netlify.app", // Your website URL |
| 6 | + baseUrl: "/", // Base URL for your project */ |
| 7 | + |
| 8 | + favicon: "img/favicon.ico", |
| 9 | + organizationName: "Console Styles", // Usually your GitHub org/user name. |
| 10 | + projectName: "docusaurus", // Usually your repo name. |
| 11 | + themeConfig: { |
| 12 | + announcementBar: { |
| 13 | + id: "support", |
| 14 | + content: |
| 15 | + '⭐️ 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>! ⭐️', |
| 16 | + }, |
| 17 | + navbar: { |
| 18 | + title: "Console Table Printer", |
| 19 | + logo: { |
| 20 | + alt: "CTP", |
| 21 | + src: "img/logo.ico", |
| 22 | + }, |
| 23 | + items: [ |
| 24 | + { |
| 25 | + href: "https://github.com/console-table-printer/console-table-printer", |
| 26 | + label: "GitHub", |
| 27 | + position: "right", |
| 28 | + }, |
| 29 | + { |
| 30 | + href: "https://www.npmjs.com/package/console-table-printer", |
| 31 | + label: "npmjs", |
| 32 | + position: "right", |
| 33 | + }, |
| 34 | + ], |
| 35 | + }, |
| 36 | + footer: { |
| 37 | + style: "dark", |
| 38 | + links: [ |
| 39 | + { |
| 40 | + title: "Learn", |
| 41 | + items: [ |
| 42 | + { |
| 43 | + label: "Quick Start", |
| 44 | + to: "docs", |
| 45 | + }, |
| 46 | + { |
| 47 | + label: "Getting Started With CLI", |
| 48 | + to: "docs/doc-cli-install-quick-start", |
| 49 | + }, |
| 50 | + ], |
| 51 | + }, |
| 52 | + { |
| 53 | + title: "Decorate", |
| 54 | + items: [ |
| 55 | + { |
| 56 | + label: "Color", |
| 57 | + to: "docs/doc-color", |
| 58 | + }, |
| 59 | + { |
| 60 | + label: "Border", |
| 61 | + to: "docs/doc-border-design", |
| 62 | + }, |
| 63 | + { |
| 64 | + label: "Alignment", |
| 65 | + to: "docs/doc-alignment", |
| 66 | + }, |
| 67 | + ], |
| 68 | + }, |
| 69 | + { |
| 70 | + title: "More", |
| 71 | + items: [ |
| 72 | + { |
| 73 | + label: "GitHub", |
| 74 | + href: "https://github.com/console-table-printer/console-table-printer", |
| 75 | + }, |
| 76 | + { |
| 77 | + label: "Npmjs", |
| 78 | + href: "https://www.npmjs.com/package/console-table-printer", |
| 79 | + }, |
| 80 | + ], |
| 81 | + }, |
| 82 | + ], |
| 83 | + copyright: `Copyright © ${new Date().getFullYear()} Nahiyan Kamal under MIT License. Built with Docusaurus.`, |
| 84 | + }, |
| 85 | + }, |
| 86 | + presets: [ |
| 87 | + [ |
| 88 | + "@docusaurus/preset-classic", |
| 89 | + { |
| 90 | + docs: { |
| 91 | + path: "docs", |
| 92 | + sidebarPath: require.resolve("./sidebars.js"), |
| 93 | + sidebarCollapsible: false, |
| 94 | + showLastUpdateAuthor: true, |
| 95 | + showLastUpdateTime: true, |
| 96 | + remarkPlugins: [ |
| 97 | + [require('@docusaurus/remark-plugin-npm2yarn'), {sync: true}], |
| 98 | + ], |
| 99 | + // this enabled the edit button for documentation |
| 100 | + editUrl: |
| 101 | + "https://github.com/console-table-printer/console-table-docu/blob/master/", |
| 102 | + }, |
| 103 | + theme: { |
| 104 | + customCss: require.resolve("./src/css/custom.css"), |
| 105 | + }, |
| 106 | + }, |
| 107 | + ], |
| 108 | + ], |
| 109 | +}; |
0 commit comments