From 9cb48966b85a79b5987f157fbb05d35b39d0a7bd Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Thu, 8 Feb 2024 12:27:05 +0100 Subject: [PATCH] Apply suggestions from code review Signed-off-by: Patrik Oldsberg --- .github/vale/config/vocabularies/Backstage/accept.txt | 3 --- .../building-plugins/04-built-in-data-refs.md | 6 +++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/vale/config/vocabularies/Backstage/accept.txt b/.github/vale/config/vocabularies/Backstage/accept.txt index aa21c61ae5..940e855828 100644 --- a/.github/vale/config/vocabularies/Backstage/accept.txt +++ b/.github/vale/config/vocabularies/Backstage/accept.txt @@ -305,7 +305,6 @@ Pulumi pygments pymdownx rankdir -reactElement readme Readme readonly @@ -331,8 +330,6 @@ Rollbar Rollup routable Routable -routePath -routeRef Rspack rst rsync diff --git a/docs/frontend-system/building-plugins/04-built-in-data-refs.md b/docs/frontend-system/building-plugins/04-built-in-data-refs.md index 57d580fa8a..dacbbf30f1 100644 --- a/docs/frontend-system/building-plugins/04-built-in-data-refs.md +++ b/docs/frontend-system/building-plugins/04-built-in-data-refs.md @@ -14,7 +14,7 @@ To have a better understanding of extension data references please read [the cor Data references help to define the inputs and outputs of an extension. A data ref is uniquely identified through its `id`. Through the data ref, strong typing is enforced for the input/output of the extension. -### reactElement +### `reactElement` | id | type | | :-----------------: | :-----------: | @@ -40,7 +40,7 @@ const homePage = createPageExtension({ }); ``` -### routePath +### `routePath` | id | type | | :-----------------: | :------: | @@ -48,7 +48,7 @@ const homePage = createPageExtension({ The `routePath` data reference can be used for defining the extension input/output of string paths. -### routeRef +### `routeRef` | id | type | | :----------------: | :--------: |