commit | 3f543c88a3425a2072e205ccd4f4883792d9b62f | [log] [tgz] |
---|---|---|
author | edendramis <evangeliad@gmail.com> | Sun Apr 26 01:02:20 2015 -0700 |
committer | edendramis <evangeliad@gmail.com> | Sun Apr 26 01:02:20 2015 -0700 |
tree | a6a785dca9a3385168b0d9d4740107fe5ed60e4f | |
parent | f2d211526159553af99e427dd07c5f26e9caef57 [diff] |
fixing word breaks and mobile styles
Docgen was originally written to generate HTML pages from the DocBook 5 XML that the FreeMarker Manual is written in. As such, it‘s not a general purpose DocBook 5 to HTML converter, however, we use it for other projects as well, so it’s not entirely specialized either.
Issue:
ant all
This will create lib/docgen.jar
and build/api
.
For documentation see build/api/index.html
. Especially, read the documentation of the Transform
class there.
For some examples see src/test
and test.xml
, and of course, src/manual
in the freemarker
project.
For editing DocBook, we are using XXE with the src/xxe-addon
installed.
If you run into dependency errors, you may need to issue:
ant update-deps
If you have modified docgen
, and want to try the new version in the freemarker
project, you will have to issue:
ant publish-override
This will shadow the docgen
artifact that comes from the Ivy repo on freemarker.org. Then, in the freemarker
project you have to issue ant update-deps
so that it picks up your version.