Fix documentation 404 links
MODIFY
website/src/_includes/docs/cli-commands.md
website/src/_includes/docs/cli-commands.md
@@ -35,7 +35,7 @@ Reformat all files without applying any fixes.
#### `rome config`
-Used to modify project configuration. These commands work with all Rome project config locations (see [supported locations](/docs/project-config#supported-locations) for more info). When formatting a project config written with [RJSON](/docs/rjson), comments will be retained.
+Used to modify project configuration. These commands work with all Rome project config locations (see [supported locations](#supported-locations) for more info). When formatting a project config written with [RJSON](#rome-json), comments will be retained.
Before your project config is saved, we will validate it for errors. It is not possible to save an invalid config with `rome config`.
@@ -69,7 +69,7 @@ Show the config location that would be modified.
This command assists in the creation of a new Rome project. Actions that are performed:
- - `rome.rjson` is created that serves as your [project configuration](/docs/project-config).
+ - `rome.rjson` is created that serves as your [project configuration](#project-configuration).
- `.editorconfig` is created that correctly sets indentation for editors that support [EditorConfig](https://editorconfig.org/).
**Flags**
@@ -89,7 +89,7 @@ Since this command can be destructive and may have unintended consequences, we c
#### `rome logs`
-Alias for `rome noop --logs --hang`. See [`--logs` documentation](/docs/cli/debugging#--logs) for more info.
+Alias for `rome noop --logs --hang`. See [`--logs` documentation](#--logs) for more info.
This command will never complete.
@@ -107,7 +107,7 @@ This command does nothing. Used in conjunction with other global flags such as [
#### `rome rage`
-Alias for `rome noop --rage`. See [`--rage` documentation](/docs/cli/debugging#--rage) for more info.
+Alias for `rome noop --rage`. See [`--rage` documentation](#rome-rage) for more info.
#### `rome recover`
@@ -145,7 +145,7 @@ Clear the entire contents of the recovery store.
#### `rome restart`
-Equivalent to running [`rome stop`](/docs/cli/commands/stop) and then [`rome start`](/docs/cli/commands/start).
+Equivalent to running [`rome stop`](#rome-stop) and then [`rome start`](#rome-start).
#### `rome start`

MODIFY
website/src/_includes/docs/linting.md
website/src/_includes/docs/linting.md
@@ -185,7 +185,7 @@ Get the most out of Rome by integrating it with your editor. You will get diagno
Rome implements the [Language Server Protocol (LSP)](https://microsoft.github.io/language-server-protocol/) supported by [various editors](https://microsoft.github.io/language-server-protocol/implementors/tools/). We have official extensions available for:
-- [VSCode](- [VSCode](https://marketplace.visualstudio.com/items?itemName=rome.rome))
+- [VSCode](https://marketplace.visualstudio.com/items?itemName=rome.rome)
Once an editor extension has been installed, the version of Rome in your project will be automatically found and used. As we improve Rome and add new functionality any changes will automatically work with your editor!

MODIFY
website/src/_includes/docs/project-config.md
website/src/_includes/docs/project-config.md
**Rome** needs to know how to find your project and what files it includes. To do this we require a project configuration file.
-Your configuration can be placed in a [few different locations](#supported-locations), but we recommend using a single `rome.rjson` file. This file is written using [RJSON](/docs/rjson) which is our flavor of JSON. It supports comments and has a simpler syntax.
+Your configuration can be placed in a [few different locations](#supported-locations), but we recommend using a single `rome.rjson` file. This file is written using [RJSON](#rome-json) which is our flavor of JSON. It supports comments and has a simpler syntax.
-All properties are **optional**, you can even have an empty config! We recommend using the [`rome config`](/docs/cli/commands/config) command to modify your configuration, this works with any of the supported config locations, and when editing RJSON will even retain comments.
+All properties are **optional**, you can even have an empty config! We recommend using the [`rome config`](#rome-config) command to modify your configuration, this works with any of the supported config locations, and when editing RJSON will even retain comments.
We are deliberately lean with the supported configuration. We do not include options just for the sake of personalization. We aim to offer everything out of the box and only introduce configuration if absolutely necessary.
@@ -83,7 +83,7 @@ You can specify your project config in a few different places.
This is the recommend location. It's the file we create when running `rome init`.
-It can contains Rome's flavor of JSON, [RJSON](/docs/rjson), that allows comments and simpler syntax.
+It can contains Rome's flavor of JSON, [RJSON](#rome-json), that allows comments and simpler syntax.
##### `.config/rome.json`

Fix documentation 404 links (#1000)