Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Commit

Permalink
启用Github编辑、完善README、配置和内容修正
Browse files Browse the repository at this point in the history
  • Loading branch information
cdn0x12 committed Oct 1, 2021
1 parent bd213c1 commit 97956d0
Show file tree
Hide file tree
Showing 629 changed files with 4,038 additions and 1,931 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.temp
.cache
node_modules/
node_modules
yarn-error.log
101 changes: 100 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,100 @@
# README
<br />

<p align="center">
<a href="https://mao.codeword.info" target="blank">
<img src="contents-hope/.vuepress/public/logo_round.png" alt="Logo" width="156" height="156">
</a>
<h2 align="center" style="font-weight: 600">毛泽东诗词库</h2>

<p align="center">
Collection of Mao's Poetry
<br />
<a href="https://music.qier222.com" target="blank"><strong>🌎 点击访问</strong></a>&nbsp;&nbsp;
<br />
<br />
</p>

## 📜 使用许可

本项目仅供个人学习研究使用,禁止用于商业及非法用途。

若您要使用本项目的全部或部分内容来完成与“毛泽东思想与中国特色社会主义理论体系概论”的课程作业、任务、社会实践等计入课程成绩的工作,您需要:

- 通过项目日志页提供的联系方式或GitHub Issue向项目所有者发起申请并取得许可(您的用户名和项目名出现在本节末尾方代表您取得了使用许可)。
- 在申请中说明使用方式、使用范围及开源您项目中使用/引用本项目内容的所有文件。
- 在作业提交、展示汇报、总结答辩、开源发布、上线部署等环节注明采用了本项目,并给出本项目地址。

## ☑️ 项目进度 & TODO

查看项目进度和TODO,请访问[项目进度](./contents-hope/progress.md)

## ✍ 完善内容

- 访问[项目进度](https://mao.codeword.info/progress/)查看待完善内容。
- 我们使用Markdown编写内容,基于VuePress和VuePress-Theme-Hope构建网页。
- 若对格式有疑问,请参考[Markdown 介绍](https://vuepress-theme-hope.github.io/zh/basic/markdown/)和上述两个项目的项目文档([VuePress](https://v1.vuepress.vuejs.org/zh/guide/) | [vuepress-theme-hope](https://vuepress-theme-hope.github.io/zh/guide/))。
- 文档前面的fontmatter不涉及文库正文内容,编辑时不建议更改。

### 方式一

在您要编辑的页面底部点击“编辑此页”后按照指引编辑。需要fork本项目,做出修改并提交pull request。

### 方式二

1. fork本项目,随后clone您的fork。
2. 进入项目文件夹,在`contents-hope`文件夹编辑相关文件。

```
$work_directory/contents-hope
│ about.md #项目介绍
│ blog.md #项目日志页
│ log.md #开发日志
│ progress.md #项目进度
│ README.md #主页
│ reference.md #参考资料
├─.vuepress
│ │ config.js #配置
│ ├─public #网页素材目录
│ └─styles #外观配置
└─contents #内容
│ README.md #总目录
├─A #古体诗词
├─B #无据诗词、联句、残句
├─C #韵语
├─D #改诗
└─E #楹联
```

### 方式三

在要完善页面的评论区或[Discussions](https://github.com/CDN18/poetic-mao/discussions)提交您完善的内容。

## ⚙️功能开发

本项目基于[VuePress](https://v1.vuepress.vuejs.org/zh/guide/)[vuepress-theme-hope](https://vuepress-theme-hope.github.io/zh/guide/)构建。

### 目录结构

内容目录结构见[完善内容-方式二](#方式二),其余目录说明见相应目录的README。

### 我们希望为此项目增加如下内容

- Hitokoto API:随机显示某句毛泽东诗词
- 随机访问:随机跳转到其中一页
- 自定义主题,使之契合文库主题

### 在本地启动开发环境

1. 确保`Node.js``yarn v1.x `可用
2. `git clone https://github.com/CDN18/poetic-mao.git `
3. 进入`poetic-mao`目录
4. `yarn upgrade`
5. ` yarn run docs:dev`
6. 若要弹出主题:`yarn docs:eject-theme`

## 📚[参考内容](./contents-hope/reference.md)

## © 版权

如果您是文库内容的版权方,希望下架指定内容,请[邮件联系](mailto:[email protected])项目所有者。

6 changes: 4 additions & 2 deletions contents-hope/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ module.exports = config({
hostname: "http://mao.codeword.info",

author: "CDN",
//repo: "https://",
repo: "https://github.com/CDN18/poetic-mao",
repoLabel: "GitHub",
docsDir: "contents-hope",

feed: false,

Expand Down Expand Up @@ -288,7 +290,7 @@ module.exports = config({
name: "CDN",
intro: "/about/",
sidebarDisplay: "none",
timeline: "暂未启用时间线",
timeline: "时间线",
links: {
QQ: "2452272195",
Email: "[email protected]",
Expand Down
2 changes: 1 addition & 1 deletion contents-hope/.vuepress/styles/palette.styl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
$accentColor ?= "#f26d6d"
$accentColor = #ff5151
1 change: 1 addition & 0 deletions contents-hope/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ description: 项目介绍 & 项目目标 & 项目分工

- 通过项目日志页提供的联系方式或GitHub Issue向项目所有者发起申请并取得许可(您的用户名和项目名出现在本节末尾方代表您取得了使用许可)。
- 在申请中说明使用方式、使用范围及开源您项目中使用/引用本项目内容的所有文件。
- 在作业提交、展示汇报、总结答辩、开源发布、上线部署等环节注明采用了本项目,并给出本项目地址。

## 项目目标&主要工作

Expand Down
11 changes: 6 additions & 5 deletions contents-hope/progress.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description: 目前正在制作第1版

# 项目进度

+ 最后更新时间:2021年9月29日
+ 最后更新时间:2021年10月1日
+ TODO代表未来计划增加的内容/功能,不一定会真正部署

## 资料整理
Expand All @@ -23,10 +23,11 @@ description: 目前正在制作第1版

- [x] 确定实现方案
- [x] 框架构建&配置
- [ ] 本地部署
- [ ] 测试优化
- [ ] 代码审计和公开
- [ ] 正式部署
- [x] 本地部署
- [x] 测试优化
- [x] 代码审计和公开
- [x] 正式部署
- [ ] 提交sitemap

### PDF版

Expand Down
14 changes: 9 additions & 5 deletions dist/404.html

Large diffs are not rendered by default.

18 changes: 12 additions & 6 deletions dist/about/index.html

Large diffs are not rendered by default.

16 changes: 10 additions & 6 deletions dist/article/index.html

Large diffs are not rendered by default.

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions dist/assets/js/app.15116c2d.js

This file was deleted.

19 changes: 19 additions & 0 deletions dist/assets/js/app.af2749b4.js

Large diffs are not rendered by default.

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

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

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

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

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

1 change: 0 additions & 1 deletion dist/assets/js/page--082e946e.566b3526.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/js/page--082e946e.bb5fb999.js

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

1 change: 1 addition & 0 deletions dist/assets/js/page--08847369.1eb26cc7.js

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

1 change: 0 additions & 1 deletion dist/assets/js/page--08847369.6d080875.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/js/page--08c1f7c2.d0029e6f.js

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

1 change: 1 addition & 0 deletions dist/assets/js/page--0958972b.6df141bb.js

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

1 change: 0 additions & 1 deletion dist/assets/js/page--0958972b.90132472.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/js/page--0ba22fad.5015217e.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/js/page--0ba22fad.b6239842.js

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

1 change: 0 additions & 1 deletion dist/assets/js/page--0d5528c6.69089d8f.js

This file was deleted.

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

1 change: 1 addition & 0 deletions dist/assets/js/page--0d9a61ee.de366f1d.js

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

1 change: 0 additions & 1 deletion dist/assets/js/page--0d9a61ee.e107e56c.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/js/page--0e77f009.03054254.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/js/page--0e77f009.d9efcb4b.js

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

1 change: 1 addition & 0 deletions dist/assets/js/page--0f496269.4c614185.js

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

1 change: 0 additions & 1 deletion dist/assets/js/page--0f496269.b0718b0c.js

This file was deleted.

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

1 change: 1 addition & 0 deletions dist/assets/js/page--11e859ca.312c61ee.js

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

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

1 change: 0 additions & 1 deletion dist/assets/js/page--144ebea9.6d34d808.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/js/page--144ebea9.d0830df9.js

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

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

1 change: 0 additions & 1 deletion dist/assets/js/page--14631ff5.65784b69.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/assets/js/page--16acb877.6a618f51.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/assets/js/page--16acb877.82abc90d.js

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

1 change: 1 addition & 0 deletions dist/assets/js/page--1b13ada9.0263ee3b.js

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

1 change: 0 additions & 1 deletion dist/assets/js/page--1b13ada9.7193433a.js

This file was deleted.

Loading

0 comments on commit 97956d0

Please sign in to comment.