From 5bc59253ca82136220e27062dde606cd7297702e Mon Sep 17 00:00:00 2001 From: mkusaka Date: Sat, 12 Nov 2022 22:39:59 +0900 Subject: [PATCH] docs: fix broken links --- npm/js-api/README.md | 6 +++--- npm/rome/README.md | 2 +- rfcs/002-runtime-api.md | 4 ++-- .../cli-screenshots/noUnreachable-example.md | 12 ++++++------ 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/npm/js-api/README.md b/npm/js-api/README.md index 275fba82958..b74cb71bfde 100644 --- a/npm/js-api/README.md +++ b/npm/js-api/README.md @@ -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). diff --git a/npm/rome/README.md b/npm/rome/README.md index 714248128c2..860bac1c4d3 100644 --- a/npm/rome/README.md +++ b/npm/rome/README.md @@ -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 diff --git a/rfcs/002-runtime-api.md b/rfcs/002-runtime-api.md index e1fecc1120d..3d7bf4e989b 100644 --- a/rfcs/002-runtime-api.md +++ b/rfcs/002-runtime-api.md @@ -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, @@ -423,4 +423,4 @@ test("test something", t => { }) ``` -> \ No newline at end of file +> diff --git a/website/src/components/cli-screenshots/noUnreachable-example.md b/website/src/components/cli-screenshots/noUnreachable-example.md index 7089d417463..ad3f696c774 100644 --- a/website/src/components/cli-screenshots/noUnreachable-example.md +++ b/website/src/components/cli-screenshots/noUnreachable-example.md @@ -1,25 +1,25 @@

-main.tsx:9:3 lint/nursery/noUnreachable ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
+main.tsx:9:3 lint/nursery/noUnreachable ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 
    This code will never be reached ...
-  
+
      7 │   }
      8 │ 
    > 9 │   return 20;
       ^^^^^^^^^^
     10 │ }
-  
+
    ... because either this statement will return from the function ...
-  
+
     1 │ function test(callback) {
     2 │   try {
   > 3 │     return callback();
        ^^^^^^^^^^^^^^^^^^
     4 │   } catch (e) {
     5 │     console.log(e);
-  
+
    ... or this statement will throw an exception beforehand
-  
+
     4 │   } catch (e) {
     5 │     console.log(e);
   > 6 │     throw e;