HyukjinKwon commented on a change in pull request #26796:
[SPARK-30164][Tests][Doc] SBT clean before document generation
URL: https://github.com/apache/spark/pull/26796#discussion_r355179217
##########
File path: dev/run-tests.py
##########
@@ -342,7 +342,7 @@ def build_spark_unidoc_sbt(extra_profiles):
set_title_and_block("Building Unidoc API Documentation",
"BLOCK_DOCUMENTATION")
# Enable all of the profiles for the build:
build_profiles = extra_profiles + modules.root.build_profile_flags
- sbt_goals = ["unidoc"]
+ sbt_goals = ["clean", "unidoc"]
Review comment:
Also, if I am not wrong, this wont verify the documentation in test codes
anymore. That's fine as documentation in the test codes wont be the part of our
official documentation though. Cc @JoshRosen I think I talked about this with
you before somewhere.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]