GitBook
The Git Book page: https://showmeyourcodeyoutube.gitlab.io/gitbook-demo/
Version: 0.0.1 Build: 8/10/2024, 5:42:05 AM
General remarks:
- Proposed convention: If there is only one file inside a directory, use
content.md, otherwise useintro.md. - Before adding a picture, compress it -
https://tinypng.com/. - Before adding a PDF, compress it -
https://tinywow.com/pdf/compress. - Add files with lowercase extension e.g. png instead of PNG.
- Allowed image extensions: png, jpg.
- Keep the repository size as small as possible to speed up searching.
GitLab CI
This project's static Pages are built by GitLab CI, following the steps
defined in .gitlab-ci.yml.
Building locally
To work locally with this project, you'll have to follow the steps below:
- Fork, clone or download this project
- Install GitBook
npm install gitbook-cli@2.3.2 -g - Fetch GitBook's latest stable version
gitbook fetch latest - Preview your project:
gitbook serve - Add content
- Generate the website:
gitbook build(optional) - Push your changes to the master branch:
git push - Do not change any
*-REPLACEvariables as they are automatically replaced when running the build on Gitlab.