archetypes | ||
config/_default | ||
content | ||
resources/_gen/assets/scss | ||
static | ||
themes/zdoc | ||
.gitmodules | ||
.hugo_build.lock | ||
deploy.fish | ||
README.md |
ForensicCat Doc Website
This repository contains source code of forensics.xidian.edu.cn/cat
.
For new maintainers
Clone this repository and create or update some articles under content/
, then run ./deploy.fish
, building and publishing works will be automatically executed.
If you want to control this process manually, here is the principle of automatical deploying:
The deploy script built the website in the first, then force pushed the build results to https://forensics.xidian.edu.cn/git/XDSEC/ForensicCatDocsPublic. Here is a git hook function in the git server, it executes deploying action after you pushed. then you can safely delete the dist
folder and then commit and push the source code to this repository.
For visitors
If you just want to build a offline ForensicCat support website, run hugo server
in this repository.
We may build a chm
for you in the future.