Skip to content

Conversation

@Sudrut
Copy link
Contributor

@Sudrut Sudrut commented Dec 16, 2025

Simplified DocLink's logic, and use DocLink in development/migration/guideline. Also changed trailingSlash to always.

@vercel
Copy link

vercel bot commented Dec 16, 2025

@Sudrut is attempting to deploy a commit to the microcber's projects Team on Vercel.

A member of the Team first needs to authorize it.

import { isLinkMissing, normalizeLink } from "../lib/doc-link";
interface Props {
src: string;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename this property to something like dest?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we rename this property to something like dest?

OK! All existing mdx doc files need to change the property used in DocLink too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build will fail until all <DocLink src=...> is substituted by <DocLink dest=...>

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build will fail until all <DocLink src=...> is substituted by <DocLink dest=...>

All occurrences are replaced.

Copy link
Collaborator

@Lancern Lancern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants