On Sunday, 23 February 2020 at 18:18:25 UTC, Per Nordlöw wrote:
On Sunday, 23 February 2020 at 17:18:48 UTC, Andre Pany wrote:
If your Dub package is registered on code.dlang.org, this is automatically provided.

Example: http://code.dlang.org/packages/arsd-official
Click on the documentation link.

Beside that you can use e.g. Github Actions to create documentation.

Kind regards
Andre

I've fixed my phobos-next so that doc generation now works via

    dub build --build=docs --compiler=dmd

Is this command called only when I tag my repo with a new version?

The error I currently get when clicking the documentation link https://phobos-next.dpldocs.info/ is


The project build failed. copy/paste this link to adam so he can fix the bug.

std.file.FileException@std/file.d(379): /dpldocs/phobos-next/master/adrdox-generated/: Is a directory
----------------
/home/me/d/dmd2/linux/bin64/../../src/phobos/std/file.d:273 @trusted bool std.file.cenforce!(bool).cenforce(bool, scope const(char)[], scope const(char)*, immutable(char)[], ulong) [0x543266] ??:? @trusted void[] std.file.readImpl(scope const(char)[], scope const(char)*, ulong) [0x5ec90b] /home/me/d/dmd2/linux/bin64/../../src/phobos/std/file.d:310 @safe void[] std.file.read!(immutable(char)[]).read(immutable(char)[], ulong) [0x543041]
dl.d:271 void dl.app(arsd.cgi.Cgi) [0x528000]
/home/me/arsd/cgi.d:3815 void arsd.cgi.doThreadScgiConnection!(arsd.cgi.Cgi, dl.app(arsd.cgi.Cgi), 5000000L).doThreadScgiConnection(std.socket.Socket) [0x546e43] /home/me/arsd/cgi.d:4361 void arsd.cgi.ConnectionThread.run() [0x53b2a8]
??:? void core.thread.Thread.run() [0x5c8a25]
??:? thread_entryPoint [0x6159cb]
??:? [0x7f0c425e76da]

Reply via email to