This is an automated email from the ASF dual-hosted git repository.
tuhaihe pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry-site.git
The following commit(s) were added to refs/heads/main by this push:
new 20681c60ca Fix: use editUrl function to correct PXF doc edit links
20681c60ca is described below
commit 20681c60ca65876f9f7f89c251632b9b3d588ade
Author: Dianjin Wang <[email protected]>
AuthorDate: Wed Jun 10 10:27:31 2026 +0800
Fix: use editUrl function to correct PXF doc edit links
The string-form editUrl appended the project-relative path
(pxf/docs/*.md) instead of the plugin-relative path,
resulting in broken "Edit this page" URLs on the PXF docs site.
Switch to the function form so docPath is correctly relative
to the plugin's path option (pxf/docs).
---
docusaurus.config.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index b5382f97dc..37548c3acf 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -28,7 +28,7 @@ const config: Config = {
path: 'pxf/docs',
routeBasePath: 'pxf',
sidebarPath: './sidebarsPxf.ts',
- editUrl: 'https://github.com/apache/cloudberry-pxf/edit/main/docs/',
+ editUrl: ({ docPath }) =>
`https://github.com/apache/cloudberry-pxf/edit/main/docs/${docPath}`,
// Exclude repo-level non-doc files from being rendered as pages
exclude: ['README.md'],
},
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]