diff --git a/pom.xml b/pom.xml index d1a71ed8c1..4ec02ffa69 100644 --- a/pom.xml +++ b/pom.xml @@ -823,6 +823,8 @@ ui/frontend/project/node/** ui/frontend/project/node_modules/** + website/node_modules/** + .mvn/** diff --git a/website/asciidoc/antora.yml b/website/asciidoc/antora.yml index a94aeae647..43be8010a3 100644 --- a/website/asciidoc/antora.yml +++ b/website/asciidoc/antora.yml @@ -20,6 +20,7 @@ name: plc4x version: '0.13.0-SNAPSHOT' prerelease: True title: PLC4X +start_page: users:index.adoc nav: - modules/ROOT/nav.adoc - modules/users/nav.adoc diff --git a/website/asciidoc/modules/ROOT/nav.adoc b/website/asciidoc/modules/ROOT/nav.adoc index cdc3e63a9e..c1b137fccb 100644 --- a/website/asciidoc/modules/ROOT/nav.adoc +++ b/website/asciidoc/modules/ROOT/nav.adoc @@ -13,4 +13,4 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// \ No newline at end of file +// diff --git a/website/patches/header-content.patch b/website/patches/header-content.patch new file mode 100644 index 0000000000..0ca2eba8d8 --- /dev/null +++ b/website/patches/header-content.patch @@ -0,0 +1,74 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +--- "dependency\\antora\\partials\\header-content.hbs" 2024-10-25 18:22:18.000000000 +0800 ++++ "supplemental\\partials\\header-content.hbs" 2024-11-16 07:57:44.368184200 +0800 +@@ -1,7 +1,9 @@ +
+ diff --git a/website/pom.xml b/website/pom.xml index db43a69e1f..42a0905b23 100644 --- a/website/pom.xml +++ b/website/pom.xml @@ -86,6 +86,38 @@ ${project.build.directory}/dependency/fontawesome + + get-source-hbs + pre-site + + wget + + + https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable + true + ${project.build.directory}/dependency/antora + + + + + + + org.apache.maven.plugins + maven-antrun-plugin + + + pre-site + + run + + + + + + + + + @@ -169,6 +201,12 @@ js + + + ${project.build.directory}/dependency/antora/partials + + partials + @@ -252,6 +290,29 @@ false + + org.codehaus.mojo + exec-maven-plugin + + + git-apply-patch-header + pre-site + + exec + + + git + + apply + -p0 + patches/header-content.patch + --directory=target + + + + + + - -
- -