The c-ares website uses Jekyll as a templating system to generate static html content, which is then hosted on GitHub Pages.
Some content, such as the manpages, are generated externally by the Makefile
.
Manpages in particular depend on roffit
for conversion to HTML.
The c-ares source code is expected to exist in a directory named c-ares.git
to pull in manpage content along with some other files like LICENSE.md
and
SECURITY.md
.
Dependencies:
- Git
- Install Jekyll
- GNU Make
- Roffit, available via some package managers, such as Ubuntu.
Building:
- Git checkout https://github.com/c-ares/c-ares.github.io
- Inside of
c-ares.github.io
checkout, checkout the c-ares source code asc-ares.git
. - Build external files such as manpages via
make
- Install Jekyll dependencies for site (
bundle install
) - Build and self-host test site (
bundle exec jekyll serve -V
)
Example:
git clone https://github.com/c-ares/c-ares.github.io
cd c-ares.github.io
git clone --depth=1 https://github.com/c-ares/c-ares c-ares.git
make
bundle install
bundle exec jekyll serve -V