Skip to content

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

docs: moved contributor documentation to the web

Elijah Potter9451d01c6157
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index e58bb7e84..f6013e6d1 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -1,41 +1,3 @@
# Contributing
-Harper is completely open to outside contributors of any kind.
-
-If you have a feature request or bug to report, please [create an issue](https://github.com/automattic/harper/issues).
-
-## Setup Your Environment
-
-To use the tooling required to build and debug Harper, you'll need to the following programs available in your `PATH`.
-
-- [`just`](https://github.com/casey/just)
-- `bash`
-- [`cargo`](https://www.rust-lang.org/) (we develop against the latest version of Rust)
-- `yarn`
-- `node`
-- `grep`
-- [`wasm-pack`](https://rustwasm.github.io/wasm-pack/installer/)
-
-To list out the various tools for development, run:
-
-```bash
-just --list
-```
-
-I would highly recommend that you run `just setup` to populate your build caches and install the necessary build-tools.
-
-## Committing
-
-Harper follows [conventional commit practices](https://www.conventionalcommits.org/en/v1.0.0/).
-Before creating a pull request, please make sure all your commits follow the linked conventions.
-
-Additionally, to minimize the labor required to review your commit, we run a relatively strict suite of formatting and linting programs.
-We highly recommend that you run both `just format` and `just precommit` before submitting a pull request.
-If those scripts don't work in your environment, we run `just precommit` through GitHub actions inside of pull requests, so you may make modifications and push until the checks pass.
-
-If this sounds intimidating, don't worry.
-We are entirely willing to work with you to make sure your code can make it into Harper, just know it might take a little longer.
-
-## How does it work?
-
-Please take a read of the [architecture document](./ARCHITECTURE.md).
+This page has been moved to [the main documentation](https://writewithharper.com/docs/contributors/introduction).
diff --git a/packages/web/src/routes/docs/contributors/committing/+page.md b/packages/web/src/routes/docs/contributors/committing/+page.md
new file mode 100644
index 000000000..85417bf77
--- /dev/null
+++ b/packages/web/src/routes/docs/contributors/committing/+page.md
@@ -0,0 +1,13 @@
+---
+title: Committing
+---
+
+Harper follows [conventional commit practices](https://www.conventionalcommits.org/en/v1.0.0/).
+Before creating a pull request, please make sure all your commits follow the linked conventions.
+
+Additionally, to minimize the labor required to review your commit, we run a relatively strict suite of formatting and linting programs.
+We highly recommend that you run both `just format` and `just precommit` before submitting a pull request.
+If those scripts don't work in your environment, we run `just precommit` through GitHub actions inside of pull requests, so you may make modifications and push until the checks pass.
+
+If this sounds intimidating, don't worry.
+We are entirely willing to work with you to make sure your code can make it into Harper, just know it might take a little longer.
diff --git a/packages/web/src/routes/docs/contributors/environment/+page.md b/packages/web/src/routes/docs/contributors/environment/+page.md
new file mode 100644
index 000000000..33133d522
--- /dev/null
+++ b/packages/web/src/routes/docs/contributors/environment/+page.md
@@ -0,0 +1,23 @@
+---
+title: Set Up Your Environment
+---
+
+To use the tooling required to build and debug Harper, you'll need to the following programs available in your `$PATH`.
+
+- [`just`](https://github.com/casey/just)
+- `bash`
+- [`cargo`](https://www.rust-lang.org/) (we develop against the latest version of Rust)
+- `yarn`
+- `node`
+- `grep`
+- [`wasm-pack`](https://rustwasm.github.io/wasm-pack/installer/)
+- `zip`
+
+We develop a series of tools, accessible via `just` to build and debug Harper's algorithm (`harper-core`) and its various integrations.
+To get see all the tools in your toolbox run:
+
+```bash
+just --list
+```
+
+Before getting started, I highly recommend that you run `just setup` to populate your build caches and download all dependencies.
diff --git a/packages/web/src/routes/docs/contributors/introduction/+page.md b/packages/web/src/routes/docs/contributors/introduction/+page.md
new file mode 100644
index 000000000..d5cd134ce
--- /dev/null
+++ b/packages/web/src/routes/docs/contributors/introduction/+page.md
@@ -0,0 +1,9 @@
+---
+title: Introduction to Contributing
+---
+
+Harper is completely open to outside contributors of any kind.
+
+If you have a feature request or bug to report, please [create an issue](https://github.com/automattic/harper/issues) and we'll get back to you as soon as we can.
+
+If you're interested in making a change to the code, we have documentation on [setting up your environment](./environment) and [getting your changes merged in](./committing).
diff --git a/packages/web/vite.config.ts b/packages/web/vite.config.ts
index 41e42592f..5702321f5 100644
--- a/packages/web/vite.config.ts
+++ b/packages/web/vite.config.ts
@@ -37,7 +37,6 @@ export default defineConfig({
},
{
title: 'Integrations',
- to: '/docs/integrations',
items: [
{
title: 'Obsidian',
@@ -68,6 +67,23 @@ export default defineConfig({
to: '/docs/integrations/emacs'
}
]
+ },
+ {
+ title: 'Contributors',
+ items: [
+ {
+ title: 'Introduction',
+ to: '/docs/contributors/introduction'
+ },
+ {
+ title: 'Environment',
+ to: '/docs/contributors/environment'
+ },
+ {
+ title: 'Committing',
+ to: '/docs/contributors/committing'
+ }
+ ]
}
]
},