You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2020/07/11 07:58:44 UTC
[ofbiz-framework] 02/02: Improved: Put the AsciiDoc files in main
repo under the web site (OFBIZ-11879)
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release17.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
commit 76beb10627a8a9a2516d5a4843c8ef7adccdc61c
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Sat Jul 11 09:45:49 2020 +0200
Improved: Put the AsciiDoc files in main repo under the web site (OFBIZ-11879)
We have AsciiDoc files in main repo and it would be better to have them also in
HTML format under the web site: https://ci.apache.org/projects/ofbiz/site
For that a new generateReadmeFiles is needed and new "readme" locations under
each of https://ci.apache.org/projects/ofbiz/site "sub-dirs".
We can create those from Buildbot like we did with INFRA-20311
---
build.gradle | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/build.gradle b/build.gradle
index 749124e..48b36b3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -536,6 +536,16 @@ task deleteAllPluginsDocumentation {
}
+task generateReadmeFiles(group: docsGroup, type: AsciidoctorTask) {
+ doFirst { delete "${buildDir}/asciidoc/readme" }
+ description 'Generate OFBiz README files'
+ sourceDir "${rootDir}"
+ sources {
+ include 'README.adoc', 'CHANGELOG.adoc', 'CONTRIBUTING.adoc'
+ }
+ outputDir file("${buildDir}/asciidoc/readme/")
+}
+
task generateOfbizDocumentation(group: docsGroup, type: AsciidoctorTask) {
dependsOn deleteOfbizDocumentation
description 'Generate OFBiz documentation manuals'