diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9203daa..333695f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -# This is a basic workflow to help you get started with Actions +# This is a basic workflow to help you get started with Actions name: CI diff --git a/mkdocs.yml b/mkdocs.yml index 3dddbc2..afb5e33 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -1,13 +1,18 @@ site_name: 名校公开课程评价网 + theme: name: material + custom_dir: overrides + repo_url: https://github.com/conanhujinming/comments-for-awesome-courses/ + markdown_extensions: - def_list - pymdownx.tasklist: custom_checkbox: true + plugins: - search: lang: - en - - ja + - ja \ No newline at end of file diff --git a/overrides/main.html b/overrides/main.html new file mode 100644 index 0000000..d566041 --- /dev/null +++ b/overrides/main.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} + +{% block disqus %} + +{% endblock %} \ No newline at end of file diff --git a/update.py b/update.py index 45fe291..98b1fe3 100755 --- a/update.py +++ b/update.py @@ -4,7 +4,7 @@ import os from urllib.parse import quote -EXCLUDE_DIRS = ['.git', 'docs', '.vscode', '.circleci', 'site'] +EXCLUDE_DIRS = ['.git', 'docs', '.vscode', '.circleci', 'site', 'overrides', '.github'] README_MD = ['README.md', 'readme.md', 'index.md'] TXT_EXTS = ['md', 'txt']