Yes, there are docs on building[1]. It doesn't explicitly mentions AMD
though, just refers to the `--help` option of the build script where it
is listed. Anyway, building highlight.js for AMD is as simple as:
python tools/build.py -t amd
It builds a compressed "build/highlight.pack.js" with all the languages
and is theoretically ready to be used. I say "theoretically" because I'm
personally not aware if anyone already uses it successfully in practice,
so if you confirm that it works it'd be appreciated.
[1]:
http://highlightjs.readthedocs.org/en/latest/building-testing.html