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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]