api-docs: fix typos in README and default path

Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
MT Lewis
2024-12-31 16:25:44 +00:00
parent 50f8fa8e02
commit dcf6e720d1
3 changed files with 8 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-api-docs': patch
---
Fix typo in default path of api docs definition route
+2 -2
View File
@@ -826,10 +826,10 @@ export default createFrontendModule({
createEntityContentExtension({
// Name is necessary so the system knows that this extension will override the default 'definition' entity content extension provided by the 'api-docs' plugin
name: 'definition',
// Returing a custom content component
// Returning a custom content component
loader: () =>
import('./components').then(m => (
<m.MyCustomApiDefintionEntityContent />
<m.MyCustomApiDefinitionEntityContent />
)),
}),
],
+1 -1
View File
@@ -189,7 +189,7 @@ const apiDocsProvidingComponentsEntityCard = EntityCardBlueprint.make({
const apiDocsDefinitionEntityContent = EntityContentBlueprint.make({
name: 'definition',
params: {
defaultPath: '/defintion',
defaultPath: '/definition',
defaultTitle: 'Definition',
filter: 'kind:api',
loader: async () =>