olabusayoT commented on code in PR #1237:
URL: https://github.com/apache/daffodil/pull/1237#discussion_r1600133178


##########
build.sbt:
##########
@@ -431,9 +444,20 @@ lazy val unidocSettings = Seq(
   ),
   JavaUnidoc / unidoc / unidocAllSources := (JavaUnidoc / unidoc / 
unidocAllSources).value.map {
     sources =>
-      sources.filterNot { source =>
-        source.toString.contains("$") || 
source.toString.contains("packageprivate")
-      }
+      sources
+        .filterNot { source =>
+          source.toString.contains("$") || 
source.toString.contains("packageprivate")
+        }
+        .filter { source =>
+          //
+          // This filter limits javadoc to only files with
+          // api, sapi, or japi directories in their paths.
+          //
+          val str = source.toString
+          str.contains("/api/") ||
+          str.contains("/sapi/") ||
+          str.contains("/japi/")
+        }

Review Comment:
   I believe this will exclude the UDFs , as they don't have api in their path. 
Is that intentional?



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

Reply via email to