From 3adcde9cc9d0943c4f6a11339321e29d85885753 Mon Sep 17 00:00:00 2001 From: Badal Saibo Date: Fri, 17 Jan 2025 15:57:50 +0530 Subject: [PATCH 1/3] feat: trailing slash true --- docusaurus.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 44a58f4..25280d9 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -21,7 +21,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', From e56cd13d50626b9577efc410520b12cc06096f1e Mon Sep 17 00:00:00 2001 From: Badal Saibo Date: Fri, 17 Jan 2025 16:02:20 +0530 Subject: [PATCH 2/3] feat: changed title --- docusaurus.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 25280d9..b0d8bf1 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -8,7 +8,7 @@ const REPO_NAME = 'api'; const ORG_NAME = 'refrens-docs'; const config: Config = { - title: 'Refrens Documentation', + title: 'Refrens API', tagline: 'API References', favicon: 'img/favicon.ico', @@ -55,7 +55,7 @@ const config: Config = { // Replace with your project's social card image: 'img/logo.png', navbar: { - title: 'Refrens Documentation', + title: 'Refrens API', logo: { alt: 'Refrens Logo', src: 'img/logo.png', From cd1ef617f29355069b50c7a017fb8529a7e74a53 Mon Sep 17 00:00:00 2001 From: Badal Saibo Date: Fri, 17 Jan 2025 16:04:24 +0530 Subject: [PATCH 3/3] refactor: single source --- docusaurus.config.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docusaurus.config.ts b/docusaurus.config.ts index b0d8bf1..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 API', + title: TITLE, tagline: 'API References', favicon: 'img/favicon.ico', @@ -55,7 +56,7 @@ const config: Config = { // Replace with your project's social card image: 'img/logo.png', navbar: { - title: 'Refrens API', + title: TITLE, logo: { alt: 'Refrens Logo', src: 'img/logo.png',