ARTEMIS-3712 refresh doc generation tool-chain
This commit is contained in:
parent
f6372d8443
commit
67c9df195d
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -8,6 +8,6 @@
|
|||
"url": "https://github.com/apache/activemq-artemis"
|
||||
},
|
||||
"devDependencies": {
|
||||
"gitbook-cli": "~0.3.6"
|
||||
"honkit": "~3.7.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,9 +86,9 @@
|
|||
<webapp-outdir-hacking-guide>${basedir}/target/classes/hacking-guide</webapp-outdir-hacking-guide>
|
||||
<webapp-outdir-migration-guide>${basedir}/target/classes/migration-guide</webapp-outdir-migration-guide>
|
||||
|
||||
<frontend-maven-plugin-version>0.0.29</frontend-maven-plugin-version>
|
||||
<nodeVersion>v6.11.0</nodeVersion>
|
||||
<npmVersion>1.4.12</npmVersion>
|
||||
<frontend-maven-plugin-version>1.12.1</frontend-maven-plugin-version>
|
||||
<nodeVersion>v16.14.0</nodeVersion>
|
||||
<npmVersion>8.3.1</npmVersion>
|
||||
<skipWebsiteDocGeneration>false</skipWebsiteDocGeneration>
|
||||
</properties>
|
||||
|
||||
|
@ -173,36 +173,35 @@
|
|||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.7</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>generate-sources</phase>
|
||||
<configuration>
|
||||
<skip>${skipWebsiteDocGeneration}</skip>
|
||||
<target>
|
||||
<condition property="gitbook.cmd" value="${basedir}/node_modules/.bin/gitbook.cmd" else="${basedir}/node_modules/.bin/gitbook">
|
||||
<condition property="honkit.cmd" value="${basedir}/node_modules/.bin/honkit.cmd" else="${basedir}/node_modules/.bin/honkit">
|
||||
<os family="windows" />
|
||||
</condition>
|
||||
<!-- lets generate the gitbook -->
|
||||
<!-- lets generate the honkit -->
|
||||
<mkdir dir="${webapp-outdir-user-manual}" />
|
||||
<echo>executing ${gitbook.cmd}</echo>
|
||||
<exec executable="${gitbook.cmd}" failonerror="true">
|
||||
<echo>executing ${honkit.cmd}</echo>
|
||||
<exec executable="${honkit.cmd}" failonerror="true">
|
||||
<env key="PATH" path="${basedir}/node" />
|
||||
<arg value="build" />
|
||||
<arg value="${basedir}/../docs/user-manual/en" />
|
||||
<arg value="${webapp-outdir-user-manual}" />
|
||||
</exec>
|
||||
<mkdir dir="${webapp-outdir-hacking-guide}" />
|
||||
<echo>executing ${gitbook.cmd}</echo>
|
||||
<exec executable="${gitbook.cmd}" failonerror="true">
|
||||
<echo>executing ${honkit.cmd}</echo>
|
||||
<exec executable="${honkit.cmd}" failonerror="true">
|
||||
<env key="PATH" path="${basedir}/node" />
|
||||
<arg value="build" />
|
||||
<arg value="${basedir}/../docs/hacking-guide/en" />
|
||||
<arg value="${webapp-outdir-hacking-guide}" />
|
||||
</exec>
|
||||
<mkdir dir="${webapp-outdir-migration-guide}" />
|
||||
<echo>executing ${gitbook.cmd}</echo>
|
||||
<exec executable="${gitbook.cmd}" failonerror="true">
|
||||
<echo>executing ${honkit.cmd}</echo>
|
||||
<exec executable="${honkit.cmd}" failonerror="true">
|
||||
<env key="PATH" path="${basedir}/node" />
|
||||
<arg value="build" />
|
||||
<arg value="${basedir}/../docs/migration-guide/en" />
|
||||
|
|
Loading…
Reference in New Issue