Skip to content

Commit

Permalink
[fix](doc) avoid generate config doc automatically (apache#19302)
Browse files Browse the repository at this point in the history
After apache#19246, when compilng FE, it will automatically generate Config and Session Variables doc and overwrite the origin one.
Need to avoid it because it is not ready to use yet
  • Loading branch information
morningman authored May 5, 2023
1 parent 8aa61eb commit c9fa10a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -512,9 +512,9 @@ if [[ "${FE_MODULES}" != '' ]]; then
clean_fe
fi
if [[ "${DISABLE_JAVA_CHECK_STYLE}" = "ON" ]]; then
"${MVN_CMD}" package -pl ${FE_MODULES:+${FE_MODULES}} -DskipTests -Dcheckstyle.skip=true
"${MVN_CMD}" package -pl ${FE_MODULES:+${FE_MODULES}} -Dskip.doc=true -DskipTests -Dcheckstyle.skip=true
else
"${MVN_CMD}" package -pl ${FE_MODULES:+${FE_MODULES}} -DskipTests
"${MVN_CMD}" package -pl ${FE_MODULES:+${FE_MODULES}} -Dskip.doc=true -DskipTests
fi
cd "${DORIS_HOME}"
fi
Expand Down
1 change: 1 addition & 0 deletions fe/fe-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,7 @@ under the License.
<argument>${doris.home}/docs/en/docs/advanced/variables.md</argument>
<argument>${doris.home}/docs/zh-CN/docs/advanced/variables.md</argument>
</arguments>
<skip>${skip.doc}</skip>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit c9fa10a

Please sign in to comment.