Skip to content

Commit bf30d38

Browse files
committedMar 11, 2025··
Use OmegaT logo from images folder, and update build script
Removed image files (OmegaT.svg, OmegaT.png, InstantGuide_1.png, InstantGuide_2.png) from manual/images folder. Updated the build script to adjust file path handling and improve consistency in referencing image sources. Signed-off-by: Hiroshi Miura <[email protected]>
1 parent 0704593 commit bf30d38

File tree

5 files changed

+4
-156
lines changed

5 files changed

+4
-156
lines changed
 

‎build-logic/src/main/groovy/org.omegat.document-conventions.gradle

+4-3
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,16 @@ ext.makeDocumentationTasks = { lang ->
6464
}
6565

6666
def copyImages = tasks.register("copyImages${lang.capitalize()}", Copy) {
67-
description = 'Copy Images and CSS file to target'
67+
description 'Copy Images and CSS file to target'
6868
into layout.buildDirectory.dir("docs/manual/${lang}/images/")
69-
from new File(documentRootDir, "manual/${lang}/images/")
69+
from fileTree(dir: layout.projectDirectory.dir("src_docs/manual/${lang}/images/"), include: "*.png")
70+
from layout.projectDirectory.file("images/OmegaT.svg")
7071
}
7172

7273
def docbookHtml = tasks.register("docbookHtml${lang.capitalize()}", DocbookHtmlTask) {
7374
description = 'Generate chunked HTML documentation'
7475
styleSheetFile.set(layout.projectDirectory.file("${documentRootDir}/xsl/xhtml.xsl"))
75-
inputFile.set(file("${documentRootDir}/manual/${lang}/OmegaTUsersManual_xinclude_full.xml"))
76+
inputFile.set(layout.projectDirectory.file("${documentRootDir}/manual/${lang}/OmegaTUsersManual_xinclude_full.xml"))
7677
outputFile.set(layout.buildDirectory.file("tmp/manual/${lang}/xhtml5/_index.html"))
7778
dependsOn(docbookInclude, copyImages, copyCss)
7879
}
-1.98 KB
Binary file not shown.
-2.31 KB
Binary file not shown.

‎src_docs/manual/en/images/OmegaT.png

-841 Bytes
Binary file not shown.

‎src_docs/manual/en/images/OmegaT.svg

-153
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.