MISC
Local Build (not recommended, only for functional testing)
Intro
A repo that served as an archive site for the organization UMJI-SSTIA.
In order to contribute, you may:
If you have push access to this repo, simply clone this repo, edit the corresponding content, create a commit and push to the master branch. The Gitbook service will automatically fetch your commit and refresh building.
Otherwise, you may either:
log in as
ji-sstia
, orcreate pull request, or
send your patch to
ji_sstia@163.com
, orraise an issue in https://github.com/UMJI-SSTIA/ji-sstia-pages/issues and describe your changes
If you would like to add a new page, you may:
create a new markdown file in a suitable subdirectory
index the file in
SUMMARY.md
following existed examples
(Just see the arrangement of the files and you will understand.)
Gitbook Deployment
The content is deployed automatically on ji-sstia.gitbook.io/sstia. It fetches the master
branch of https://github.com/UMJI-SSTIA/ji-sstia-pages automatically.
Local Build
If you would like to test locally:
Environment Setup
install nodejs & npm
nvm
install gitbook
Workflow
gitbook initinitialize your local directoryno need since we've already got our contentsgit clone git@github.com:UMJI-SSTIA/ji-sstia-pages.git & cd ji-sstia-pages
gitbook serve
deploy locallyby default
localhost:4000
gitbook build
build static website pages into./_book
Last updated