diff --git a/packages/docs/src/.vitepress/config.js b/packages/docs/src/.vitepress/config.js index 66e9d15f8..880e3e997 100644 --- a/packages/docs/src/.vitepress/config.js +++ b/packages/docs/src/.vitepress/config.js @@ -10,9 +10,9 @@ export default defineConfig({ ], themeConfig: { - repo: 'vuejs/vue-devtools', + repo: 'vuejs/devtools', logo: '/logo-header.svg', - docsDir: 'docs', + docsDir: 'packages/docs/src', docsBranch: 'main', editLinks: true, editLinkText: 'Suggest changes to this page', diff --git a/packages/docs/src/guide/contributing.md b/packages/docs/src/guide/contributing.md index d776e2100..349df8d7b 100644 --- a/packages/docs/src/guide/contributing.md +++ b/packages/docs/src/guide/contributing.md @@ -64,12 +64,12 @@ Thank you for your code contribution! Before opening a PR, please make sure to r This is useful when you want to build the extension with the source repo to get not-yet-released features. 1. Clone this repo -2. `cd vue-devtools` the newly created folder +2. `cd devtools` the newly created folder 3. run `yarn install` 4. then run `yarn run build:watch` & `yarn run dev:chrome` in parallel 5. Open the Chrome extension page (currently under `Menu` > `More Tools` > `Extensions`) 6. Check "developer mode" on the top-right corner -7. Click the "load unpacked" button on the left, and choose the folder: `vue-devtools/packages/shell-chrome/` (it will have an orange disk icon) +7. Click the "load unpacked" button on the left, and choose the folder: `devtools/packages/shell-chrome/` (it will have an orange disk icon) 8. Make sure you disable all other versions of the extension ## Testing as Firefox addon @@ -94,6 +94,6 @@ This is useful when you want to build the extension with the source repo to get ## Docs development 1. Clone this repo -2. `cd vue-devtools` the newly created folder +2. `cd devtools` the newly created folder 3. run `yarn install` -4. run `docs:dev` \ No newline at end of file +4. run `docs:dev` diff --git a/packages/docs/src/guide/devtools-perf.md b/packages/docs/src/guide/devtools-perf.md index 22f9d5cf9..c3706bad1 100644 --- a/packages/docs/src/guide/devtools-perf.md +++ b/packages/docs/src/guide/devtools-perf.md @@ -26,7 +26,7 @@ Make sure you have run both the `build:watch` and the `dev:vue3` scripts as [exp In the Chrome window, open the devtools development shell at `http://localhost:8090`. -You can shen change the target URL in the toolbar on top of the devtools: +You can then change the target URL in the toolbar on top of the devtools: ![devtools shell screenshot](../assets/dev-shell-url.png)