Skip to content

Commit f2dc918

Browse files
committed
x
1 parent 266e268 commit f2dc918

File tree

22 files changed

+410
-593
lines changed

22 files changed

+410
-593
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# 屏蔽 Rust 文件的统计
2+
*.rs linguist-vendored

.github/workflows/hugo.yml

Lines changed: 0 additions & 183 deletions
This file was deleted.

frontends/homepage/package.json

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
{
2-
"name": "rbq-homepage",
3-
"version": "0.1.0",
4-
"description": "RBQ Engine Homepage and Documentation",
5-
"private": true,
6-
"type": "module",
7-
"scripts": {
8-
"dev": "vite",
9-
"build": "vue-tsc -b && vite build",
10-
"preview": "vite preview"
11-
},
12-
"dependencies": {
13-
"@element-plus/icons-vue": "^2.3.1",
14-
"element-plus": "^2.5.0",
15-
"marked": "^17.0.4",
16-
"shiki": "^4.0.2",
17-
"vue": "^3.4.0"
18-
},
19-
"devDependencies": {
20-
"@types/node": "^20.10.0",
21-
"@vitejs/plugin-vue": "^5.0.0",
22-
"autoprefixer": "^10.4.0",
23-
"postcss": "^8.4.0",
24-
"tailwindcss": "^3.4.0",
25-
"typescript": "~5.3.0",
26-
"vite": "^5.0.0",
27-
"vue-tsc": "^2.0.0"
28-
}
2+
"name": "@nyar/python-homepage",
3+
"version": "0.1.0",
4+
"description": "RBQ Engine Homepage and Documentation",
5+
"private": true,
6+
"type": "module",
7+
"scripts": {
8+
"dev": "vite",
9+
"build": "vue-tsc -b && vite build",
10+
"preview": "vite preview"
11+
},
12+
"dependencies": {
13+
"@element-plus/icons-vue": "^2.3.1",
14+
"element-plus": "^2.5.0",
15+
"marked": "^17.0.4",
16+
"shiki": "^4.0.2",
17+
"vue": "^3.4.0"
18+
},
19+
"devDependencies": {
20+
"@types/node": "^20.10.0",
21+
"@vitejs/plugin-vue": "^5.0.0",
22+
"autoprefixer": "^10.4.0",
23+
"postcss": "^8.4.0",
24+
"tailwindcss": "^3.4.0",
25+
"typescript": "~5.3.0",
26+
"vite": "^5.0.0",
27+
"vue-tsc": "^2.0.0"
28+
}
2929
}
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export default {
2-
plugins: {
3-
tailwindcss: {},
4-
autoprefixer: {},
5-
},
6-
}
2+
plugins: {
3+
tailwindcss: {},
4+
autoprefixer: {},
5+
},
6+
};

frontends/homepage/src/App.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -446,8 +446,8 @@
446446
</template>
447447

448448
<script setup lang="ts">
449-
import { ref } from 'vue'
450-
import PythonPlayground from '@/components/PythonPlayground.vue'
449+
import { ref } from "vue";
450+
import PythonPlayground from "@/components/PythonPlayground.vue";
451451
452-
const currentSection = ref<'home' | 'download' | 'playground'>('home')
452+
const currentSection = ref<"home" | "download" | "playground">("home");
453453
</script>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { default as PythonPlayground } from './PythonPlayground.vue'
1+
export { default as PythonPlayground } from "./PythonPlayground.vue";

frontends/homepage/src/main.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
import { createApp } from 'vue'
2-
import ElementPlus from 'element-plus'
3-
import 'element-plus/dist/index.css'
4-
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
5-
import App from './App.vue'
6-
import './style.css'
1+
import { createApp } from "vue";
2+
import ElementPlus from "element-plus";
3+
import "element-plus/dist/index.css";
4+
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
5+
import App from "./App.vue";
6+
import "./style.css";
77

8-
const app = createApp(App)
8+
const app = createApp(App);
99

10-
app.use(ElementPlus)
10+
app.use(ElementPlus);
1111

1212
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
13-
app.component(key, component)
13+
app.component(key, component);
1414
}
1515

16-
app.mount('#app')
16+
app.mount("#app");

frontends/homepage/src/style.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@
33
@tailwind utilities;
44

55
* {
6-
margin: 0;
7-
padding: 0;
8-
box-sizing: border-box;
6+
margin: 0;
7+
padding: 0;
8+
box-sizing: border-box;
99
}
1010

1111
body {
12-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
12+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
13+
sans-serif;
1314
}
1415

1516
#app {
16-
width: 100%;
17-
min-height: 100vh;
17+
width: 100%;
18+
min-height: 100vh;
1819
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export * from './docs'
1+
export * from "./docs";
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
console.log('Testing glob patterns...')
1+
console.log("Testing glob patterns...");
22

3-
const test1 = import.meta.glob('../../../documentation/zh-hans/**/*.md', {
4-
query: '?raw',
5-
import: 'default',
6-
eager: true
7-
})
3+
const test1 = import.meta.glob("../../../documentation/zh-hans/**/*.md", {
4+
query: "?raw",
5+
import: "default",
6+
eager: true,
7+
});
88

9-
console.log('Test 1 keys:', Object.keys(test1))
9+
console.log("Test 1 keys:", Object.keys(test1));
1010

11-
const test2 = import.meta.glob('../**/*.md', {
12-
query: '?raw',
13-
import: 'default',
14-
eager: true
15-
})
11+
const test2 = import.meta.glob("../**/*.md", {
12+
query: "?raw",
13+
import: "default",
14+
eager: true,
15+
});
1616

17-
console.log('Test 2 keys:', Object.keys(test2))
17+
console.log("Test 2 keys:", Object.keys(test2));

0 commit comments

Comments
 (0)