I've been writing documentation files in raw HTML for a small open source project in Java. Now I'm wondering if there are any good tools to automatically generate the HTML docs from some source files during the build process, with the main advantages being substitution of ${variables} and a consistent layout across all pages.
An important aspect is internationalization: It should be easy for translators to edit the source files in order to generate localized documentation, and the tool should properly deal with different encodings.
EDIT: I'm not talking about generating documentation for program source code, such as Javadoc, but documentation for the non-programmer end user. In other words, "the manual".