106 lines
2.6 KiB
TypeScript
106 lines
2.6 KiB
TypeScript
import { themes as prismThemes } from "prism-react-renderer";
|
|
import type { Config } from "@docusaurus/types";
|
|
import type * as Preset from "@docusaurus/preset-classic";
|
|
|
|
|
|
const config: Config = {
|
|
title: "Compliance",
|
|
tagline: "Methodology.",
|
|
favicon: "img/favicon.ico",
|
|
|
|
url: "https://compliance.pragmatismo.com.br",
|
|
baseUrl: "/",
|
|
onBrokenLinks: "warn",
|
|
onBrokenMarkdownLinks: "warn",
|
|
themes: ['@docusaurus/theme-mermaid'],
|
|
|
|
presets: [
|
|
[
|
|
"classic",
|
|
{
|
|
docs: {
|
|
routeBasePath: '/', // Make docs the homepage
|
|
sidebarPath: "./sidebars.ts",
|
|
},
|
|
|
|
theme: {
|
|
customCss: "./src/css/custom.css",
|
|
},
|
|
} satisfies Preset.Options,
|
|
],
|
|
],
|
|
|
|
themeConfig: {
|
|
// Replace with your project's social card
|
|
image: "img/docusaurus-social-card.jpg",
|
|
navbar: {
|
|
title: "Compliance",
|
|
logo: {
|
|
alt: "Pragmatismo Logo",
|
|
src: "img/logo.png",
|
|
},
|
|
items: [
|
|
{
|
|
type: "docSidebar",
|
|
sidebarId: "tutorialSidebar",
|
|
position: "left",
|
|
label: "Docs",
|
|
},
|
|
{ to: "https://pragmatismo.com.br", label: "Website", position: "left" },
|
|
{ to: "https://pragmatismo.com.br/privacy", label: "Privacy", position: "left" },
|
|
{ to: "https://pragmatismo.com.br/terms", label: "Terms", position: "left" },
|
|
],
|
|
},
|
|
footer: {
|
|
style: "dark",
|
|
links: [
|
|
{
|
|
title: "Compliance",
|
|
items: [
|
|
{
|
|
label: "Home",
|
|
to: "/",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Resources",
|
|
items: [
|
|
{
|
|
label: "Templates",
|
|
href: "https://alm.pragmatismo.com.br/GeneralBots/botserver/src/branch/main/templates",
|
|
},
|
|
{
|
|
label: "Blog",
|
|
href: "https://pragmatismo.com.br/blog",
|
|
},
|
|
{
|
|
label: "ALM",
|
|
href: "https://alm.pragmatismo.com.br",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "More",
|
|
items: [
|
|
{
|
|
label: "Contact",
|
|
to: "https://pragmatismo.com.br/contact",
|
|
},
|
|
{
|
|
label: "About",
|
|
href: "https://pragmatismo.com.br/about",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
copyright: `Copyright © 2016 - ${new Date().getFullYear()} Pragmatismo.`,
|
|
},
|
|
prism: {
|
|
theme: prismThemes.github,
|
|
darkTheme: prismThemes.dracula,
|
|
},
|
|
} satisfies Preset.ThemeConfig,
|
|
};
|
|
|
|
export default config;
|