@janmeier yeah that's a difficult thingy with no obvious / ideal solution.
the problem i see: with each nesting level you somehow indent and thus loose horizontal space, which (after some levels) get unreadable
Jan Aagaard Meier
@janmeier
Yeah that's true
Gerhard Preuss
@lipp
without nesting you loose readability in terms of context
Jan Aagaard Meier
@janmeier
If you indent you can write hooks instead of options.hooks, which makes the line a bit shorter
But all in all you loose space
Gerhard Preuss
@lipp
maybe there is a clever way to combine both? for instance a nested (abbreviated) variant which could unfold...
Jan Aagaard Meier
@janmeier
Folding would be nice :)
Gerhard Preuss
@lipp
maybe you can create an issue concerning the nested parameter problem? so i'll keep it on TODO. right now there are some other things which are more urgent from my point of view.
Jan Aagaard Meier
@janmeier
Only problem might be searchability
Sure :)
Gerhard Preuss
@lipp
true
search panel is also on the list :)
thanks for the great feedback!
Jan Aagaard Meier
@janmeier
You're welcome! :)
Currently we use a custom script to generate the docs and host them on readthedocs - But it still requires me to run that script and update the files from time to time. And a lot of people try to edit the docs directly instead of the comments
Gerhard Preuss
@lipp
ok, ... i think this "keeping information twice" can be a problem
if you have any wishes / critic on anything, don't hesitate to say so!
if you have any plans to merge back to main repo there are two things:
organization support is not implemented yet. working on it and hopefully coming within 1-2 weeks
2) before accepting the PR (for instance containing the .doclets.yml file) the targeted repo should be added/enabled to doclets.io beforehand.
_
(else doclets.io will miss the webhook)
Jan Aagaard Meier
@janmeier
Definitely agreed, the two are almost always out of sync ;)
Do you know if tonic allows you to have like a default setup for all playgrounds? I'm thinking along the lines of for sequelize we'd need to setup a new instance and define some default models for all playgrounds - And i wouldn't want that setup to be visible
Gerhard Preuss
@lipp
i dont think this is possible
would be really great to have though
maybe doclets could give you something in the doclets.yml file for reference in the jsdoc comments...
/**
*
* @playground simple
* var x = somestuff.from.simple.setup
*
*/
the rendered playground would then "paste" the stuff together...
ot better just
/**
*
* @playground ./doc/simple.js
* var x = somestuff.from.simple.setup
*
*/
Jan Aagaard Meier
@janmeier
@lipp I've managed to get sequelize docs more or less finished for doclets :D
Just wanted to hear if you have any idea when github organization support might be added
(And yes, I know that's a terrible question to ask an open source maintainer - Let me know if I can help out)
Daniel K.
@FredyC
hey, I am just trying to run doclets locally, but I am not sure where to get docker-compose ... I tried installing with NPM, but that doesn't expose any bin, so I guess it's more complicated I never used Docker before ... is it possible on Windows ?
saidaipparla
@saidaipparla
hello if have a folder like js/component.js how i can i add that in .doclets.yml