@@ -2,23 +2,28 @@ import { themes as prismThemes } from "prism-react-renderer";
22import type { Config } from "@docusaurus/types" ;
33import type * as Preset from "@docusaurus/preset-classic" ;
44
5+ const organizationName = "IntersectMBO" ;
6+ const projectName = "developer-experience" ;
7+
58// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
69
710const config : Config = {
811 title : "Cardano Developer Experience" ,
912 tagline : "Your comprehensive guide to building on Cardano" ,
1013 favicon : "img/favicon.ico" ,
14+ // GitHub Pages adds a trailing slash by default that I don't want
15+ trailingSlash : false ,
1116
1217 // Set the production url of your site here
13- url : " https://devex.intersectmbo.org" ,
18+ url : ` https://${ organizationName } .github.io` ,
1419 // Set the /<baseUrl>/ pathname under which your site is served
1520 // For GitHub pages deployment, it is often '/<projectName>/'
16- baseUrl : "/developer-experience/" ,
21+ baseUrl : `/ ${ projectName } /` ,
1722
1823 // GitHub pages deployment config.
1924 // If you aren't using GitHub pages, you don't need these.
20- organizationName : "IntersectMBO" , // Usually your GitHub org/user name.
21- projectName : "developer-experience" , // Usually your repo name.
25+ organizationName, // Usually your GitHub org/user name.
26+ projectName, // Usually your repo name.
2227
2328 onBrokenLinks : "throw" ,
2429 onBrokenMarkdownLinks : "throw" ,
0 commit comments