SmallRye.io Website Based on Jekyll
These instructions will get you a copy of the SmallRye.io website up and running on your local machine for development and testing purposes.
Install a full Ruby development environment
gem install jekyll bundler
Fork the project repository, then clone your fork.
git clone firstname.lastname@example.org:YOUR_USER_NAME/smallrye.github.io.git
Change into the project directory:
Use bundler to fetch all required gems in their respective versions
Build the site and make it available on a local server
bundle exec jekyll serve
Now browse to http://localhost:4000
For more regarding the use of Jekyll, please refer to the Jekyll Step by Step Tutorial.
Building the documentation
Documentation of SmallRye projects is built separately, because it's not using Jekyll. Instead, it's using Antora.
Install Antora. See Antora installation.
Go to the
docsdirectory and run
antora generate antora-playbook.yml --fetch
Now you should have the html files for SmallRye documentation in the
docs/build/sitedirectory. Make sure you're viewing these files directly rather than through Jekyll - explanation is in the following paragraph.
There is a caveat in using Antora together with GitHub Pages, because GitHub Pages runs all files in the repository through Jekyll, which breaks Antora's directory structure. To prevent this, before committing the documentation site to a GitHub Pages repository, create an empty file named
.nojekyll in the root of the repository. See Antora documentation for more information.
Please refer to our Wiki for the Contribution Guidelines.
This website is licensed under the Creative Commons Attribution 3.0.