From a34c5c96037f6cad94fdf31c9b947b387a2f91b9 Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Tue, 17 May 2022 10:22:30 +0200 Subject: [PATCH 1/2] fix(entity-docs): add path to sub-routes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Anders Näsman Co-authored-by: Otto Sichert Signed-off-by: Camila Belo --- plugins/techdocs/src/Router.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/techdocs/src/Router.tsx b/plugins/techdocs/src/Router.tsx index 0174e3457f..e04090089a 100644 --- a/plugins/techdocs/src/Router.tsx +++ b/plugins/techdocs/src/Router.tsx @@ -69,7 +69,9 @@ export const EmbeddedDocsRouter = (props: PropsWithChildren<{}>) => { return ( - }>{children} + }> + {children} + ); }; From 2efee912512efaa8ac73f1679bbfce7b38ec8379 Mon Sep 17 00:00:00 2001 From: Camila Belo Date: Tue, 17 May 2022 10:32:08 +0200 Subject: [PATCH 2/2] chore(entity-docs): add changeset file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Anders Näsman Co-authored-by: Otto Sichert Signed-off-by: Camila Belo --- .changeset/techdocs-dancers-battle.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/techdocs-dancers-battle.md diff --git a/.changeset/techdocs-dancers-battle.md b/.changeset/techdocs-dancers-battle.md new file mode 100644 index 0000000000..68c6c52414 --- /dev/null +++ b/.changeset/techdocs-dancers-battle.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-techdocs': patch +--- + +Add a `sub-route` path on the EntityDocs page to fix the blank screen error when navigating using sidebar links.