This is an automated email from the ASF dual-hosted git repository. zregvart pushed a commit to branch website in repository https://gitbox.apache.org/repos/asf/camel.git
commit bad4d4928ea2e6ecac6a0d0926a8f3df1988e7b8 Author: Zoran Regvart <zregv...@apache.org> AuthorDate: Tue Oct 30 13:14:17 2018 +0100 CAMEL-11492: Incorporate user manual --- camel-website/config.toml | 2 +- camel-website/pom.xml | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/camel-website/config.toml b/camel-website/config.toml index 25d6437..a01e0f8 100644 --- a/camel-website/config.toml +++ b/camel-website/config.toml @@ -45,7 +45,7 @@ title = "Integration that you want" identifier = "manual" pre = "<i class='fa fa-space-shuttle'></i>" weight = 40 - url = "/manual/" + url = "/manual/en/" [[menu.main]] name = "Components" diff --git a/camel-website/pom.xml b/camel-website/pom.xml index 1ede7ca..e30aafa 100644 --- a/camel-website/pom.xml +++ b/camel-website/pom.xml @@ -33,6 +33,37 @@ <build> <plugins> <plugin> + <groupId>org.asciidoctor</groupId> + <artifactId>asciidoctor-maven-plugin</artifactId> + <version>${asciidoctorj-version}</version> + <executions> + <execution> + <id>output-html</id> + <phase>generate-resources</phase> + <goals> + <goal>process-asciidoc</goal> + </goals> + <configuration> + <backend>html5</backend> + <doctype>article</doctype> + <attributes> + <toc /> + <linkcss>true</linkcss> + <stylesheet>apache.css</stylesheet> + <imagesdir>images</imagesdir> + </attributes> + </configuration> + </execution> + </executions> + <configuration> + <sourceDirectory>../docs/user-manual/en</sourceDirectory> + <outputDirectory>public/manual/en</outputDirectory> + <preserveDirectories>true</preserveDirectories> + <headerFooter>true</headerFooter> + <imagesDir>../docs/user-manual/en/images</imagesDir> + </configuration> + </plugin> + <plugin> <groupId>com.github.eirslett</groupId> <artifactId>frontend-maven-plugin</artifactId> <version>1.6</version>