From fa7d3fd4c23dcd927895cae22fe89c190cf13cde Mon Sep 17 00:00:00 2001 From: Asher Date: Thu, 10 Dec 2020 10:45:31 -0600 Subject: [PATCH] Change tour directories from `file` to `directory` `file` doesn't seem to work without a specific git reference, but adding a reference makes the explorer not follow the tour. Unfortunately `directory` doesn't show the directory contents so I added the directory name and "see the explorer" to the comment. --- .tours/contributing.tour | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.tours/contributing.tour b/.tours/contributing.tour index 736fe7a39..9353ded5e 100644 --- a/.tours/contributing.tour +++ b/.tours/contributing.tour @@ -5,7 +5,7 @@ { "directory": "src", "line": 1, - "description": "Hello world! code-server's source code lives here. It's broadly arranged into browser code, Node code, and code shared between both." + "description": "Hello world! code-server's source code lives here in `src` (see the explorer). It's broadly arranged into browser code, Node code, and code shared between both." }, { "file": "src/node/entry.ts", @@ -58,9 +58,9 @@ "description": "We pass sockets to child processes, however we can't pass TLS sockets so when code-server is handling TLS (via --cert) we use this to create a proxy that can be passed to the child." }, { - "file": "src/node/routes", + "directory": "src/node/routes", "line": 1, - "description": "code-server's routes live here." + "description": "code-server's routes live here in `src/node/routes` (see the explorer)." }, { "file": "src/node/routes/index.ts", @@ -128,9 +128,9 @@ "description": "The service worker only exists to provide PWA functionality." }, { - "file": "src/browser/pages", + "directory": "src/browser/pages", "line": 1, - "description": "HTML, CSS, and JavaScript for each page lives here. Currently our HTML uses a simple search and replace template system with variables that {{LOOK_LIKE_THIS}}." + "description": "HTML, CSS, and JavaScript for each page lives in here `src/browser/pages` (see the explorer). Currently our HTML uses a simple search and replace template system with variables that {{LOOK_LIKE_THIS}}." }, { "file": "src/browser/pages/vscode.html", @@ -138,9 +138,9 @@ "description": "The VS Code HTML is based off VS Code's own `workbench.html`." }, { - "file": "src/browser/media", + "directory": "src/browser/media", "line": 1, - "description": "Static images and the manifest live here." + "description": "Static images and the manifest live here in `src/browser/media` (see the explorer)." }, { "file": "ci/dev/vscode.patch",