File tree 3 files changed +2
-5
lines changed
3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
1
import { defineConfig } from "vitepress" ;
2
2
import { rules } from "./rulesForSidebar" ;
3
3
import { description , version } from "../../package.json" ;
4
- import { BASE_URL } from "./constants" ;
5
4
6
5
// https://vitepress.dev/reference/site-config
7
6
export default defineConfig ( {
8
7
title : "eslint-plugin-vuejs-a11y" ,
9
- base : BASE_URL ,
8
+ base : "/eslint-plugin-vuejs-accessibility/" ,
10
9
description,
11
10
head : [
12
11
[
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import { join , parse } from "node:path" ;
2
2
import { Dirent , readdirSync } from "node:fs" ;
3
- import { BASE_URL } from "./constants" ;
4
3
5
4
export const rules = getRulesForSideBar ( ) ;
6
5
@@ -30,6 +29,6 @@ function fileNameWithoutExtension(file: Dirent) {
30
29
function ruleToSidebarItem ( ruleName : string ) {
31
30
return {
32
31
text : ruleName ,
33
- link : `${ BASE_URL } rules/${ ruleName } `
32
+ link : `/ rules/${ ruleName } `
34
33
} ;
35
34
}
You can’t perform that action at this time.
0 commit comments