33
44const lightCodeTheme = require ( "prism-react-renderer/themes/github" ) ;
55const darkCodeTheme = require ( "prism-react-renderer/themes/dracula" ) ;
6+ require ( "dotenv" ) . config ( ) ;
67
78/** @type {import('@docusaurus/types').Config } */
89const config = {
@@ -12,15 +13,15 @@ const config = {
1213 // Algolia search config
1314 // themes: ["@docusaurus/theme-search-algolia"],
1415 // Set the production url of your site here
15- url : "https://your-docusaurus-test-site.com " ,
16+ url : "https://rtk-query-loader.ryfylke.dev " ,
1617 // Set the /<baseUrl>/ pathname under which your site is served
1718 // For GitHub pages deployment, it is often '/<projectName>/'
1819 baseUrl : "/" ,
1920
2021 // GitHub pages deployment config.
2122 // If you aren't using GitHub pages, you don't need these.
22- organizationName : "facebook " , // Usually your GitHub org/user name.
23- projectName : "docusaurus " , // Usually your repo name.
23+ organizationName : "ryfylke-react-as " , // Usually your GitHub org/user name.
24+ projectName : "rtk-query-loader " , // Usually your repo name.
2425
2526 onBrokenLinks : "throw" ,
2627 onBrokenMarkdownLinks : "warn" ,
@@ -40,8 +41,6 @@ const config = {
4041 ( {
4142 docs : {
4243 sidebarPath : require . resolve ( "./sidebars.js" ) ,
43- // Please change this to your repo.
44- // Remove this to remove the "edit this page" links.
4544 editUrl :
4645 "https://github.com/ryfylke-react-as/rtk-query-loader/tree/main/docs/" ,
4746 routeBasePath : "/" ,
@@ -58,9 +57,9 @@ const config = {
5857 /** @type {import('@docusaurus/preset-classic').ThemeConfig } */
5958 ( {
6059 algolia : {
61- apiKey : "747dfe4bf013ad89eadcb3a83eb4d70e" ,
60+ apiKey : process . env . ALGOLIA_API_KEY ,
6261 appId : "1NCL1FSCF8" ,
63- indexName : "RTK Query Loader " ,
62+ indexName : "rtk-query-loader " ,
6463 } ,
6564 // Replace with your project's social card
6665 image : "img/docusaurus-social-card.jpg" ,
0 commit comments