Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

docs: fix broken links #3685

Merged
merged 1 commit into from
Nov 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions npm/js-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ console.log(result.content);

## Philosophy

The project philosophy can be found on our [website](https://rome.tools/#philosophy).
The project philosophy can be found on our [website](https://docs.rome.tools/internals/philosophy/).

## Community

Contribution and development instructions can be found in [CONTRIBUTING](./CONTRIBUTING.md).
Contribution and development instructions can be found in [CONTRIBUTING](../../CONTRIBUTING.md).

Additional project coordination and real-time discussion happens on our [Discord server](https://discord.gg/rome). Remember that all activity on the Discord server is still moderated and will be strictly enforced under the project's [Code of Conduct](./CODE_OF_CONDUCT.md).
Additional project coordination and real-time discussion happens on our [Discord server](https://discord.gg/rome). Remember that all activity on the Discord server is still moderated and will be strictly enforced under the project's [Code of Conduct](../../CODE_OF_CONDUCT.md).
2 changes: 1 addition & 1 deletion npm/rome/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
[npm-badge]: https://img.shields.io/npm/v/rome/latest?color=brightgreen
[npm-url]: https://www.npmjs.com/package/rome/v/latest
[vscode-badge]: https://img.shields.io/visual-studio-marketplace/v/rome.rome?color=brightgreen&label=vscode
[vscode-url]: (https://marketplace.visualstudio.com/items?itemName=rome.rome
[vscode-url]: https://marketplace.visualstudio.com/items?itemName=rome.rome

</div>

Expand Down
4 changes: 2 additions & 2 deletions rfcs/002-runtime-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Here's a list possible proposals of how Rome could be used.
There might be various cases, but first we need to understand how Rome is designed, and make proposal
based its design **AND** end-goal.

![Runtime design](https://raw.githubusercontent.com/rome/tools/rfc/apis-rfc/rfcs/Runtime%20design.png)
![Runtime design](./Runtime%20design.png)


1. Rome is configuration aware, meaning that when communicating with Rust Workspace,
Expand Down Expand Up @@ -423,4 +423,4 @@ test("test something", t => {
})
```

>
>
12 changes: 6 additions & 6 deletions website/src/components/cli-screenshots/noUnreachable-example.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
<pre class="language-text homepage-example"><code class="language-text">
main.tsx:9:3 <a href="https://rome.tools/lint/rules/noUnreachable">lint/nursery/noUnreachable</a> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
main.tsx:9:3 <a href="https://docs.rome.tools/lint/rules/nounreachable/">lint/nursery/noUnreachable</a> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

<strong><span style="color: Tomato;"> </span></strong><strong><span style="color: Tomato;">✖</span></strong> <span style="color: Tomato;">This code will never be reached ...</span>

<strong>7 │ </strong> }
<strong>8 │ </strong>
<strong><span style="color: Tomato;">&gt;</span></strong> <strong>9 │ </strong> return 20;
<strong> │ </strong> <strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong>
<strong>10 │ </strong>}

<strong><span style="color: rgb(38, 148, 255);"> </span></strong><strong><span style="color: rgb(38, 148, 255);">ℹ</span></strong> <span style="color: rgb(38, 148, 255);">... because either this statement will return from the function ...</span>

<strong>1 │ </strong>function test(callback) {
<strong>2 │ </strong> try {
<strong><span style="color: Tomato;"> </span></strong><strong><span style="color: Tomato;">&gt;</span></strong> <strong>3 │ </strong> return callback();
<strong> │ </strong> <strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong><strong><span style="color: Tomato;">^</span></strong>
<strong>4 │ </strong> } catch (e) {
<strong>5 │ </strong> console.log(e);

<strong><span style="color: rgb(38, 148, 255);"> </span></strong><strong><span style="color: rgb(38, 148, 255);">ℹ</span></strong> <span style="color: rgb(38, 148, 255);">... or this statement will throw an exception beforehand</span>

<strong>4 │ </strong> } catch (e) {
<strong>5 │ </strong> console.log(e);
<strong><span style="color: Tomato;"> </span></strong><strong><span style="color: Tomato;">&gt;</span></strong> <strong>6 │ </strong> throw e;
Expand Down