Skip to content

Commit 66c708c

Browse files
committed
Fix welcome page
Signed-off-by: Ben Sherman <[email protected]>
1 parent 5c9043a commit 66c708c

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
.vsix
44
build/
55
language-server
6-
node_modules
7-
*.vsix
6+
node_modules
File renamed without changes.
File renamed without changes.

esbuild.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ const production = process.argv.includes('--production');
55

66
async function main() {
77
const files = {
8+
'docs/**': './docs',
89
'images/**': './images',
910
'snippets/**': './snippets',
1011
'syntaxes/**': './syntaxes',

src/utils/showPage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export function showPage(filename = "readme-vscode.md") {
66
vscode.window.showErrorMessage("Extension not found!");
77
return;
88
}
9-
const docUri = vscode.Uri.joinPath(extension.extensionUri, "src", filename);
9+
const docUri = vscode.Uri.joinPath(extension.extensionUri, "docs", filename);
1010
vscode.commands.executeCommand("markdown.showPreview", docUri);
1111
}
1212

0 commit comments

Comments
 (0)