Hi. When I developed Beast for Boost.Asio
(https://github.com/vinniefalco/Beast), I lifted the xsl transforms
from Boost.Asio (thanks Chris!) and adapted them. These scripts take
the output of Doxygen and transform them into Boost.Book code (or
QuickBook code or whatever its called). In other words, it creates a
file called reference.qbk. This file is included in the documentation,
which gets processed through a Jamfile to produce the HTML
documentation that you see here:
http://vinniefalco.github.io/beast/index.html
This is great, and I am using the same system for my new key/value
database engine (https://github.com/vinniefalco/NuDB/). The problem is
that now I want to start another project and use the same
documentation, but there is a considerable amount of copying going on
here. The entire reference.xsl file is copied and placed in the new
project:
https://github.com/vinniefalco/NuDB/blob/master/doc/reference.xsl
This file has to be edited significantly because it has references to
project-specific namespaces, prefixes, and various other annoying
minutiae.
Therefore, I have started a new project called "docca:"
https://github.com/vinniefalco/docca
This project aims to refactor my variant of Boost.Asio's reference.xsl
file so that it can be re-used in other projects. The procedure would
be to create your own empty .xsl file, and include docca's xsl file
after defining some variables. For example:
<?xml version="1.0" encoding="utf-8"?>