9.2. 自定义 Red Hat Developer Hub Quickstart
作为管理员,您可以将 Red Hat Developer Hub Quickstart 插件配置为为 Developer Hub 用户创建自定义载入。
先决条件
您必须具有管理员权限。
流程
更新
app-config.yaml,如下所示:app: quickstart: - title: 'Welcome to Developer Hub' description: 'Learn the basics of navigating the Developer Hub interface' icon: 'home' cta: text: 'Get Started' link: '/catalog' - title: 'Create Your First Component' description: 'Follow our guide to register your first software component' icon: 'code' cta: text: 'Create Component' link: '/catalog-import' - title: 'Explore Templates' description: 'Discover available software templates to bootstrap new projects' icon: 'template' cta: text: 'Browse Templates' link: '/create'title- (必需) Quickstart 步骤的显示标题。
description- (必需)有关步骤涵盖的内容的简短描述。
icon-
图标标识符(支持 Material UI 图标)。
文本:CTA 按钮文本。 link- CTA 目标 URL 或路由。
9.2.1. 禁用 Quickstart 插件 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Quickstart 插件在 Developer Hub 中预加载,它带有基本配置属性,并默认启用。
流程
要禁用 Quickstart 插件,请将 disabled 属性设置为
true,如以下代码所示:global: dynamic: includes: - dynamic-plugins.default.yaml plugins: - package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-quickstart disabled: true