Skip to content

Commit

Permalink
[FEATURE] English version support using mkdocs-static-i18n (#224)
Browse files Browse the repository at this point in the history
* feat: i18n support

* add nav translation

* add English template

* fix translations

* fix en site_name
  • Loading branch information
BarbarossaWang authored Sep 15, 2022
1 parent b878dac commit 03284e0
Show file tree
Hide file tree
Showing 5 changed files with 87 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/index.en.md
Original file line number Diff line number Diff line change
@@ -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 star is the best gift for me ~
17 changes: 17 additions & 0 deletions docs/编程入门/MIT-Missing-Semester.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# MIT: The Missing Semester of Your CS Education

## Descriptions

- Offered by: MIT
- Prerequisites: None
- Programming lanuages: Shell
- Difficulty: 🌟🌟
- Class Hour: 10 hours

Just as the course name indicated, this course will teach the missing things in the university courses. It will cover shell programming, git, vim editor, tmux, ssh, sed, awk and even how to beautify your terminal. Trust me, this will be your first step to become a hacker!

## Resources

- Homepage: <https://missing.csail.mit.edu/>
- Records: <https://www.youtube.com/playlist?list=PLyzOVJj3bHQuloKGG59rS43e29ro7I57J>
- Assignments: Some exercises behind each lecture.
39 changes: 39 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,45 @@ markdown_extensions:
- md_in_html

plugins:
- i18n:
default_language: zh
material_alternate: true
languages:
zh:
name: 简体中文
build: true
en:
name: English
build: true
site_name: CSDIY.wiki
nav_translations:
en:
前言: Foreword
一个仅供参考的CS学习规划: Guideline
必学工具: Productivity Toolkit
好书推荐: Book Recommendation
数学基础: Fundamental Mathematics
数学进阶: Advanced Mathematics
编程入门: Fundamental Programming
电子基础: Fundamental Electronics
数据结构与算法: Data Structures and Algorithms
软件工程: Software Engineering
体系结构: Computer Architecture
操作系统: Operating Systems
并行与分布式系统: Distributed Systems
计算机系统安全: Computer Security
计算机网络: Computer Networking
数据库系统: Database Systems
编译原理: Compilers
计算机图形学: Computer Graphics
Web开发: Web Development
数据科学: Data Science
人工智能: Artificial Intelligence
机器学习: Machine Learning
机器学习系统: Machine Learning Systems
深度学习: Deep Learning
机器学习进阶: Advanced Machine Learning
后记: Postscript
- search:
lang: ja
- git-revision-date-localized
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ mkdocs-material==7.3.6
mkdocs-minify-plugin >= 0.4.0
mkdocs-git-revision-date-localized-plugin >= 0.9.3
jinja2==3.0.0
mkdocs-static-i18n==0.46
19 changes: 19 additions & 0 deletions template.en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Course Code: Course Name

## Descriptions

- Offered by:
- Prerequisites:
- Programming lanuages:
- Difficulty:
- Class Hour:

<!-- Course Information -->

## Resources

- Homepage:
- Records:
- Textbooks & Notes & Slides:
- Assignments:
- ...

0 comments on commit 03284e0

Please sign in to comment.