Sources of the Eclipse Sirius website at https://eclipse.dev/sirius.
This repository contains the Jekyll templates used to generate the actual content of the Eclipse Sirius website.
The result of the Jekyll build (inside the sirius
folder) should be pushed to the master
branch of https://github.com/eclipse-sirius/sirius-website where they will be picked up by the Eclipse Foundation's tools and deployed at https://eclipse.dev/sirius.
To build the website locally:
-
Make sure you have Ruby and Bundler installed (tested with Ruby 3.2.2 and Bundler 2.4.10).
-
Use Bundler to install the required dependencies (needed only the first time or when dependencies are changed):
bundle install
-
Build the website:
bundle exec jekyll build
The result is available inside the _site/sirius
directory.
To facilitate tracking the changes, the result of the build is commited into git.
- Get a clone of https://github.com/eclipse-sirius/sirius-website, which corresponds to the content that will actually be deployed and made visible at https://eclipse.dev/sirius.
- Replace the contents of the
main
branch from that clone with the result of the build obtained in_site/sirius
(see above). Note that the Jekyll templates here produce the result inside asirius
directory. Only the contents inside that directory should be commited intoeclipse-sirius/sirius-website
. - Commit and push.
Wait a few minutes, and the new content will soon be available at https://eclipse.dev/sirius.