Skip to content

Commit 68325d5

Browse files
committed
docs: switch to modestbench.dev
1 parent 971f4e9 commit 68325d5

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

astro.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { defineConfig } from 'astro/config';
44

55
// https://astro.build/config
66
export default defineConfig({
7-
base: '/modestbench',
7+
base: '/',
88

99
integrations: [
1010
starlight({
@@ -48,7 +48,7 @@ export default defineConfig({
4848
],
4949
outDir: './docs',
5050
publicDir: './public',
51-
site: 'https://boneskull.github.io/modestbench',
51+
site: 'https://modestbench.dev',
5252
srcDir: './site/src',
5353
// see https://github.com/withastro/astro/issues/14117#issuecomment-3117797751
5454
vite: {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"type": "git",
88
"url": "git+https://github.com/boneskull/modestbench.git"
99
},
10-
"homepage": "https://boneskull.github.io/modestbench",
10+
"homepage": "https://modestbench.dev",
1111
"bugs": {
1212
"url": "https://github.com/boneskull/modestbench/issues"
1313
},

src/errors/base.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88
/**
99
* Base URL for error documentation
1010
*/
11-
const ERROR_DOC_BASE_URL =
12-
'https://boneskull.github.io/modestbench/reference/errors';
11+
const ERROR_DOC_BASE_URL = 'https://modestbench.dev/reference/errors';
1312

1413
/**
1514
* Abstract base class for ModestBench aggregate errors

test/unit/errors.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('ModestBenchError base class', () => {
6262
expect(
6363
url,
6464
'to equal',
65-
'https://boneskull.github.io/modestbench/reference/errors#testerror',
65+
'https://modestbench.dev/reference/errors#testerror',
6666
);
6767
});
6868

@@ -75,7 +75,7 @@ describe('ModestBenchError base class', () => {
7575
expect(
7676
str,
7777
'to contain',
78-
'https://boneskull.github.io/modestbench/reference/errors#testerror',
78+
'https://modestbench.dev/reference/errors#testerror',
7979
);
8080
});
8181

@@ -131,7 +131,7 @@ describe('ModestBenchAggregateError base class', () => {
131131
expect(
132132
url,
133133
'to equal',
134-
'https://boneskull.github.io/modestbench/reference/errors#testaggregateerror',
134+
'https://modestbench.dev/reference/errors#testaggregateerror',
135135
);
136136
});
137137

0 commit comments

Comments
 (0)