Mohamed Elashri

ROOT CERN Colab Page

I maintain a pre-built ROOT CERN that works with Google Colab. This has been the case for years now, I get an email every couple of months from someone who has a problem with it. So earlier this year I decided to automate the build process through GitHub Actions and then hosted a web page that gives the latest versions with some documentation on how to use it. But it was generated manually, so I had to update it every time I made a change to the repository.

Yesterday I decided to automate the generation of the web page as well. So now, every time I push a change to the repository, the web page is automatically updated with the latest versions of ROOT CERN and the documentation is now dynamically generated based on the user choice from available versions. This means that the page will always be up-to-date with the latest versions of ROOT CERN and the documentation will always be accurate.

I host the page on GitHub Pages, so you can access it at https://melashri.net/ROOT/. The page is using plain HTML/JS and CSS, so it should work on any browser. The page is also responsive, so it should look good on any screen size.

The source code for the page generation is available on the same repository but in pages branch. You can check it out and see how it works. The page is generated using a simple script --running through a GitHub Action-- that reads the available versions from the repository and generates the HTML/JS/CSS files based on that.