diff --git a/docs/features/techdocs/how-to-guides.md b/docs/features/techdocs/how-to-guides.md index 56ca2252d0..45929dfd20 100644 --- a/docs/features/techdocs/how-to-guides.md +++ b/docs/features/techdocs/how-to-guides.md @@ -162,20 +162,11 @@ The `techDocsPage` is a default techdocs reader page which lives in having to set anything up. ```tsx - - {({ techdocsMetadataValue, entityMetadataValue, entityRef, onReady }) => ( - <> - - - - - - )} - + + + + + ``` If you would like to compose your own `techDocsPage`, you can do so by replacing @@ -183,42 +174,30 @@ the children of TechDocsPage with something else. Maybe you are _just_ interested in replacing the Header: ```tsx - - {({ entityRef, onReady }) => ( - <> -
- - - - - )} - + +
+ + ``` Or maybe you want to disable the in-context search ```tsx - - {({ entityRef, onReady }) => ( - <> -
- - - - - )} - + +
+ + ``` Or maybe you want to replace the entire TechDocs Page. ```tsx - +

my own content

- + ``` ## How to migrate from TechDocs Alpha to Beta