ARTEMIS-3712 refresh doc generation tool-chain

This commit is contained in:
Justin Bertram 2022-03-08 22:08:32 -06:00
parent f6372d8443
commit 67c9df195d
No known key found for this signature in database
GPG Key ID: F41830B875BB8633
5 changed files with 5855 additions and 1267 deletions

File diff suppressed because it is too large Load Diff

5842
artemis-website/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -8,6 +8,6 @@
"url": "https://github.com/apache/activemq-artemis"
},
"devDependencies": {
"gitbook-cli": "~0.3.6"
"honkit": "~3.7.1"
}
}

View File

@ -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" />

View File

@ -1718,7 +1718,7 @@
<exclude>**/node/**</exclude>
<exclude>**/node_modules/**</exclude>
<exclude>**/package.json</exclude>
<exclude>**/npm-shrinkwrap.json</exclude>
<exclude>**/package-lock.json</exclude>
<!-- Build time overlay folder -->
<exclude>**/overlays/**</exclude>