man.cx is a web interface for man pages. It provides man pages from thousands of Debian packages for easy lookup without the need to install them.
This repo contains the PHP source code that powers the site.
See update.sh
for the involved steps. It's called from cron.
bin/fetch.php
downloads Debian packages todata/temp
and extracts their man pages todata/man
bin/process.php
creates HTML from the man pages and stores them indata/html
bin/sitemaps.php
creates XML sitemaps for SEO and stores them inwww/___/sitemaps/