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
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
pip install mkdocs-material
Entry the directory szu-fries-docs
cd szu-fries-docs
Run
mkdocs build
Then, directory named site
is produced.
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
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
Put the dir site
on your web-server dir (e.g., /var/www/html/ )
Telegram Group
https://t.me/joinchat/gHAcZzVxpMs0ZGYx