With latest on main
it appears that symbols from other modules that are exported using @_exported
are now appearing in the documentation for a module. Is this an intentional change? I guess it kind of makes sense.
I am not using the docc command plugin as I want documentation for multiple targets. My workflow consists of running
swift build \
-Xswiftc -emit-symbol-graph \
-Xswiftc -emit-symbol-graph-dir -Xswiftc $SG_FOLDER
Then copying the symbol graph files for the modules I want to document into a separate folder $MY_SG_FOLDER
and then running
docc convert MyDocs.docc \
--additional-symbol-graph-dir $MY_SG_FOLDER \
etc