blob: 6a2bd996c335e705d904520a64de29c3b3ff5fd0 [file] [log] [blame]
// @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",
},
/*
{
type: "docSidebar",
sidebarId: "oemSidebar",
position: "left",
label: "OEMs",
},
{
type: "docSidebar",
sidebarId: "odmSidebar",
position: "left",
label: "ODMs",
},
{
type: "docSidebar",
sidebarId: "idhSidebar",
position: "left",
label: "IDHs",
},
{
type: "docSidebar",
sidebarId: "carrierSidebar",
position: "left",
label: "Carriers",
},
{
type: "docSidebar",
sidebarId: "repairHouseSidebar",
position: "left",
label: "Repair Houses",
},
{
type: "docSidebar",
sidebarId: "enterpriseSidebar",
position: "left",
label: "Enterprises",
},
{
type: "docSidebar",
sidebarId: "smeSidebar",
position: "left",
label: "SMEs",
},
{
type: "docSidebar",
sidebarId: "governmentSidebar",
position: "left",
label: "Governments",
},
{
type: "docSidebar",
sidebarId: "educationSidebar",
position: "left",
label: "Education",
},
{
type: "docSidebar",
sidebarId: "varSidebar",
position: "left",
label: "Value-added Resellers",
},
{
type: "docSidebar",
sidebarId: "siSidebar",
position: "left",
label: "System Integrators",
},
*/
],
},
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", "diff", "makefile"],
},
}),
};
export default config;