const lightCodeTheme = require ( "prism-react-renderer/themes/github" ) ; const darkCodeTheme = require ( "prism-react-renderer/themes/dracula" ) ; type { import ( '@docusaurus/types' ) . Config } const config = { title : "psn-api" , tagline : "Dinosaurs are cool" , url : "https://psn-api.achievements.app" , baseUrl : "/" , onBrokenLinks : "throw" , onBrokenMarkdownLinks : "warn" , favicon : "img/favicon.ico" , organizationName : "achievements.app" , projectName : "psn-api" , scripts : [ { src : "https://plausible.io/js/plausible.js" , defer : true , "data-domain" : "psn-api.achievements.app" } ] , presets : [ [ "@docusaurus/preset-classic" , type { import ( '@docusaurus/preset-classic' ) . Options } ( { docs : { sidebarPath : require . resolve ( "./sidebars.js" ) , routeBasePath : "/" , editUrl : "https://github.com/achievements-app/psn-api/edit/main/website/" , remarkPlugins : [ [ require ( "@docusaurus/remark-plugin-npm2yarn" ) , { sync : true } ] ] } , theme : { customCss : require . resolve ( "./src/css/custom.css" ) } , sitemap : { changefreq : "weekly" , priority : 0.5 , trailingSlash : false } } ) ] ] , themeConfig : type { import ( '@docusaurus/preset-classic' ) . ThemeConfig } ( { navbar : { title : "psn-api" , items : [ { type : "doc" , docId : "get-started" , position : "left" , label : "Quick start" } , { href : "https://github.com/achievements-app/psn-api" , label : "GitHub" , position : "right" } ] } , footer : { style : "dark" , links : [ { title : "Community" , items : [ { label : "Twitter" , href : "https://twitter.com/wescopeland_" } ] } , { title : "More" , items : [ { label : "GitHub" , href : "https://github.com/achievements-app/psn-api" } ] } ] , copyright : `Copyright © ${ new Date ( ) . getFullYear ( ) } achievements.app.` } , prism : { theme : lightCodeTheme , darkTheme : darkCodeTheme } , algolia : { appId : "BH4D9OD16A" , apiKey : "2ce8bc4c877d89ada212a38523a0d4d0" , indexName : "psn-api" } } ) } ; module . exports = config ;