Cross-platform documentation

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Tue May 31 04:47:48 PDT 2016


On 2016-05-31 09:19, ZombineDev wrote:

> The idiom is to use version (CoreDdoc) for druntime or version (StdDdoc)
> for Phobos and to put inside declarations that you want to be visible in
> all documentation builds. And then use version (SomePlatform) for the
> actual definitions.

The downside with that is that the declarations need to be duplicated 
and you don't see which declarations are available for which platforms.

The approach I suggested, if it works, does not require to do anything 
special.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list