From b8dd77043fddb20f02806ddfd639e72e61e9291b Mon Sep 17 00:00:00 2001 From: Savio <72797635+Savio-Sou@users.noreply.github.com> Date: Tue, 9 Apr 2024 07:01:08 -0400 Subject: [PATCH] chore(docs): Fix link in the Data Types page (#4527) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # Description ## Problem\* Existing link in the [Data Types page](https://noir-lang.org/docs/dev/noir/concepts/data_types/) to the generics page opens https://noir-lang.org/assets/files/generics-ff7aa43d69e6cca523a1f2e74064a062.md in a separate tab, instead of the page in the docs. ### 1. Click: image ### 2. Opens: image ## Summary\* Fix link to relatively redirects to the generics page. ## Documentation\* Check one: - [x] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [ ] I have tested the changes locally. - [ ] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings. --------- Co-authored-by: Tom French <15848336+TomAFrench@users.noreply.github.com> Co-authored-by: José Pedro Sousa --- docs/docs/noir/concepts/data_types/index.md | 2 +- .../version-v0.23.0/noir/concepts/data_types/index.md | 2 +- .../version-v0.24.0/noir/concepts/data_types/index.md | 2 +- .../version-v0.25.0/noir/concepts/data_types/index.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/docs/noir/concepts/data_types/index.md b/docs/docs/noir/concepts/data_types/index.md index 97b3b2cb094..357813c147a 100644 --- a/docs/docs/noir/concepts/data_types/index.md +++ b/docs/docs/noir/concepts/data_types/index.md @@ -79,7 +79,7 @@ fn main() { } ``` -Type aliases can also be used with [generics](@site/docs/noir/concepts/generics.md): +Type aliases can also be used with [generics](../generics.md): ```rust type Id = Size; diff --git a/docs/versioned_docs/version-v0.23.0/noir/concepts/data_types/index.md b/docs/versioned_docs/version-v0.23.0/noir/concepts/data_types/index.md index 3c9cd4c2437..f09bca0ee04 100644 --- a/docs/versioned_docs/version-v0.23.0/noir/concepts/data_types/index.md +++ b/docs/versioned_docs/version-v0.23.0/noir/concepts/data_types/index.md @@ -79,7 +79,7 @@ fn main() { } ``` -Type aliases can also be used with [generics](@site/docs/noir/concepts/generics.md): +Type aliases can also be used with [generics](../generics.md): ```rust type Id = Size; diff --git a/docs/versioned_docs/version-v0.24.0/noir/concepts/data_types/index.md b/docs/versioned_docs/version-v0.24.0/noir/concepts/data_types/index.md index 3c9cd4c2437..f09bca0ee04 100644 --- a/docs/versioned_docs/version-v0.24.0/noir/concepts/data_types/index.md +++ b/docs/versioned_docs/version-v0.24.0/noir/concepts/data_types/index.md @@ -79,7 +79,7 @@ fn main() { } ``` -Type aliases can also be used with [generics](@site/docs/noir/concepts/generics.md): +Type aliases can also be used with [generics](../generics.md): ```rust type Id = Size; diff --git a/docs/versioned_docs/version-v0.25.0/noir/concepts/data_types/index.md b/docs/versioned_docs/version-v0.25.0/noir/concepts/data_types/index.md index 97b3b2cb094..357813c147a 100644 --- a/docs/versioned_docs/version-v0.25.0/noir/concepts/data_types/index.md +++ b/docs/versioned_docs/version-v0.25.0/noir/concepts/data_types/index.md @@ -79,7 +79,7 @@ fn main() { } ``` -Type aliases can also be used with [generics](@site/docs/noir/concepts/generics.md): +Type aliases can also be used with [generics](../generics.md): ```rust type Id = Size;