Re: New WIP DUB documentation

2022-08-24 Thread bauss via Digitalmars-d-announce
On Wednesday, 24 August 2022 at 10:31:55 UTC, Andrey Zherikov wrote: Just throwing an idea: may be dub can support yaml which has comments? The sdl format already supports that, which dub uses. Json is supposed to be deprecated in dub, but obviously works for backwards compatibility.

Re: New WIP DUB documentation

2022-08-24 Thread Andrey Zherikov via Digitalmars-d-announce
Just throwing an idea: may be dub can support yaml which has comments?

Re: New WIP DUB documentation

2022-08-24 Thread Mathias LANG via Digitalmars-d-announce
On Thursday, 18 August 2022 at 20:00:10 UTC, Bastiaan Veelo wrote: That's already possible, as unrecognised items are ignored. Actually, from next version, dub will start to warn you (in dub.json) about unknown keys. It does catch quite a lot of mistakes, see

Re: New WIP DUB documentation

2022-08-24 Thread Martin Tschierschke via Digitalmars-d-announce
On Thursday, 18 August 2022 at 20:00:10 UTC, Bastiaan Veelo wrote: That's already possible, as unrecognised items are ignored. This is however not flexible enough, as comments are not so much wanted for adding explanations but much more for commenting out specific parts. It does work

Re: New WIP DUB documentation

2022-08-18 Thread Bastiaan Veelo via Digitalmars-d-announce
On Thursday, 18 August 2022 at 14:00:38 UTC, Martin Tschierschke wrote: What about the following idea about **comments for dub.json**: Allow the key "comment" inside the json file and alter DUB to remove all "comment" key value pairs at the beginning of parsing. So the file is still valid json

Re: New WIP DUB documentation

2022-08-18 Thread Sönke Ludwig via Digitalmars-d-announce
Am 18.08.2022 um 12:23 schrieb Bastiaan Veelo: ## Hacking on a local copy of a package If your project depends on a package in which you have found a problem, or you would like to experiment with changes to it, you can force Dub to use a local copy of the package by following these steps:

Re: New WIP DUB documentation

2022-08-18 Thread Martin Tschierschke via Digitalmars-d-announce
On Monday, 15 August 2022 at 21:32:23 UTC, WebFreak001 wrote: Hi all, I'm currently working on new revamped DUB documentation, check it out if you want, it currently contains most old documentation plus a big bunch of new documentation: https://docs.webfreak.org/ Looks great! What about the

Re: New WIP DUB documentation

2022-08-18 Thread Guillaume Piolat via Digitalmars-d-announce
On Thursday, 18 August 2022 at 10:23:35 UTC, Bastiaan Veelo wrote: ## Hacking on a local copy of a package If your project depends on a package in which you have found a problem, or you would like to experiment with changes to it, you can force Dub to use a local copy of the package by

Re: New WIP DUB documentation

2022-08-18 Thread Bastiaan Veelo via Digitalmars-d-announce
On Monday, 15 August 2022 at 21:32:23 UTC, WebFreak001 wrote: Hi all, I'm currently working on new revamped DUB documentation, check it out if you want, it currently contains most old documentation plus a big bunch of new documentation: https://docs.webfreak.org/ Thank you for doing this!

Re: New WIP DUB documentation

2022-08-16 Thread jmh530 via Digitalmars-d-announce
On Monday, 15 August 2022 at 21:32:23 UTC, WebFreak001 wrote: Hi all, I'm currently working on new revamped DUB documentation, check it out if you want, it currently contains most old documentation plus a big bunch of new documentation: [...] Looks go to be a big improvement. Some of the

Re: New WIP DUB documentation

2022-08-16 Thread WebFreak001 via Digitalmars-d-announce
On Tuesday, 16 August 2022 at 08:13:08 UTC, Sönke Ludwig wrote: Looking good, having SDL+JSON on the same page is especially nice and something I've been wanting to fix for a while. Also definitely a good idea to use a static generator now that the documentation is separate. One question,

Re: New WIP DUB documentation

2022-08-16 Thread JG via Digitalmars-d-announce
On Monday, 15 August 2022 at 21:32:23 UTC, WebFreak001 wrote: Hi all, I'm currently working on new revamped DUB documentation, check it out if you want, it currently contains most old documentation plus a big bunch of new documentation: [...] Looks really great. Thanks for doing this.

Re: New WIP DUB documentation

2022-08-16 Thread Sönke Ludwig via Digitalmars-d-announce
Looking good, having SDL+JSON on the same page is especially nice and something I've been wanting to fix for a while. Also definitely a good idea to use a static generator now that the documentation is separate. One question, though - do you generate the CLI documentation from the DUB

Re: New WIP DUB documentation

2022-08-15 Thread Ruby The Roobster via Digitalmars-d-announce
On Monday, 15 August 2022 at 21:32:23 UTC, WebFreak001 wrote: [SNIP] I like the idea, making dub easier to learn for those who are unfamiliar, but I have a singular request: Could you do a section on setting up a copy of dub-registry?

Re: New WIP DUB documentation

2022-08-15 Thread Anonymouse via Digitalmars-d-announce
On Monday, 15 August 2022 at 21:32:23 UTC, WebFreak001 wrote: [...] I like it! Can anything be done about the width of the `buildOptions` table though? The whole page takes up about about half of my horizontal screen real estate, yet the "corresponding GDC flags" column is still partially

Re: New WIP DUB documentation

2022-08-15 Thread rikki cattermole via Digitalmars-d-announce
It is pretty awesome, a lot easier to digest and get into!

New WIP DUB documentation

2022-08-15 Thread WebFreak001 via Digitalmars-d-announce
Hi all, I'm currently working on new revamped DUB documentation, check it out if you want, it currently contains most old documentation plus a big bunch of new documentation: https://docs.webfreak.org/ Repository: https://github.com/WebFreak001/dub-docs-v2 Instead of being based on diet