help me with dpldocs - how to filter 3rd party libs

Adam D. Ruppe destructionator at gmail.com
Mon Mar 5 17:26:21 UTC 2018


On Monday, 5 March 2018 at 01:02:52 UTC, Norm wrote:
> Might not help much though, I imagine these third-party sources 
> are built as source only libraries, so they probably appear as 
> source files anyway.

Yeah, in the case I'm looking at now, they aren't listed as dub 
packages at all, just files included in the src folder (which btw 
is how I prefer people to use my libraries too....)

I think there is no solid solution for existing things, so I'll 
have to invent a new config thing. I think I'll do something like

included modules for documentation: "something.*"
excluded modules for documentation: "something.internal.*"

And use that to do processing. Still need to decide on syntax, 
filename, etc., but it should be doable.

By default, I will probably exclude the thirdparty naming 
conventions and internal (actually it does internal already).

I might also have it exclude win32, deimos, arsd, and a few other 
names I know are commonly used this way, unless specifically 
overridden.


More information about the Digitalmars-d mailing list