@@ -4,6 +4,7 @@ import { defineConfig } from 'vitepress';
4
4
export default defineConfig ( {
5
5
title : "Sublime Text Community Documentation" ,
6
6
description : "Community-driven Documentation for Sublime Text" ,
7
+ cleanUrls : true ,
7
8
head : [
8
9
[ 'meta' , { name : 'viewport' , content : 'width=device-width,initial-scale=1,user-scalable=no' } ] ,
9
10
[ 'meta' , { name : 'author' , content : 'sublime text community' } ] ,
@@ -28,9 +29,9 @@ export default defineConfig({
28
29
smoothScroll : true ,
29
30
// Navbar Link
30
31
nav : [
31
- { text : "Guide" , link : "/guide/" } ,
32
- { text : "Reference" , link : "/reference/" } ,
33
- { text : "Glossary" , link : "/glossary" } ,
32
+ { text : "Guide" , link : "/guide/" , activeMatch : "/guide/" } ,
33
+ { text : "Reference" , link : "/reference/" , activeMatch : "/reference/" } ,
34
+ { text : "Glossary" , link : "/glossary" , activeMatch : "/glossary" } ,
34
35
] ,
35
36
// Social Icons
36
37
socialLinks : [
@@ -42,6 +43,7 @@ export default defineConfig({
42
43
'/guide/' : [
43
44
{
44
45
text : "Guide" ,
46
+ base : "/guide/" ,
45
47
collapsible : true ,
46
48
items : [
47
49
{ text : "Introduction" , link : "/guide/" } ,
@@ -106,6 +108,7 @@ export default defineConfig({
106
108
'/reference/' : [
107
109
{
108
110
text : 'Reference' ,
111
+ base : '/reference/' ,
109
112
path : '/reference/' ,
110
113
items : [
111
114
{ text : "Build Systems" , link : 'https://www.sublimetext.com/docs/build_systems.html' } ,
0 commit comments