You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "tkobayas (via GitHub)" <gi...@apache.org> on 2025/07/11 02:29:15 UTC

[PR] [DO-NOT-MERGE] 10.1.x docs build [incubator-kie-website]

tkobayas opened a new pull request, #43:
URL: https://github.com/apache/incubator-kie-website/pull/43

   Before merging, `incubator-kie-kogito-docs:10.1.x` needs to be updated to adjust the version. (plus, update contents if necessary)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [DO-NOT-MERGE] 10.1.x docs build [incubator-kie-website]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on PR #43:
URL: https://github.com/apache/incubator-kie-website/pull/43#issuecomment-3060513070

   preview -> drools/kogito/optaplanner 10.1.0 docs have version `999-SNAPSHOT`. Will fix it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [DO-NOT-MERGE] 10.1.x docs build [incubator-kie-website]

Posted by "domhanak (via GitHub)" <gi...@apache.org>.
domhanak commented on code in PR #43:
URL: https://github.com/apache/incubator-kie-website/pull/43#discussion_r2199828436


##########
.github/workflows/deploy.yml:
##########
@@ -59,6 +71,60 @@ 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 }}
+          ref: main

Review Comment:
   Thanks @tkobayas I ll check what's up



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [DO-NOT-MERGE] 10.1.x docs build [incubator-kie-website]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on code in PR #43:
URL: https://github.com/apache/incubator-kie-website/pull/43#discussion_r2199578342


##########
.github/workflows/deploy.yml:
##########
@@ -59,6 +71,60 @@ 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 }}
+          ref: main

Review Comment:
   When I specify `10.1.x` here, doc build fails with 
   ```
   2025-07-11T02:29:33.0513990Z [02:29:33.048] ^[[41mFATAL^[[49m (antora): ^[[36mDuplicate nav in main@serverlessworkflow: modules/ROOT/nav.adoc
   2025-07-11T02:29:33.0515955Z ^[[0m    1: serverlessworkflow/modules/ROOT/nav.adoc in https://github.com/apache/incubator-kie-kogito-docs.git (branch: 10.1.x | start path: serverlessworkflow)
   2025-07-11T02:29:33.0518116Z     2: serverlessworkflow/modules/ROOT/nav.adoc in https://github.com/apache/incubator-kie-kogito-docs.git (branch: main | start path: serverlessworkflow)^[[39m
   ```
   that means it detects nav.adoc in both `main` and `10.1.x`. I'm not familiar with the configuration, but setting `main` solves the error and it works as multiple versioned docs. (however, it doesn't contain `10.1.0` )
   
   @domhanak Feel free to fix if it's not appropriate.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [DO-NOT-MERGE] 10.1.x docs build [incubator-kie-website]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on PR #43:
URL: https://github.com/apache/incubator-kie-website/pull/43#issuecomment-3061563244

   Preview website download: https://github.com/apache/incubator-kie-website/actions/runs/16215312981/artifacts/3511696500
   - unzip apache-kie-website.zip
   - python -m http.server 8000
   
   Look good to me. Please review, thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [DO-NOT-MERGE] 10.1.x docs build [incubator-kie-website]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas merged PR #43:
URL: https://github.com/apache/incubator-kie-website/pull/43


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [DO-NOT-MERGE] 10.1.x docs build [incubator-kie-website]

Posted by "domhanak (via GitHub)" <gi...@apache.org>.
domhanak commented on code in PR #43:
URL: https://github.com/apache/incubator-kie-website/pull/43#discussion_r2199912908


##########
.github/workflows/deploy.yml:
##########
@@ -59,6 +71,60 @@ 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 }}
+          ref: main

Review Comment:
   Ok so this is my bad, fix is here - https://github.com/apache/incubator-kie-kogito-docs/pull/726
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [DO-NOT-MERGE] 10.1.x docs build [incubator-kie-website]

Posted by "tkobayas (via GitHub)" <gi...@apache.org>.
tkobayas commented on PR #43:
URL: https://github.com/apache/incubator-kie-website/pull/43#issuecomment-3060511162

   Preview website download: https://github.com/apache/incubator-kie-website/actions/runs/16211191524/artifacts/3510001497
   
   - unzip apache-kie-website.zip
   - python -m http.server 8000
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org


Re: [PR] [DO-NOT-MERGE] 10.1.x docs build [incubator-kie-website]

Posted by "domhanak (via GitHub)" <gi...@apache.org>.
domhanak commented on code in PR #43:
URL: https://github.com/apache/incubator-kie-website/pull/43#discussion_r2199970039


##########
.github/workflows/deploy.yml:
##########
@@ -59,6 +71,60 @@ 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 }}
+          ref: main

Review Comment:
   Once merged you can specify `10.1.x` as ref



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org