3df7b26de5
Co-authored-by: Philipp Hugenroth <philipph@spotify.com> Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
165 lines
4.6 KiB
YAML
165 lines
4.6 KiB
YAML
app:
|
|
experimental:
|
|
packages: 'all' # ✨
|
|
routes:
|
|
bindings:
|
|
plugin.pages.externalRoutes.pageX: plugin.pages.routes.pageX
|
|
plugin.catalog.externalRoutes.viewTechDoc: plugin.techdocs.routes.docRoot
|
|
|
|
extensions:
|
|
- apis.plugin.graphiql.browse.gitlab: true
|
|
|
|
# Entity page cards
|
|
- entity.cards.about
|
|
- entity.cards.labels
|
|
- entity.cards.links:
|
|
config:
|
|
filter:
|
|
- isKind: component
|
|
|
|
# Entity page content
|
|
- entity.content.techdocs
|
|
|
|
# scmAuthExtension: >-
|
|
# createScmAuthExtension({
|
|
# id: 'apis.scmAuth.addons.ghe',
|
|
# factory({ bind }) {
|
|
# bind.scmAuthAddon({
|
|
# baseUrl: 'https://github.spotify.net',
|
|
# api: githubAuthApiRef,
|
|
# })
|
|
# }
|
|
# })
|
|
|
|
# externalRouteRefs:
|
|
# bind(catalogPlugin.externalRoutes, {
|
|
# createComponent: scaffolderPlugin.routes.root,
|
|
# viewTechDoc: techdocsPlugin.routes.docRoot,
|
|
# createFromTemplate: scaffolderPlugin.routes.selectedTemplate,
|
|
# });
|
|
# bind(apiDocsPlugin.externalRoutes, {
|
|
# registerApi: catalogImportPlugin.routes.importPage,
|
|
# });
|
|
# bind(scaffolderPlugin.externalRoutes, {
|
|
# registerComponent: catalogImportPlugin.routes.importPage,
|
|
# viewTechDoc: techdocsPlugin.routes.docRoot,
|
|
# });
|
|
# bind(orgPlugin.externalRoutes, {
|
|
# catalogIndex: catalogPlugin.routes.catalogIndex,
|
|
# });
|
|
|
|
# extensions:
|
|
# - plugin.catalog:
|
|
# config:
|
|
# externalRoutes:
|
|
# createComponent: plugin.scaffolder.page
|
|
# viewTechDoc: plugin.techdocs.docRootPage
|
|
# createFromTemplate: plugin.scaffolder.templatePage
|
|
# - graphiql.page:
|
|
# config:
|
|
# path: /
|
|
# - apis.auth.providers.github:
|
|
# config:
|
|
# provider: ghe
|
|
|
|
# - core.signInPage:
|
|
# props:
|
|
# provider:
|
|
# id: google
|
|
# title: Google
|
|
# message: Sign In using Google
|
|
# apiRef: googleAuthApiRef # ???
|
|
|
|
# - core.nav:
|
|
# config:
|
|
# logo: assets/logo.png
|
|
# layout:
|
|
# - label: Search
|
|
# icon: search
|
|
# to: /search
|
|
# items:
|
|
# - point: search
|
|
# - type: divider
|
|
# - label: Menu
|
|
# icon: menu
|
|
# items:
|
|
# - label: Home
|
|
# icon: home
|
|
# to: /catalog
|
|
# - label: Create...
|
|
# icon: create
|
|
# to: /create
|
|
# - type: divider
|
|
# - type: scroll-wrapper
|
|
# items:
|
|
# - label: Tech Radar
|
|
# icon: map
|
|
# to: /tech-radar
|
|
# - label: GraphiQL
|
|
# icon: graphiql
|
|
# to: /graphiql
|
|
# - type: divider
|
|
# - point: shortcuts
|
|
# - type: space
|
|
# - type: divider
|
|
# - label: Settings
|
|
# icon: avatar
|
|
# to: /settings
|
|
# items:
|
|
# - point: settings
|
|
# - core.nav/search: '@backstage/plugin-search#SidebarSearchModal'
|
|
# - core.nav/shortcuts:
|
|
# use: '@backstage/plugin-shortcuts#Shortcuts'
|
|
# config:
|
|
# allowExternalLinks: true
|
|
# - core.nav/settings: '@backstage/plugin-user-settings#SidebarSettings'
|
|
|
|
# - core.pages.index:
|
|
# at:
|
|
# point: core.routes
|
|
# config:
|
|
# path: /
|
|
# use: 'react-router-dom#Navigate'
|
|
# config:
|
|
# to: /catalog
|
|
|
|
# - scaffolder.page:
|
|
# config:
|
|
# groups:
|
|
# - title: Recommended
|
|
# filter:
|
|
# entity.metadata.tags: recommended
|
|
# - scaffolder.page/fields: '@backstage/plugin-scaffolder#LowerCaseValuePickerFieldExtension'
|
|
# - scaffolder.page/layout: '@backstage/plugin-scaffolder#TwoColumnLayout'
|
|
|
|
# - search.page/content: 'app#customSearchPage' # custom search page from somewhere
|
|
|
|
# - user-settings.page.routes.advanced:
|
|
# at:
|
|
# point: user-settings.page/routes
|
|
# config:
|
|
# title: Advanced
|
|
# path: /advanced
|
|
# use: '@backstage/plugin-user-settings#AdvancedSettings'
|
|
|
|
# - entity.card.orphanWarning
|
|
# - entity.card.processingErrors
|
|
# - entity.card.about
|
|
# - entity.card.catalogGraph
|
|
# - entity.card.pagerDuty
|
|
# - entity.card.links
|
|
# - entity.card.labels
|
|
# - entity.card.githubInsightsLanguages
|
|
# - entity.card.githubInsightsReleases
|
|
# - entity.card.githubInsightsReadme:
|
|
# config:
|
|
# maxHeight: 350 # Throwing this config in to have an example, but in practice rely on default
|
|
# - entity.card.subcomponentsCard
|
|
# - entity.card.userProfile
|
|
# - entity.card.ownership
|
|
# - entity.card.likeDislikeRatings
|
|
# - entity.content.dependsOnComponents
|
|
# - entity.content.codeInsights
|
|
# - entity.content.todo
|
|
# - entity.content.feedbackResponse
|