Here is an experimental repository to build OmegaT manuals with Gradle. OmegaT genuine repository has manuals which are built with Docker workflow.
The provision here does not use Docker/Container to generate HTML from docbook XMLs.
Please execute the Gradle command
./gradlew manualHtmls
You will find HTML files under build/docs/manual/<lang>/
./gradlew assemble
You will find Zip files under build/docs/manuals/<lang>.zip
Project can use manual Zip with Gradle dependencies
dependencies {
implementation 'org.omegat:omegat-manual-en:6.1.0:resources@zip'
implementation 'org.omegat:omegat-manual-fr:6.1.0:resources@zip'
}
7 languages: CA, DE, EN, FR, IT, JA, NL
Tasks are defined as a custom local plugin defined in buildSrc
- Folder location:
src/docs/<lang>/
- Name of the main source file:
OmegaTUsersManual_xincludes_full.xml
- DTD of the index file: the first 2 lines of the index file should be like
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
- CSS file is located at
src/docs/omegat.css
- XSL files are located at
src/docs/xsl