Khronos has released the OpenCL 1.0 man page XML sources. They are under the Khronos Free Use License (BSD-like) so people can modify, repackage, redistribute etc.
You will need to have a reasonable understanding of Subversion, Docbook, XML, XSLT, Linux package management (if using Linux), and other components of the toolchain used to generate the man pages, before you’re likely to have much success with them. A great deal of Docbook, XML, and XSL infrastructure may need to be installed on your system first.
The directory tree containing the man pages is available for anonymous, read-only checkout in Khronos’ Subversion server, at
[https://cvs.khronos.org/svn/repos/regis ... /docs/man/](https://cvs.khronos.org/svn/repos/registry/trunk/public/cl/sdk/1.0/docs/man/)
If you have the Subversion command-line client installed, you should be able to check out the man pages into the directory ‘man’ by executing the command
svn co --username anonymous --password anonymous https://cvs.khronos.org/svn/repos/registry/trunk/public/cl/sdk/1.0/docs/man/ man
Under ‘man’ you’ll find the OpenCL 1.0 man pages, both the Docbook XML source in this directory and generated XHTML+MathML in xhtml/ , and some supporting build and XSL infrastructure.
There are two pages in the OpenGL.org Wiki containing additional documentation; these pages talk about the OpenGL man page sources, but the OpenCL man pages use much the same Docbook toolchain so this will at least give you some guidance on the Docbook, XML, XSLT, etc. packages you’ll need to install. Eventually I hope to update these to cover OpenCL specifically as well.
- Description of the tools used to build the man pages; how to install and make use of them if you want to build them yourself; and how to report problems.
- Some notes on viewing XHTML+MathML documents in different browsers.