This is an automated email from the ASF dual-hosted git repository.
yuzelin pushed a commit to branch pypaimon_0.2.0
in repository https://gitbox.apache.org/repos/asf/paimon-website.git
The following commit(s) were added to refs/heads/pypaimon_0.2.0 by this push:
new 3e8f893bed try fix 4
3e8f893bed is described below
commit 3e8f893bed69d1ea41013aec6795263beb834c6f
Author: yuzelin <[email protected]>
AuthorDate: Tue Jan 7 13:45:02 2025 +0800
try fix 4
---
library/markdown-parser/handlers/document.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/library/markdown-parser/handlers/document.ts
b/library/markdown-parser/handlers/document.ts
index cf2a2a4b40..0a6378b474 100644
--- a/library/markdown-parser/handlers/document.ts
+++ b/library/markdown-parser/handlers/document.ts
@@ -43,9 +43,9 @@ export function processDocuments(): { releases:
BriefRelease[] } {
const resolvedDownloads = resolveDocument(downloads);
writeFileSync(`${docsDist}/downloads.json`,
JSON.stringify(resolvedDownloads));
- readdirSync(releasesSource).forEach(file => {
+ readdirSync(`releases/paimon`).forEach(file => {
const { name } = parseFileName(file);
- const release = parseDocumentFromBuffer(name,
readFileSync(`${releasesSource}/${name}.md`));
+ const release = parseDocumentFromBuffer(name,
readFileSync(`releases/paimon/${name}.md`));
const resolvedRelease = resolveDocument(release);
releases.push(resolvedRelease);
});