These instructions will get you a copy of the SmallRye.io website up and running on your local machine for development and testing purposes.
Jekyll static site generator docs.
-
Install a full Ruby development environment
-
Install Jekyll and bundler gems
gem install jekyll bundler
-
Fork the project repository, then clone your fork.
git clone [email protected]:YOUR_USER_NAME/smallrye.github.io.git
-
Change into the project directory:
cd smallrye.github.io
-
Use bundler to fetch all required gems in their respective versions
bundle install
-
Build the site and make it available on a local server
bundle exec jekyll serve
-
Now browse to http://localhost:4000
If you encounter any unexpected errors during the above, please refer to the troubleshooting page or the requirements page, as you might be missing development headers or other prerequisites.
For more regarding the use of Jekyll, please refer to the Jekyll Step by Step Tutorial.
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
docs
directory and runantora generate antora-playbook.yml --fetch
-
Now you should have the html files for SmallRye documentation in the
docs/build/site
directory. 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.