feat: i18n support

This commit is contained in:
BarbarossaWang 2022-09-13 22:32:37 +08:00
parent b878dace1d
commit 40e3229a1a
3 changed files with 25 additions and 0 deletions

11
docs/index.en.md Normal file
View file

@ -0,0 +1,11 @@
# Self Learning Computer Science Roadmap
I'm an undergraduate student majored in Computer Science in Peking University. Tired of the boring courses, I began self-learning totally after my fresh year. This repository contains all the resources I used to self-learning. The links below will take you either to another repository which contains my solution for homework and course projects or to the course website where you can get full guidance.
If you feel quite painful to take the courses at unversity. Trust me, there is high possibility that it's not your duty. Computer Science is so interesting and everyone should enjoy it if you have a good teacher to teach you a good course.
All the courses in this repository are developed in MIT, UC Berkeleys, Princeton, Harvard ...... , and I guarantee you will have a completely different experience to take these courses !
Let's self-learning together and get better together !
If you find this repo helpful for you, your star2 is the best gift for me ~

View file

@ -63,6 +63,19 @@ markdown_extensions:
- md_in_html - md_in_html
plugins: plugins:
- i18n:
default_language: zh
material_alternate: true
languages:
zh:
name: 简体中文
build: true
en:
name: English
build: true
nav_translations:
en:
前言: Introduction
- search: - search:
lang: ja lang: ja
- git-revision-date-localized - git-revision-date-localized

View file

@ -2,3 +2,4 @@ mkdocs-material==7.3.6
mkdocs-minify-plugin >= 0.4.0 mkdocs-minify-plugin >= 0.4.0
mkdocs-git-revision-date-localized-plugin >= 0.9.3 mkdocs-git-revision-date-localized-plugin >= 0.9.3
jinja2==3.0.0 jinja2==3.0.0
mkdocs-static-i18n==0.46