diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..23ab927
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,38 @@
+name: build
+on:
+ push:
+ branches: [ master ]
+ pull_request:
+ branches: [ master ]
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-python@v1
+ with:
+ python-version: 3.10.14
+ - name: install python modules
+ run: pip install flake8 markdown pypinyin
+ - name: format code
+ run: flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
+ - name: generate information
+ run: |
+ python3 utils/genReadme.py
+ python3 utils/genIndex.py
+ - name: git config
+ run: |
+ git config --global user.name "mbinary"
+ git config --global user.email "zhuheqin1@gmail.com"
+ - name: generate pages and push to gh-pages branch
+ env:
+ ACCESS_TOKEN: ${{secrets.ACCESS_TOKEN}}
+ run: |
+ cd docs
+ git init
+ git remote add origin git@github.com:USTC-Resource/USTC-Course.git
+ git add --all
+ export TZ='Asia/Shanghai'
+ git commit -m "Update webpages at `date +%Y-%m-%d,%H:%m` UTC+8"
+ git push -f "https://${ACCESS_TOKEN}@github.com/USTC-Resource/USTC-Course" master:gh-pages
+
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index ebcd54a..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-language: python
-python: "3.6"
-
-branches:
- only:
- - master
-
-env:
- # Github Pages
- - GH_REF: github.com/USTC-Resource/USTC-Course
-
-install:
- - pip install --upgrade pip
- - pip install flake8 markdown pypinyin
-
-script:
- - flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics
- - python utils/genReadme.py
- - python utils/genIndex.py
-
-after_script:
- # Build Master Repository(Coding Pages)
- - git config user.name "mbinary"
- - git config user.email "zhuheqin1@gmail.com"
- - cd docs
- - git init
- - git remote add origin git@github.com:USTC-Resource/USTC-Course.git
- - git add --all
- - git commit -m "Travis-CI Update pages with build $TRAVIS_BUILD_NUMBER"
- - git push -f "https://${GH_TOKEN}@${GH_REF}" master:gh-pages
-
-notifications:
- email:
- recipients:
- - zhuheqin1@gmail.com
- on_success: change # default: change
- on_failure: always # default: always
diff --git a/README.md b/README.md
index d16d903..be3d3e3 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
[](https://github.com/USTC-Resource/USTC-Course/stargazers)
[](https://github.com/USTC-Resource/USTC-Course/network/members)
-[](https://travis-ci.org/USTC-Resource/USTC-Course?branch=master)
+[]()
[]()
[](http://creativecommons.org/licenses/by-nc-sa/4.0/)
@@ -29,7 +29,7 @@
# 反馈方式
- [issue](https://github.com/USTC-Resource/USTC-Course/issues/new)
-- email
+- email
# 资料下载
[戳我(●'◡'●)](https://ustc-resource.github.io/USTC-Course)
@@ -56,7 +56,7 @@
## HTTPS
-- [github 网页](#课程目录)
+- [GitHub 网页](#课程目录)
- [DownGit](http://downgit.zhoudaxiaa.com/#/home)
- [gitzip-chrome-extension](https://chrome.google.com/webstore/detail/gitzip-for-github/ffabmkklhbepgcgfonabamgnfafbdlkn)
@@ -79,7 +79,7 @@ course
└ README.md
```
# 课程关系
-
+
更多信息可以下载[官网的培养方案](https://www.teach.ustc.edu.cn/education/241.html/attachment/14-215%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%AD%A6%E9%99%A2-2013)
@@ -91,43 +91,32 @@ course
* [操作系统原理与设计](./操作系统原理与设计)
* [c程序设计](./c程序设计)
* [代数结构](./代数结构)
+ * [概率论与数理统计](./概率论与数理统计)
* [光学与原子物理](./光学与原子物理)
- * [images](./images)
+ * [Java软件开发基础](./Java软件开发基础)
+ * [计算方法](./计算方法)
* [计算机图像学](./计算机图像学)
* [计算机网络](./计算机网络)
* [计算机系统详解](./计算机系统详解)
- * [计算机与信息类](./计算机与信息类)
* [计算机组成原理](./计算机组成原理)
+ * [马克思主义基本原理概论](./马克思主义基本原理概论)
* [模拟与数字电路](./模拟与数字电路)
* [数据结构](./数据结构)
* [数理方程](./数理方程)
* [数理逻辑](./数理逻辑)
* [算法基础](./算法基础)
* [随机过程](./随机过程)
- * [utils](./utils)
* [Web-信息处理与应用](./Web-信息处理与应用)
* [微机原理与系统](./微机原理与系统)
+ * [自然语言处理](./自然语言处理)
# 贡献投稿
-## [GitHub Commit](https://github.com/USTC-Resource/USTC-Course/graphs/contributors)
-[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/0)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/1)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/2)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/3)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/4)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/5)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/6)[](https://sourcerer.io/fame/mbinary/USTC-Resource/USTC-Course/links/7)
-
-## 内容创作者
-- mbinary
-- Lyncien
-- kingzevin
-- ksqsf
-- cclauss
-- 吴颖文
-- 童世炜
-- 熊家靖
-
-如果遗漏了你的名字,可自行 PR 或者联系贡献者。
-
-欢迎大家的参与与贡献^_^
-* 仅接受学生原创的或者获得授权的资源
-* github 上不能直接上传大于 100mb 的文件。对于超过 100 mb 的文件,可以存在网盘,然后在 README 文件中贴上链接
-* 文件内容的改动会使 git 重新上传, 在没有必要的情况下, 不要对二进制文件做任何更改.
+
+>感谢您的贡献 :smiley:
+
+- 仅接受学生原创的或者获得授权的资源
+- GitHub 上不能直接上传大于 100Mb 的文件。对于超过 100 Mb 的文件,可以存在网盘,然后在 README.md 中贴上链接
+- 文件内容的改动会使 git 重新上传, 在没有必要的情况下, 不要对二进制文件做任何更改.