Skip to content

Commit 2c5cff0

Browse files
committed
chore: use DocLink in Migration Guidelines
1 parent ac53299 commit 2c5cff0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/content/docs/development/migration/guideline.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ sidebar:
55
---
66

77
import { Aside } from "@astrojs/starlight/components";
8+
import DocLink from "@components/DocLink.astro"
89

910
This document gives guidelines to migrate content from cppreference to CppDoc.
1011

1112
<Aside type="tip">
12-
For a more detailed guideline about writing CppDoc contents, please check out the [development guideline](../guide).
13+
For a more detailed guideline about writing CppDoc contents, please check out the <DocLink src="/development/guide">development guideline</DocLink>.
1314
</Aside>
1415

1516
<Aside type="note">
@@ -35,4 +36,4 @@ The `since` and `until` fields are both optional.
3536

3637
## Cross References
3738

38-
Cross references are links within a CppDoc page that point to another CppDoc page. Please make sure all cross references are established using the [`DocLink` component](../guide/doc-everything#link-to-another-cppdoc-page).
39+
Cross references are links within a CppDoc page that point to another CppDoc page. Please make sure all cross references are established using the <DocLink src="/development/guide/doc-everything" section="link-to-another-cppdoc-page">`DocLink` component</DocLink>.

0 commit comments

Comments
 (0)