Has the content of docs.pikapods.com. Feel free to open a pull request if you notice any mistake or would like to add something.
No local Ruby installation needed. Requires Docker or Podman. All dependencies are pre-installed in the Docker image.
Traditional setup requiring local Ruby environment.
- Install dependencies:
gem install --user-install jekyll bundler bundler install
-
Development server (with live reload):
docker-compose up develop
Site available at http://localhost:4000 with automatic rebuilds on file changes.
-
Build static site:
docker-compose run build
Generates production files in
_site/folder.
- Development server:
bundle exec jekyll serve
Embed tutorial videos muted with a normal video tag:
<video controls loop muted preload="none" src="1-search-photos.mp4" poster="1-search-photos.webp"></video>To create the preview poster (webp format), use ffmpeg:
ffmpeg -i 1-search-photos.mp4 -ss 00:00:00.001 -vframes 1 1-search-photos.webpThis theme uses the Jekyll SEO Plugin. See their docs for supported fields.
docker-compose run --rm develop bundle updatebundle update