Skip to content

Commit a1079c5

Browse files
fix(scaffold): incorrect links in generated files (#23)
Fixes #22
1 parent 7472cc7 commit a1079c5

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

src/cli.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ const cli = async (argv = [], opts = {}) => {
7373
.on('--help', () => {
7474
console.log('');
7575
console.log('More information:');
76-
console.log('- https://manual.os-js.org/v3/guide/cli/');
76+
console.log('- https://manual.os-js.org/guide/cli/');
7777
});
7878

7979
const defaults = createOptions(opts);

src/tasks/scaffold.js

+16-16
Original file line numberDiff line numberDiff line change
@@ -47,39 +47,39 @@ const scaffolds = {
4747
title: 'Authentication Adapter',
4848
info: `
4949
For more information about authentication adapters, visit:
50-
- https://manual.os-js.org/v3/tutorial/auth/
51-
- https://manual.os-js.org/v3/guide/auth/
52-
- https://manual.os-js.org/v3/development/
50+
- https://manual.os-js.org/tutorial/auth/
51+
- https://manual.os-js.org/guide/auth/
52+
- https://manual.os-js.org/development/
5353
`
5454
},
5555
settings: {
5656
dirname: 'settings',
5757
title: 'Settings Adapter',
5858
info: `
5959
For more information about settings adapters, visit:
60-
- https://manual.os-js.org/v3/tutorial/settings/
61-
- https://manual.os-js.org/v3/guide/settings/
62-
- https://manual.os-js.org/v3/development/
60+
- https://manual.os-js.org/tutorial/settings/
61+
- https://manual.os-js.org/guide/settings/
62+
- https://manual.os-js.org/development/
6363
`
6464
},
6565
vfs: {
6666
dirname: 'vfs',
6767
title: 'VFS Adapter',
6868
info: `
6969
For more information about vfs adapters, visit:
70-
- https://manual.os-js.org/v3/tutorial/vfs/
71-
- https://manual.os-js.org/v3/guide/filesystem/
72-
- https://manual.os-js.org/v3/development/
70+
- https://manual.os-js.org/tutorial/vfs/
71+
- https://manual.os-js.org/guide/filesystem/
72+
- https://manual.os-js.org/development/
7373
`
7474
},
7575
providers: {
7676
dirname: 'provider',
7777
title: 'Service Provider',
7878
info: `
7979
For more information about service providers, visit:
80-
- https://manual.os-js.org/v3/tutorial/provider/
81-
- https://manual.os-js.org/v3/guide/provider/
82-
- https://manual.os-js.org/v3/development/
80+
- https://manual.os-js.org/tutorial/provider/
81+
- https://manual.os-js.org/guide/provider/
82+
- https://manual.os-js.org/development/
8383
`
8484
}
8585
};
@@ -262,10 +262,10 @@ const scaffoldPackage = type => async ({logger, options, args}) => {
262262
console.log(`
263263
For more information about packages, visit:
264264
265-
- https://manual.os-js.org/v3/resource/overview/
266-
- https://manual.os-js.org/v3/tutorial/theme/
267-
- https://manual.os-js.org/v3/development/
268-
- https://manual.os-js.org/v3/tutorial/iframe/
265+
- https://manual.os-js.org/resource/overview/
266+
- https://manual.os-js.org/tutorial/theme/
267+
- https://manual.os-js.org/development/
268+
- https://manual.os-js.org/tutorial/iframe/
269269
`);
270270
});
271271
};

0 commit comments

Comments
 (0)