Skip to content

Commit

Permalink
chore: clean 2023 version
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyCrane committed Jul 21, 2023
1 parent aea5968 commit 7e627e0
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy to personal server
name: deploy

on:
workflow_dispatch:
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# 图灵 2023 级学长组资料汇总网站

[![](https://github.com/ZJU-Turing/TuringDoneRight/actions/workflows/deploy.yml/badge.svg)](https://turing2023.tonycrane.cc/)

> **Warning** 正在建设中
## 本地构建
Expand All @@ -15,4 +17,8 @@

## 修改发布

不需要 build 之类的,修改好直接通过 git 更新到这个 repo 里,然后自动部署到服务器上
2023 年版通过 GitHub Action 自动构建并部署到 TonyCrane 的个人服务器上。

## 历年版本

- 2022 年:[`2022`](https://github.com/ZJU-Turing/TuringDoneRight/tree/2022) [turing2022.tonycrane.cc](https://turing2022.tonycrane.cc/)
6 changes: 5 additions & 1 deletion docs/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
--md-code-bg-color: #fafafa;
}

[data-md-color-scheme="slate"] {
[data-md-color-scheme="slate"][data-md-color-primary="indigo"] {
--md-default-bg-color: #161616;
--md-default-bg-color--light: #161616;
--md-default-bg-color--lighter: #161616;
Expand Down Expand Up @@ -215,4 +215,8 @@ input#mkdocs-content-password {
height: 100%;
left: 0;
top: 0;
}

.md-nav__title {
color: inherit;
}
4 changes: 1 addition & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ home: true

这里是你们的学长组( ̄▽ ̄),我们在这个网站上为你们整合了从入学到<del>入土</del>,从生活到学习的各种资料和资源,请查收!

一些内容还是很重要的(在下面目录中加粗了),其它的也建议大家都详细看一看(~~毕竟也是学长组成员们的血汗~~)。后续其它工作的指南也会在这个网站上陆续更新,届时也会在图灵群内提醒大家

虽然本网站是暴露在公网中的,但还是希望各位同学可以不要大肆外传(´▽`)
一些内容还是很重要的(在下面目录中加粗了),其它的也建议大家都详细看一看(~~毕竟也是学长组成员们的血汗~~)。后续其它工作的指南也会在这个网站上陆续更新,届时也会在图灵群内提醒大家。

## Table of Contents
### 新生入学向
Expand Down
8 changes: 7 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
site_name: 图灵 2023 学长组资料汇总
site_url: https://turing2023.tonycrane.cc/
site_description: 图灵 2023 学长组信息汇总
copyright: Copyright &copy; 2023 浙江大学图灵班学长组
repo_name: TuringDoneRight
repo_url: https://github.com/ZJU-Turing/TuringDoneRight/
edit_uri: tree/master/docs
copyright: Copyright &copy; 2022-2023 浙江大学图灵班学长组

theme:
name: 'material'
Expand Down Expand Up @@ -78,6 +81,9 @@ extra_javascript:

plugins:
- search
- heti:
extra_skipped_class:
- arithmatex
# - encryptcontent: # now just for one page, need to be improved
# title_prefix: ""
# summary: '这个页面被加密叻(・・;)'
Expand Down
2 changes: 1 addition & 1 deletion overrides/partials/toc.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{#-
This file was automatically generated - do not edit
-#}
{% set title = lang.t("toc.title") %}
{% set title = lang.t("toc") %}
{% if config.mdx_configs.toc and config.mdx_configs.toc.title %}
{% set title = config.mdx_configs.toc.title %}
{% endif %}
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
mkdocs==1.4.3
mkdocs-material==9.1.19
mkdocs-heti-plugin==0.1.5

0 comments on commit 7e627e0

Please sign in to comment.