We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 203f7e0 commit 4f2eacaCopy full SHA for 4f2eaca
libs/docs-utils/src/kind/helpers.ts
@@ -1,3 +1,4 @@
1
+import { DAFF_DOCS_DESIGN_PATH } from '../path';
2
import { DaffDocKind } from './enum';
3
import { DAFF_DOC_KIND_PATH_SEGMENT_MAP } from './path-segment-map';
4
@@ -38,6 +39,9 @@ export const daffDocsGetLinkUrl = (path: string): string => {
38
39
case DaffDocKind.API:
40
return `/docs/${DAFF_DOC_KIND_PATH_SEGMENT_MAP[kind]}/${matchPath}`;
41
42
+ case DaffDocKind.COMPONENT:
43
+ return `/docs/${DAFF_DOCS_DESIGN_PATH}/${DAFF_DOC_KIND_PATH_SEGMENT_MAP[kind]}/${matchPath}`;
44
+
45
case DaffDocKind.PACKAGE:
46
return `/docs/packages/${matchPath}`;
47
0 commit comments