www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Docs generation example

reply =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KTQsNC0?= =?UTF-8?B?0LXQtdCy?= writes:
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 ?
Oct 09 2020
next sibling parent reply Anonymouse <zorael gmail.com> writes:
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/
Oct 09 2020
parent =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KTQsNC0?= =?UTF-8?B?0LXQtdCy?= writes:
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 !
Oct 10 2020
prev sibling next sibling parent Guillaume Piolat <first.name guess.com> writes:
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
Oct 10 2020
prev sibling parent Zekereth <paul acheronsoft.com> writes:
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
Oct 10 2020