Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

feat(web): format and add disclaimer about integration tests

Elijah Pottere672cdae2758
diff --git a/packages/web/src/routes/+page.svelte b/packages/web/src/routes/+page.svelte
index 483d1da45..fa1d1ccb5 100644
--- a/packages/web/src/routes/+page.svelte
+++ b/packages/web/src/routes/+page.svelte
@@ -94,7 +94,9 @@
</span>
<img
- src={["/images/harper_wp_playground_screenshot.png", "/images/obsidian_screenshot.webp", ][Math.floor(Math.random() * 2)]}
+ src={['/images/harper_wp_playground_screenshot.png', '/images/obsidian_screenshot.webp'][
+ Math.floor(Math.random() * 2)
+ ]}
class="dark:invert rounded"
alt="A screenshot of a text editor with Harper suggestions."
/></Section
diff --git a/packages/web/src/routes/docs/contributors/environment/+page.md b/packages/web/src/routes/docs/contributors/environment/+page.md
index cf67a8148..3d9164003 100644
--- a/packages/web/src/routes/docs/contributors/environment/+page.md
+++ b/packages/web/src/routes/docs/contributors/environment/+page.md
@@ -25,3 +25,4 @@ just --list
> Please note that `just build-web` _only_ builds the website for production, while `just dev-web` also spins up a development server.
Before making any modifications, we highly recommend that you run `just setup` to populate your build caches and download all dependencies.
+If you see a Visual Studio code window pop open, don't worry! That's just a part of our integration tests.
diff --git a/packages/web/vite.config.ts b/packages/web/vite.config.ts
index 678d925fa..61814a836 100644
--- a/packages/web/vite.config.ts
+++ b/packages/web/vite.config.ts
@@ -31,11 +31,11 @@ export default defineConfig({
}
},
navbar: [
- { title: 'Documentation', to: '/docs/about' },
- { title: 'Visual Studio Code', to: '/docs/integrations/visual-studio-code' },
- { title: 'Obsidian', to: '/docs/integrations/obsidian' },
- { title: 'harper.js', to: '/docs/harperjs/introduction' },
- ],
+ { title: 'Documentation', to: '/docs/about' },
+ { title: 'Visual Studio Code', to: '/docs/integrations/visual-studio-code' },
+ { title: 'Obsidian', to: '/docs/integrations/obsidian' },
+ { title: 'harper.js', to: '/docs/harperjs/introduction' }
+ ],
sidebar: {
'/docs/': [
{