Skip to content

c-ares/c-ares.github.io

Repository files navigation

c-ares website

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.

Building and testing locally

Dependencies:

Building:

  1. Git checkout https://github.com/c-ares/c-ares.github.io
  2. Inside of c-ares.github.io checkout, checkout the c-ares source code as c-ares.git.
  3. Build external files such as manpages via make
  4. Install Jekyll dependencies for site (bundle install)
  5. 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