mirror of
https://github.com/directus/directus.git
synced 2026-01-31 00:48:16 -05:00
Support link-modules and add docs link (#368)
* Allow link type modules * Add docs module * Allow buttons to render as <a> * Update button readme * Use link buttons in module sidebar when needed
This commit is contained in:
8
src/modules/docs/index.ts
Normal file
8
src/modules/docs/index.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { defineModule } from '@/modules/define';
|
||||
|
||||
export default defineModule(({ i18n }) => ({
|
||||
id: 'docs',
|
||||
name: i18n.t('help_and_docs'),
|
||||
icon: 'help',
|
||||
link: 'https://docs.directus.io',
|
||||
}));
|
||||
Reference in New Issue
Block a user