| | |
| | const darkCodeTheme = require('prism-react-renderer/themes/dracula'); |
| | const lightCodeTheme = require('prism-react-renderer/themes/github'); |
| |
|
| | |
| | |
| | ( |
| | module.exports = { |
| | title: 'ShortGPT', |
| | tagline: |
| | 'Open-Source Framework for AI content automation', |
| | url: 'https://dev.shortgpt.ai', |
| | baseUrl: '/', |
| | favicon: 'img/favicon.ico', |
| | organizationName: 'RayVentura', |
| | projectName: 'ShortGPT', |
| | onBrokenLinks: 'throw', |
| | onBrokenMarkdownLinks: 'throw', |
| | presets: [ |
| | [ |
| | '@docusaurus/preset-classic', |
| | |
| | ({ |
| | docs: { |
| | path: 'docs', |
| | sidebarPath: 'sidebars.js', |
| | editUrl: |
| | 'https://github.com/RayVentura/ShortGPT/edit/stable/docs/', |
| | versions: { |
| | current: { |
| | label: 'current', |
| | }, |
| | }, |
| | lastVersion: 'current', |
| | showLastUpdateAuthor: true, |
| | showLastUpdateTime: true, |
| | }, |
| | theme: { |
| | customCss: require.resolve('./src/css/custom.css'), |
| | }, |
| | }), |
| | ], |
| | ], |
| | plugins: ['tailwind-loader'], |
| | themeConfig: |
| | |
| | ({ |
| | |
| | navbar: { |
| | hideOnScroll: true, |
| | logo: { |
| | alt: 'ShortGPT', |
| | src: 'img/logo.png', |
| | }, |
| | items: [ |
| | |
| | { |
| | label: 'Docs', |
| | to: 'docs/how-to-install', |
| | position: 'right', |
| | }, |
| | |
| | { |
| | type: 'docsVersionDropdown', |
| | position: 'right', |
| | }, |
| | { |
| | href: 'https://github.com/RayVentura/ShortGPT', |
| | position: 'right', |
| | className: 'header-github-link', |
| | }, |
| | ], |
| | }, |
| | colorMode: { |
| | defaultMode: 'light', |
| | disableSwitch: false, |
| | respectPrefersColorScheme: true, |
| | }, |
| | announcementBar: { |
| | content: |
| | '⭐️ If you like ShortGPT, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/rayventura/shortgpt">GitHub</a>! ⭐️', |
| | }, |
| | footer: { |
| | links: [ |
| | { |
| | title: 'Docs', |
| | items: [ |
| | { |
| | label: 'Getting Started', |
| | to: 'docs/how-to-install', |
| | }, |
| |
|
| | ], |
| | }, |
| | { |
| | title: 'ShortGPT', |
| | items: [ |
| | { |
| | label: 'Issues', |
| | to: 'https://github.com/RayVentura/ShortGPT/issues', |
| | }, |
| | ], |
| | }, |
| | { |
| | title: 'Community', |
| | items: [ |
| | { |
| | label: 'Discord', |
| | to: 'https://discord.com/invite/bRTacwYrfX', |
| | }, |
| | ], |
| | }, |
| | { |
| | title: 'Social', |
| | items: [ |
| | { |
| | label: 'GitHub', |
| | to: 'https://github.com/RayVentura/ShortGPT', |
| | }, |
| | { |
| | label: 'Twitter', |
| | to: 'https://twitter.com/RayVenturaHQ', |
| | }, |
| | ], |
| | }, |
| | ], |
| | copyright: `ShortGPT ${new Date().getFullYear()}`, |
| | }, |
| | prism: { |
| | theme: lightCodeTheme, |
| | darkTheme: darkCodeTheme, |
| | }, |
| | }), |
| | } |
| | ); |
| |
|