此仓库包含 Class'Code CyberClass 的教学资源。
📦CyberClass # ------------------------------------ Root directory
┣ 📂docs # --------------------------------------- Website sources
┃ ┣ 📂assets # ----------------------------------- General assets (logo, favicon, etc)
┃ ┣ 📂Partie1 # ---------------------------------- Folder for the first module
┃ ┃ ┣ 📜Activite1.en.md # ------------------------ page content file in english of activite 1
┃ ┃ ┣ 📜Activite1.md # --------------------------- page content file of activite 1
┃ ┃ ┣ 📜Activite2.en.md # ------------------------ page content file in english of activite 2
┃ ┃ ┣ 📜Activite2.md # --------------------------- page content file of activite 2
┃ ┃ ┣ 📜index.en.md # ---------------------------- page of introduction in english
┃ ┃ ┣ 📜index.md # ------------------------------- page of introduction (overridden by home.html)
┃ ┃ ┗ 📜.pages # --------------------------------- Navigation links config
┣ 📂overrides # ---------------------------------- Custom pages overrides
┃ ┣ 📜home.en.html # ----------------------------- Homepage override in english
┃ ┗ 📜home.html # -------------------------------- Homepage override
┣ 📜.gitignore # --------------------------------- Git ignored files
┣ 📜README.md # ---------------------------------- Main readme file (This file you're reading)
┗ 📜mkdocs.yml # --------------------------------- Website main config file
要在你的电脑上本地预览网站,你需要安装 python、mkdocs 和 git。
先决条件:
.pkg 以便安装)pip install mkdocs-material mkdocs-pdf-export-plugin mkdocs-jupyter mkdocs-macros-plugin mkdocs-awesome-pages-plugin
在终端中:
git clone https://class-code.gitlab.io/CyberClass/cd CyberClassmkdocs serve几秒后,网站应该可以通过 http://localhost:8000 访问。