This repository contains the assets for building the Caikit documentation website. We welcome contributions from the community to improve and expand our documentation.
The Caikit website is built with the Just the Docs Jekyll theme.
- Jekyll
- Bundler
- A clone of the Caikit website repository on your local machine
- From the command line, change your working directory to the root directory of the
website
repository:cd <path>/<to>/website
. - Run
bundle install
. - Run
bundle exec jekyll serve
to build the website. - Preview the site in a browser at
localhost:4000
.
NOTE You can run the site inside a docker container, but need to pass --host 0.0.0.0
to jekyll serve
to allow the site to be loaded via an exposed port in the container
docker run --rm -it -p 4000:4000 \
-v $PWD:/src \
-w /src \
--entrypoint bash \
ruby \
-c "bundle install && bundle exec jekyll serve --host 0.0.0.0 --verbose"
First, check out our contributing guide to learn how to contribute to Caikit. The Caikit documentation follows the same general guidelines as the greater Caikit project.
To contribute to this repository, you'll use the Fork and Pull model common in many open source repositories. For details on this process, check out The GitHub Workflow Guide from Kubernetes.
- Fork this repository.
- Make any edits or contributions in your local copy of the repository. The doc files for the website are in the
website/docs
directory. - Create a pull request from your fork to the upstream repository.
After you create your pull request, a Caikit doc maintainer will review the change and, if necessary, provide actionable feedback in a timely fashion. Work with your reviewer to make any requested modifications to the pull request. Once the request is approved, a Caikit doc maintainer will merge it to add your contribution to the documentation.