File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ const config: Config = {
1515 title : "FlywaveGL" ,
1616 url : "https://flywave.gl" ,
1717 baseUrl : "/flywave.gl/" ,
18- // 添加 trailingSlash 配置,确保在所有环境下 URL 行为一致
18+ // Add trailingSlash configuration to ensure consistent URL behavior across all environments
1919 trailingSlash : false ,
2020
2121 favicon : "img/favicon.ico" ,
@@ -72,27 +72,27 @@ const config: Config = {
7272 } satisfies Preset . Options
7373 ]
7474 ] ,
75- // 更新 staticDirectories 配置
75+ // Update staticDirectories configuration
7676 staticDirectories : [
77- "./static" , // 确保包含静态目录
77+ "./static" , // Ensure static directory is included
7878 flywavePath ,
7979 examplesPath ,
80- // 保留根目录映射(如果需要)
80+ // Keep root directory mapping (if needed)
8181 examplesSrcPath ,
8282 examplesSrcPath3dtilesAnimation
8383 ] ,
8484 markdown : {
8585 format : 'mdx' ,
8686 mermaid : true ,
87- // 处理损坏的 Markdown 图像
87+ // Handle broken Markdown images
8888 mdx1Compat : {
8989 admonitions : true ,
9090 comments : true ,
9191 headingIds : true ,
9292 } ,
93- // 忽略损坏的 Markdown 图像
93+ // Ignore broken Markdown images
9494 hooks : {
95- onBrokenMarkdownImages : 'warn' , // 或 'ignore'
95+ onBrokenMarkdownImages : 'warn' , // or 'ignore'
9696 } ,
9797 } ,
9898 themeConfig : {
@@ -144,7 +144,7 @@ const config: Config = {
144144 } ,
145145 {
146146 label : "API 参考" ,
147- to : "/docs/api" // 更新为正确的 API 路径
147+ to : "/docs/api" // Update to correct API path
148148 }
149149 ]
150150 } ,
You can’t perform that action at this time.
0 commit comments