This is an automated email from the ASF dual-hosted git repository.

tkobayas pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-website.git


The following commit(s) were added to refs/heads/main by this push:
     new a3fec53  [DO-NOT-MERGE] 10.1.x docs build (#43)
a3fec53 is described below

commit a3fec53d31639884446c1d9d42d8b333f37e5c8b
Author: Toshiya Kobayashi <[email protected]>
AuthorDate: Fri Jul 11 22:36:20 2025 +0900

    [DO-NOT-MERGE] 10.1.x docs build (#43)
    
    * 10.1.x docs build
    
    * test main
    
    * use the pr commit
    
    * sonataflow-docs fixed
---
 .github/workflows/deploy.yml                | 72 ++++++++++++++++++++++++++++-
 docs/documentation/documentation_10.0.0.mdx | 11 +++--
 docs/documentation/documentation_10.1.0.mdx | 34 ++++++++++++++
 3 files changed, 112 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 592df67..8468fcf 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -7,7 +7,7 @@ on:
   pull_request:
 
 jobs:
-  build-docs:
+  build-docs-10-0-x:
     runs-on: ubuntu-latest
     strategy:
       matrix:
@@ -49,6 +49,18 @@ jobs:
           cd kogito-docs
           mvn -B clean install -Dfull
 
+      - name: Checkout Optaplanner repository
+        uses: actions/checkout@v4
+        with:
+          repository: apache/incubator-kie-optaplanner
+          ref: ${{ matrix.version }}
+          path: optaplanner
+
+      - name: Build Optaplanner documentation
+        run: |
+          cd optaplanner/optaplanner-docs
+          mvn -B clean install
+
       - name: Collect built docs
         run: |
           mkdir -p docs/${{ matrix.version }}/sonataflow
@@ -59,6 +71,59 @@ jobs:
 
           mkdir -p docs/${{ matrix.version }}/kogito
           cp -r 
kogito-docs/doc-content/apache-kie-kogito/target/generated-docs/html_single/* 
docs/${{ matrix.version }}/kogito
+          
+          mkdir -p docs/${{ matrix.version }}/optaplanner
+          cp -r 
optaplanner/optaplanner-docs/target/generated-docs/html_single/* docs/${{ 
matrix.version }}/optaplanner
+
+      - name: Upload built docs artifact
+        uses: actions/upload-artifact@v4
+        with:
+          name: ${{ matrix.version }}
+          path: docs/${{ matrix.version }}
+
+  build-docs-10-1-x:
+    runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        version: [10.1.x]
+    steps:
+      - name: Checkout SonataFlow repository
+        uses: actions/checkout@v4
+        with:
+          repository: apache/incubator-kie-kogito-docs
+          ref: ${{ matrix.version }}
+          path: sonataflow-docs
+
+      - name: Build Sonataflow documentation
+        run: |
+          cd sonataflow-docs
+          npm run install-build
+
+      - name: Checkout kie-docs repository for Drools, Kogito, and OptaPlanner
+        uses: actions/checkout@v4
+        with:
+          repository: apache/incubator-kie-docs
+          ref: ${{ matrix.version }}
+          path: kie-docs
+
+      - name: Build Drools, Kogito, and OptaPlanner documentation
+        run: |
+          cd kie-docs
+          mvn -B clean install -Dfull
+
+      - name: Collect built docs
+        run: |
+          mkdir -p docs/${{ matrix.version }}/sonataflow
+          cp -r sonataflow-docs/build/site/* docs/${{ matrix.version 
}}/sonataflow
+
+          mkdir -p docs/${{ matrix.version }}/drools
+          cp -r kie-docs/drools-docs/target/website/docs/* docs/${{ 
matrix.version }}/drools
+
+          mkdir -p docs/${{ matrix.version }}/kogito
+          cp -r 
kie-docs/kogito-docs/doc-content/apache-kie-kogito/target/generated-docs/html_single/*
 docs/${{ matrix.version }}/kogito
+
+          mkdir -p docs/${{ matrix.version }}/optaplanner
+          cp -r kie-docs/optaplanner-docs/target/generated-docs/html_single/* 
docs/${{ matrix.version }}/optaplanner
 
       - name: Upload built docs artifact
         uses: actions/upload-artifact@v4
@@ -68,7 +133,7 @@ jobs:
 
   deploy-website:
     runs-on: ubuntu-latest
-    needs: build-docs
+    needs: [build-docs-10-0-x, build-docs-10-1-x]
     steps:
       - name: Checkout Apache KIE Website repository
         uses: actions/checkout@v4
@@ -95,6 +160,9 @@ jobs:
 
             mkdir -p incubator-kie-website/static/docs/$ver/kogito
             cp -r docs/$ver/kogito/* 
incubator-kie-website/static/docs/$ver/kogito
+          
+            mkdir -p incubator-kie-website/static/docs/$ver/optaplanner
+            cp -r docs/$ver/optaplanner/* 
incubator-kie-website/static/docs/$ver/optaplanner
           done
 
       - name: Build Apache KIE Website
diff --git a/docs/documentation/documentation_10.0.0.mdx 
b/docs/documentation/documentation_10.0.0.mdx
index a553fcd..a5c0ef3 100644
--- a/docs/documentation/documentation_10.0.0.mdx
+++ b/docs/documentation/documentation_10.0.0.mdx
@@ -15,15 +15,20 @@ See the instructions on how to contribute and build from 
source by examining the
 * [Drools 
Documentation](https://github.com/apache/incubator-kie-drools/tree/10.0.x/drools-docs)
 * [Kogito 
Documentation](https://github.com/apache/incubator-kie-docs/tree/10.0.x/doc-content/apache-kie-kogito)
 * [SonataFlow 
Documentation](https://github.com/apache/incubator-kie-kogito-docs/tree/10.0.x/)
+* [OptaPlanner 
Documentation](https://github.com/apache/incubator-kie-optaplanner/tree/10.0.x/optaplanner-docs)
 
 ## Drools documentation
 
-<p>Click <a href="../10.0.x/drools" target="_blank" rel="noopener 
noreferrer">here</a> to learn about Drools.</p>
+<p>Click <a href="/docs/10.0.x/drools" target="_blank" rel="noopener 
noreferrer">here</a> to learn about Drools.</p>
 
 ## Kogito documentation
 
-<p>Click <a href="../10.0.x/kogito" target="_blank" rel="noopener 
noreferrer">here</a> to learn about Kogito.</p>
+<p>Click <a href="/docs/10.0.x/kogito" target="_blank" rel="noopener 
noreferrer">here</a> to learn about Kogito.</p>
 
 ## SonataFlow documentation
 
-<p>Click <a href="../10.0.x/sonataflow" target="_blank" rel="noopener 
noreferrer">here</a> to learn about SonataFlow.</p>
\ No newline at end of file
+<p>Click <a href="/docs/10.0.x/sonataflow" target="_blank" rel="noopener 
noreferrer">here</a> to learn about SonataFlow.</p>
+
+## OptaPlanner documentation
+
+<p>Click <a href="/docs/10.0.x/optaplanner" target="_blank" rel="noopener 
noreferrer">here</a> to learn about OptaPlanner.</p>
\ No newline at end of file
diff --git a/docs/documentation/documentation_10.1.0.mdx 
b/docs/documentation/documentation_10.1.0.mdx
new file mode 100644
index 0000000..8a0bba1
--- /dev/null
+++ b/docs/documentation/documentation_10.1.0.mdx
@@ -0,0 +1,34 @@
+---
+id: documentation_10.1.0
+title: 10.1.0
+sidebar_position: 1
+---
+
+# Documentation for release 10.1.0
+
+## Source
+
+The source of our documentation is hosted at Github, across multiple 
repositories.
+
+See the instructions on how to contribute and build from source by examining 
the link below.
+
+* [Drools 
Documentation](https://github.com/apache/incubator-kie-docs/tree/10.1.x/drools-docs)
+* [Kogito 
Documentation](https://github.com/apache/incubator-kie-docs/tree/10.1.x/kogito-docs/doc-content/apache-kie-kogito)
+* [SonataFlow 
Documentation](https://github.com/apache/incubator-kie-kogito-docs/tree/10.1.x/)
+* [OptaPlanner 
Documentation](https://github.com/apache/incubator-kie-docs/tree/10.1.x/optaplanner-docs)
+
+## Drools documentation
+
+<p>Click <a href="/docs/10.1.x/drools" target="_blank" rel="noopener 
noreferrer">here</a> to learn about Drools.</p>
+
+## Kogito documentation
+
+<p>Click <a href="/docs/10.1.x/kogito" target="_blank" rel="noopener 
noreferrer">here</a> to learn about Kogito.</p>
+
+## SonataFlow documentation
+
+<p>Click <a href="/docs/10.1.x/sonataflow" target="_blank" rel="noopener 
noreferrer">here</a> to learn about SonataFlow.</p>
+
+## OptaPlanner documentation
+
+<p>Click <a href="/docs/10.1.x/optaplanner" target="_blank" rel="noopener 
noreferrer">here</a> to learn about OptaPlanner.</p>
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to