Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ module.exports = {
}
},
plugins: [
require("./plugins/comment/index"),
require("./plugins/copy/index"),
require("./plugins/comment"),
require("./plugins/copy"),
"vuepress-plugin-cat",
"@vuepress/nprogress",
[
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ElementUI from "element-ui";
import i18n from "./i18n/index";
import i18n from "./i18n";
import "./public/styles/element-variables.scss";

export default ({
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
41 changes: 41 additions & 0 deletions aaa.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
const fs = require('fs');
const path = require('path');

function renameFilesInFolder(folderPath) {
fs.readdir(folderPath, (err, files) => {
if (err) {
console.error('Error reading folder:', err);
return;
}

files.forEach(file => {
const filePath = path.join(folderPath, file);

fs.stat(filePath, (err, stats) => {
if (err) {
console.error('Error getting file stats:', err);
return;
}

if (stats.isFile() && file === 'Index.md') {
const newFilePath = path.join(folderPath, 'index.md');

fs.rename(filePath, newFilePath, err => {
if (err) {
console.error('Error renaming file:', err);
} else {
console.log(`Renamed file: ${file} -> Index.md`);
}
});
} else if (stats.isDirectory()) {
renameFilesInFolder(filePath); // 递归处理子文件夹
}
});
});
});
}

// 指定要遍历的文件夹路径
const folderPath = '_back/docs_back';

renameFilesInFolder(folderPath);
5 changes: 0 additions & 5 deletions bin/deploy.sh

This file was deleted.

Binary file removed buyCoffee/alipay.png
Binary file not shown.
Binary file removed buyCoffee/wx.png
Binary file not shown.
331 changes: 331 additions & 0 deletions docs/.vitepress/cache/deps/@theme_index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading