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_r355178820
 
 

 ##########
 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:
   Hm.. I avoided this because it will slow down doc gen since it re-uses 
complied ones from the regular build. How long does it increase?

----------------------------------------------------------------
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]

Reply via email to