This commit is contained in:
belugaQAQ 2025-10-29 22:34:52 +08:00
parent 5720ed2999
commit 62df254e4b
17 changed files with 7233 additions and 46 deletions

View File

@ -2,12 +2,12 @@
import { defineCollection, defineCollections } from 'vuepress-theme-plume' import { defineCollection, defineCollections } from 'vuepress-theme-plume'
const Guide = defineCollection({ const Docs = defineCollection({
type: 'doc', type: 'doc',
dir: 'guide', dir: 'docs',
linkPrefix: '/guide', linkPrefix: '/docs',
title: '指南', title: '文档',
sidebar: 'auto' sidebar: [ 'index', { text: '指南', prefix: '/docs/guide/', items: ['', 'subject', 'tag', 'use', 'title', 'color']},{ text: '帮助我们', prefix: '/docs/help/', items: ['issues','help-github'] } ],
}); });
const Faq = defineCollection({ const Faq = defineCollection({
@ -17,14 +17,14 @@ const Faq = defineCollection({
link: '/faq/', link: '/faq/',
// linkPrefix: '/article/', // 相关文章的链接前缀 // linkPrefix: '/article/', // 相关文章的链接前缀
// postList: true, // 是否启用文章列表页 // postList: true, // 是否启用文章列表页
// tags: true, // 是否启用标签页 tags: false, // 是否启用标签页
archives: false, // 是否启用归档页 archives: false, // 是否启用归档页
// categories: true, // 是否启用分类页 categories: false, // 是否启用分类页
// postCover: 'right', // 文章封面位置 // postCover: 'right', // 文章封面位置
// pagination: 15, // 每页显示文章数量 // pagination: 15, // 每页显示文章数量
}) })
export default defineCollections([ export default defineCollections([
Guide, Docs,
Faq Faq
]) ])

View File

@ -9,7 +9,7 @@ export default defineUserConfig({
description: '', description: '',
head: [ head: [
['link', { rel: 'icon', type: 'image/png', href: '/logo.png' }], ['link', { rel: 'icon', type: 'image/png', href: '/icon.png' }],
], ],
bundler: viteBundler(), bundler: viteBundler(),
@ -20,7 +20,7 @@ export default defineUserConfig({
// hostname: 'https://your_site_url', // hostname: 'https://your_site_url',
/* 文档仓库配置,用于 editLink */ /* 文档仓库配置,用于 editLink */
docsRepo: 'https://github.com/belugaQAQ/Sh2Newweb', docsRepo: 'https://github.com/sh2-web/Sh2Newweb',
docsDir: 'docs', docsDir: 'docs',
docsBranch: 'main', docsBranch: 'main',

View File

@ -8,10 +8,11 @@ import { defineNavbarConfig } from 'vuepress-theme-plume'
export default defineNavbarConfig([ export default defineNavbarConfig([
{ {
text: '指南', text: '文档',
icon: 'mi:book', icon: 'mi:book',
items: [ items: [
{ text: '欢迎', icon: 'ion:hardware-chip-outline', link: '/guide/' }, { text: '指南', icon: 'line-md:compass-twotone', link: '/docs/guide/' },
{ text: '帮助我们', icon: 'ion:help-circle-outline', link: '/docs/help/issues' },
], ],
}, },
{ {

View File

@ -32,7 +32,6 @@ export default defineThemeConfig({
// createTime: true, // 是否显示文章创建时间 // createTime: true, // 是否显示文章创建时间
footer: { footer: {
message: '由 <a target="_blank" href="https://v2.vuepress.vuejs.org/">VuePress</a> & <a target="_blank" href="https://theme-plume.vuejs.press">vuepress-theme-plume</a> 搭建',
copyright: 'MIT 许可协议 | Copyright © 2025 StickyHomeworks', copyright: 'MIT 许可协议 | Copyright © 2025 StickyHomeworks',
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@ -1,6 +1,7 @@
--- ---
title: color title: 外观设置
createTime: 2025/10/27 23:28:52 icon: ic:twotone-color-lens
createTime: 2025/10/26 23:24:40
--- ---
## 基本 ## 基本

View File

@ -1,5 +1,6 @@
--- ---
title: 欢迎 title: 欢迎
icon: ic:twotone-waving-hand
createTime: 2025/10/27 23:28:52 createTime: 2025/10/27 23:28:52
--- ---
### 欢迎来到StickyHomework2文档页面 ### 欢迎来到StickyHomework2文档页面

View File

@ -1,6 +1,8 @@
--- ---
title: subject title: 科目
createTime: 2025/10/27 23:28:52 icon: ic:twotone-bookmark
date: 2025-08-30T00:00:00.000Z
createTime: 2025/10/26 23:24:40
--- ---
::: info 科目是使用Sh2的第一步它将用分类作业 ::: info 科目是使用Sh2的第一步它将用分类作业

View File

@ -1,6 +1,7 @@
--- ---
title: tag title: 标签
createTime: 2025/10/27 23:28:52 icon: ic:twotone-discount
createTime: 2025/10/26 23:24:40
--- ---
### 添加标签 ### 添加标签

View File

@ -1,6 +1,7 @@
--- ---
title: title title: 基本设置
createTime: 2025/10/27 23:28:52 icon: ic:twotone-video-label
createTime: 2025/10/26 23:24:40
--- ---
### 开机自启 ### 开机自启

View File

@ -1,6 +1,7 @@
--- ---
title: use title: 添加作业
createTime: 2025/10/27 23:28:52 icon: ic:twotone-feed
createTime: 2025/10/26 23:24:40
--- ---
## 添加作业 ## 添加作业

View File

@ -1,5 +1,6 @@
--- ---
title: help-github title: 通过代码帮助
icon: ic:round-code
createTime: 2025/10/27 23:29:03 createTime: 2025/10/27 23:29:03
--- ---
## 如果你有WPF能力的话 ## 如果你有WPF能力的话

View File

@ -1,5 +1,6 @@
--- ---
title: issues title: 提交issues
icon: ic:twotone-bug-report
createTime: 2025/10/27 23:29:03 createTime: 2025/10/27 23:29:03
--- ---
## 如果你在使用过程中发现了一些Bug ## 如果你在使用过程中发现了一些Bug

20
docs/docs/index.md Normal file
View File

@ -0,0 +1,20 @@
---
title: 欢迎
icon: ic:twotone-waving-hand
createTime: 2025/10/27 23:28:52
---
### 欢迎来到StickyHomework2文档页面
::: important
一定要先看文档再向群内人员提问!!!
在接下来的文档中我将会使用Sh2来称呼StickyHomework2
:::
你可以在这里找到StickyHomework2的使用教程
图片看不清可以点击放大
请在侧边栏里寻找您需要的内容吧!
> 当然,你也可以在下面插眼()

5
docs/faq/net8.md Normal file
View File

@ -0,0 +1,5 @@
---
title: 打开软件显示需要.net8
icon: ic:round-code
createTime: 2025/10/27 23:29:03
---

View File

@ -7,33 +7,17 @@ config:
name: StickyHomeworks2 name: StickyHomeworks2
text: 你的下一款作业贴软件 text: 你的下一款作业贴软件
tagline: 专为电教委与老师设计的桌面端富文本作业管理工具<br>让作业记录更清晰·学习更有条理 tagline: 专为电教委与老师设计的桌面端富文本作业管理工具<br>让作业记录更清晰·学习更有条理
image: /logo.png image: /icon.png
actions: actions:
- theme: brand - theme: brand
text: 开始阅读 text: 阅读文档
icon: lucide:list-start icon: lucide:list-start
link: /guide/ link: /docs/
- theme: alt - theme: alt
text: Github text: Github
icon: fa-brands:github icon: fa-brands:github
link: https://github.com/zji573432-cpu/StickyHomeworks2 link: https://github.com/zji573432-cpu/StickyHomeworks2
- type: image-text
title: 丰富全面的功能
image: /preview.png
width: 590px
list:
- title: 📝​富文本编辑​
description: 像写Markdown一样记录作业详情美观优雅
- title: 📚​科目分组
description: 按学科整理作业,井井有条不混乱
- title: 🏷️​智能标签
description: 为作业添加标签,精准筛选,快速定位
- title: 🗂️​自动清理
description: 过期作业自动提醒或清理,界面更清爽
- title: 🖼️​导出截图
description: 一键导出作业内容为图片,分享或打印超方便
- title: 🔍全局缩放
description: 界面大小随心调,看清每一个细节
- type: features - type: features
features: features:
- title: 开机自启 - title: 开机自启
@ -83,6 +67,25 @@ config:
- title: 更新 - title: 更新
icon: icon-park-twotone:update-rotation icon: icon-park-twotone:update-rotation
details: 有了更新妈妈再也不怕我的Github上不去了 details: 有了更新妈妈再也不怕我的Github上不去了
- type: image-text
title: 丰富全面的功能
image: /preview.png
width: 590px
list:
- title: 📝​富文本编辑​
description: 像写Markdown一样记录作业详情美观优雅
- title: 📚​科目分组
description: 按学科整理作业,井井有条不混乱
- title: 🏷️​智能标签
description: 为作业添加标签,精准筛选,快速定位
- title: 🗂️​自动清理
description: 过期作业自动提醒或清理,界面更清爽
- title: 🖼️​导出截图
description: 一键导出作业内容为图片,分享或打印超方便
- title: 🔍全局缩放
description: 界面大小随心调,看清每一个细节
- type: text-image - type: text-image
title: “独一无二” 的自定义功能 title: “独一无二” 的自定义功能
image: /preview.png image: /preview.png
@ -96,4 +99,69 @@ config:
description: 既不遮挡信息,又能凸显你的壁纸 description: 既不遮挡信息,又能凸显你的壁纸
- title: 更多 - title: 更多
description: 仍有更多的设置等着你去发现 description: 仍有更多的设置等着你去发现
-
type: custom
--- ---
<h1 align="center">关于</h1>
<br/>
<CardGrid>
<LinkCard title="原开发者" href="https://github.com/HelloWRC">
<div class="grid-container">
<img
src="https://tc.z.wiki/autoupload/f/FxstySYErTfw4f01iNJcONiO_OyvX7mIgxFBfDMDErs/20251028/q3P2/460X460/HelloWRC.png"
alt="WRC"
width="80"
/>
<div class="text-content">
<p align="left">HelloWRC</p>
<p><del>软件作者,写代码巨水</del>(划掉)</p>
</div>
</div>
</LinkCard>
<style scoped>
.grid-container {
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
gap: 5px;
}
.text-content {
text-align: right;
justify-self: end;
}
</style>
<LinkCard title="现开发者" href="https://github.com/jizilin6732">
<div class="grid-container">
<img
src="https://tc.z.wiki/autoupload/f/FxstySYErTfw4f01iNJcONiO_OyvX7mIgxFBfDMDErs/20251028/Whpi/460X460/image.png"
alt="Jinzilin"
width="80"
/>
<div class="text-content">
<p align="left">Jizilin6732</p>
<p><del>软件现作者,写也代码巨水</del>(划掉)</p>
</div>
</div>
</LinkCard>
<LinkCard title="贡献者" href="https://github.com/belugaQAQ">
<div class="grid-container">
<img
src="https://tc.z.wiki/autoupload/f/FxstySYErTfw4f01iNJcONiO_OyvX7mIgxFBfDMDErs/20251028/F1Go/460X460/%E5%9C%86%E8%A7%92-classisband.jpeg"
alt="ClassIsband"
width="80"
/>
<div class="text-content">
<p align="left">ClassIsband</p>
<p><del>什么都会一点点但也只会一点点的万能贡献者</del>(划掉)</p>
</div>
</div>
</LinkCard>
<LinkCard title="QQ群" href="https://qm.qq.com/q/lpwoRoVay6">
<p>这个群组不是特别活跃<br/>平时讨论开发比较多,<del>但是可能有些抽象。</del><br/>喜欢闲聊的用户也可以加入这个群组。</p>
</LinkCard>
</CardGrid>

7085
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff