fix: 修复多个文件末尾缺少换行符的问题,确保文件格式一致性

This commit is contained in:
2025-03-25 16:59:15 +08:00
parent 910e9c7713
commit 21574294bc
19 changed files with 141 additions and 115 deletions

View File

@@ -1,29 +1,27 @@
import { defineConfig } from 'vitepress'
import { defineConfig } from "vitepress";
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Bash",
description: "My Bash!",
base: '/docs/',
head: [
['link', { rel: 'icon', type: 'image/svg+xml', href: 'favicon.ico' }]
],
base: "/docs/",
head: [["link", { rel: "icon", type: "image/svg+xml", href: "favicon.ico" }]],
lastUpdated: true,
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' }
{ text: "Home", link: "/" },
{ text: "Examples", link: "/markdown-examples" },
],
sidebar: [
{
text: 'Examples',
text: "Examples",
items: [
{ text: 'Markdown Examples', link: '/markdown-examples' },
{ text: 'Runtime API Examples', link: '/api-examples' }
]
}
{ text: "Markdown Examples", link: "/markdown-examples" },
{ text: "Runtime API Examples", link: "/api-examples" },
],
},
],
}
})
},
});