feat: copy markdown files to output directory for download feature

Add build step to copy all .md files to dist directory to support direct markdown file access for download and copy features. Update sitemap generation to reflect recent changes and improve code formatting. The copy operation excludes special directories like .vitepress, public, and node_modules to ensure only documentation content is available for download.
This commit is contained in:
sanbuphy
2026-03-23 21:24:51 +08:00
parent e2796ea75d
commit 679dc7ea90
4 changed files with 67 additions and 15 deletions
+2 -2
View File
@@ -949,7 +949,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-2/backend/2.6-modern-cli/</loc>
<lastmod>2026-03-18T07:59:13-05:00</lastmod>
<lastmod>2026-03-23T17:36:13+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-2/backend/2.6-modern-cli/"/>
@@ -1056,7 +1056,7 @@
</url>
<url>
<loc>https://datawhalechina.github.io/easy-vibe/zh-cn/stage-3/core-skills/basics/</loc>
<lastmod>2026-03-02T12:42:07+08:00</lastmod>
<lastmod>2026-03-23T17:36:13+08:00</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
<xhtml:link rel="alternate" hreflang="zh-CN" href="https://datawhalechina.github.io/easy-vibe/zh-cn/stage-3/core-skills/basics/"/>