You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "morningman (via GitHub)" <gi...@apache.org> on 2026/05/14 21:45:53 UTC
[PR] [fix](docs) use metadata.source so "Edit this page" links to the real .md/.mdx file [doris-website]
morningman opened a new pull request, #3648:
URL: https://github.com/apache/doris-website/pull/3648
The previous logic in pathTransfer.ts rebuilt the source path from location.pathname and unconditionally appended .md, so any .mdx file (e.g. docs-next/connection-integration/mysql-proto.mdx) produced a broken GitHub link. Use Docusaurus's metadata.source instead, which always carries the correct file extension across all locales and versioned docs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org
Re: [PR] [fix](docs) use metadata.source so "Edit this page" links to the real .md/.mdx file [doris-website]
Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman merged PR #3648:
URL: https://github.com/apache/doris-website/pull/3648
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org