This repository creates a static HTML site for Whonix packages in the repository whonix-packages-static. It uses markdown data generated by package_parser to create the site.
It is based on the Jekyll theme just-the-docs
- Install a working version of ruby 3
- Install bundler by running
gem install bundler
bundle install
- Copy the
./docs
folder frompackage_parser
in to the./docs
folder within this repository - Run
bundle exec jekyll build
- Move the
_site
folder to your desired location to view the static site
In the github settings for this repository, an environment variable ACCESS_TOKEN
must be set for Github actions. This variable must correspond to a personal access token with read and write priviledges that can be created in your personal settings.
If you push any changes in ./docs
to main, it will automatically change the static site in the whonix-packages-static. The docs folder should only contain changes generated by the ./publish-site.sh
script in the package_parser repository.