| // @ts-check |
| // `@type` JSDoc annotations allow editor autocompletion and type checking |
| // (when paired with `@ts-check`). |
| // There are various equivalent ways to declare your Docusaurus config. |
| // See: https://docusaurus.io/docs/api/docusaurus-config |
| |
| import {themes as prismThemes} from 'prism-react-renderer'; |
| |
| /** @type {import('@docusaurus/types').Config} */ |
| const config = { |
| title: 'Aphy Guides', |
| tagline: 'Apostrophy OS Documentation', |
| favicon: 'img/favicon.ico', |
| |
| // Set the production url of your site here |
| url: 'https://aphy.guide', |
| // Set the /<baseUrl>/ pathname under which your site is served |
| // For GitHub pages deployment, it is often '/<projectName>/' |
| baseUrl: '/', |
| |
| onBrokenLinks: 'warn', |
| onBrokenMarkdownLinks: 'warn', |
| |
| // Even if you don't use internationalization, you can use this field to set |
| // useful metadata like html lang. For example, if your site is Chinese, you |
| // may want to replace "en" with "zh-Hans". |
| i18n: { |
| defaultLocale: 'en', |
| locales: ['en'], |
| }, |
| |
| presets: [ |
| [ |
| 'classic', |
| /** @type {import('@docusaurus/preset-classic').Options} */ |
| ({ |
| docs: { |
| sidebarPath: './sidebars.js', |
| }, |
| theme: { |
| customCss: './src/css/custom.css', |
| }, |
| }), |
| ], |
| ], |
| |
| themeConfig: |
| /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ |
| ({ |
| // Replace with your project's social card |
| image: 'img/docusaurus-social-card.jpg', |
| navbar: { |
| title: 'Aphy Docs', |
| logo: { |
| alt: 'My Site Logo', |
| src: 'img/logo.svg', |
| }, |
| items: [ |
| { |
| type: 'docSidebar', |
| sidebarId: 'developerSidebar', |
| position: 'left', |
| label: 'Developers', |
| }, |
| { |
| type: 'docSidebar', |
| sidebarId: 'userSidebar', |
| position: 'left', |
| label: 'Users', |
| }, |
| ], |
| }, |
| footer: { |
| style: 'dark', |
| links: [ |
| { |
| title: 'Developers', |
| items: [ |
| { |
| label: 'Platform', |
| to: '/docs/developers/platform', |
| }, |
| { |
| label: 'Apps', |
| to: '/docs/developers/apps', |
| }, |
| { |
| label: 'Services', |
| to: '/docs/developers/services', |
| }, |
| ], |
| }, |
| { |
| title: 'Users', |
| items: [ |
| ], |
| }, |
| { |
| title: 'Company', |
| items: [ |
| { |
| label: 'Website', |
| href: 'https://www.apostrophy.ch', |
| }, |
| { |
| label: 'Subscription', |
| href: 'https://aphy.app', |
| }, |
| ], |
| }, |
| ], |
| copyright: `Copyright © ${new Date().getFullYear()} Apheleia IT AG`, |
| }, |
| prism: { |
| theme: prismThemes.github, |
| darkTheme: prismThemes.dracula, |
| additionalLanguages: ['bash', 'makefile'], |
| }, |
| }), |
| }; |
| |
| export default config; |