Skip to content

Unofficial documents for szu students. You can regard it as a manual in shenzhen university. 这是一份为 szuer 而写的非官方文档,本着对后来者有所帮助的想法,对一些信息进行收集和整理。

License

Notifications You must be signed in to change notification settings

team0ne1/szu-fries-docs

Repository files navigation

SZU Fries Docs

Unofficial documents for szu students. You can regard it as a manual in shenzhen university.

Site: szulib.top

Telegram group https://t.me/joinchat/gHAcZzVxpMs0ZGYx

lang: zh

Install

Use docker to deploy instantly

docker run --rm  -d -p 80:80 --name fries-docs team0ne1/szu-fries-docs:latest

Docker Hub https://hub.docker.com/repository/docker/team0ne1/szu-fries-docs_pub

or

Clone this repo and build it by yourself

git clone https://github.com/team0ne1/szu-fries-docs.git

Usage

Build the site

with pip

pip install mkdocs-material

Entry the directory szu-fries-docs

cd szu-fries-docs

Run

mkdocs build

Then, directory named site is produced.

with docker

Run

docker run --rm -it -v ${PWD}:/docs squidfunk/mkdocs-material build

Mount the folder where your mkdocs.yml resides as a volume into /docs

with git

SZFries Docs built by mkdocs-material, so you need to install it.

Install mkdocs-material

git clone https://github.com/squidfunk/mkdocs-material.git
pip install -r mkdocs-material/requirements.txt

You can also see the guidence in https://squidfunk.github.io/mkdocs-material/getting-started/#with-git

Make sure to install mkdocs-material to same path as szu-fries-docs , or you should change the conf in fries-docs/mkdocs.yml

theme:
  ...
  custom_dir: ../mkdocs-material/material # change to the dir that mkdocs-material installed

Deploy the site

Put the dir site on your web-server dir (e.g., /var/www/html/ )

Feedback & Contribution

Telegram Group

https://t.me/joinchat/gHAcZzVxpMs0ZGYx

E-mail

[email protected]

License

MIT © Team One

About

Unofficial documents for szu students. You can regard it as a manual in shenzhen university. 这是一份为 szuer 而写的非官方文档,本着对后来者有所帮助的想法,对一些信息进行收集和整理。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published