Thread overview
October 10
Wanted!
Docs generation example.

I have dub project, sources/*.d.
I want html-index with all classes/functions.

Is exists simple, hi-level, one-line command line solution ?

October 10
On Saturday, 10 October 2020 at 02:07:02 UTC, Виталий Фадеев wrote:
> Wanted!
> Docs generation example.
>
> I have dub project, sources/*.d.
> I want html-index with all classes/functions.
>
> Is exists simple, hi-level, one-line command line solution ?

dub run adrdox -- -i sources

Files will be in generated-docs/
October 10
On Saturday, 10 October 2020 at 05:04:54 UTC, Anonymouse wrote:
> On Saturday, 10 October 2020 at 02:07:02 UTC, Виталий Фадеев wrote:
>> Wanted!
>> Docs generation example.
>>
>> I have dub project, sources/*.d.
>> I want html-index with all classes/functions.
>>
>> Is exists simple, hi-level, one-line command line solution ?
>
> dub run adrdox -- -i sources
>
> Files will be in generated-docs/

Nice !
https://github.com/vitalfadeev/dlang-doc-example/raw/main/docs.png

Thank a lot !

October 10
On Saturday, 10 October 2020 at 02:07:02 UTC, Виталий Фадеев wrote:
> Wanted!
> Docs generation example.
>
> I have dub project, sources/*.d.
> I want html-index with all classes/functions.
>
> Is exists simple, hi-level, one-line command line solution ?

Alternatively:
1. Publish the 'blablah' package on the DUB registry.
2. Navigate to the https://blablah.dpldocs.info/index.html URL
October 11
On Saturday, 10 October 2020 at 02:07:02 UTC, Виталий Фадеев wrote:
> Wanted!
> Docs generation example.
>
> I have dub project, sources/*.d.
> I want html-index with all classes/functions.
>
> Is exists simple, hi-level, one-line command line solution ?

The more official way is: dub build --build=docs
Alternatively to use ddox with: dub build --build=ddoc