diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 44a58f4..ca3aed0 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -4,11 +4,12 @@ import type * as Preset from '@docusaurus/preset-classic'; // This runs in Node.js - Don't use client-side code here (browser APIs, JSX...) +const TITLE = 'Refrens API'; const REPO_NAME = 'api'; const ORG_NAME = 'refrens-docs'; const config: Config = { - title: 'Refrens Documentation', + title: TITLE, tagline: 'API References', favicon: 'img/favicon.ico', @@ -21,7 +22,7 @@ const config: Config = { // If you aren't using GitHub pages, you don't need these. organizationName: ORG_NAME, // Usually your GitHub org/user name. projectName: REPO_NAME, // Usually your repo name. - trailingSlash: false, + trailingSlash: true, onBrokenLinks: 'throw', deploymentBranch: 'gh-pages', onBrokenMarkdownLinks: 'warn', @@ -55,7 +56,7 @@ const config: Config = { // Replace with your project's social card image: 'img/logo.png', navbar: { - title: 'Refrens Documentation', + title: TITLE, logo: { alt: 'Refrens Logo', src: 'img/logo.png',