# Generating the website ## Prerequisites You will need: 1. A recent version of doxygen; The currently used version is 1.9.8. The `doxygen` binary needs to be in the $PATH. 1. The `m4` command, which can be installed with `sudo apt install m4`. 1. A recent version of Jekyll (see https://jekyllrb.com/), which will generate the static html pages. The currently used jekyll version is 4.2.2. Also a recent version of bundler is required; this can be installed with: ``` gem install jekyll:4.2.2 gem install bundler:2.1.4 ``` 1. Checkout the repo to generate the website via `git clone git@github.com:peter-ha/qskinny-website.git` 1. Checkout the live website repository via `git clone git@github.com:qskinny/qskinny.github.io.git` ## Generating the website ### Generating the API documentation with doxygen ``` cd ~/dev/qskinny/doc export PATH=.:$PATH doxygen ``` This will generate the documentation into the `api` folder. ### Generating specific header and footer files for doxygen *This needs to be done only when the doxygen version changes.* ``` cd ~/dev/qskinny/doc doxygen -w html api/header.html api/footer.html ``` Now open `api/header.html` and copy the code block starting with the comment `` into the new header file. *Also*, change the `
` tag to load the WASM code at startup: ``` ``` ### Generating a doxygen layout page *This needs to be done only when the doxygen version changes.* ``` doxygen -l ``` Make sure that the tag labeled `