Wednesday, March 01, 2023
doc@conference.yunohost.org
March
Mon Tue Wed Thu Fri Sat Sun
    1
2
3
4
5
6
7
8
9
10 11
12
13
14 15 16 17 18 19
20 21 22
23
24 25 26
27 28
29
30
31
   
             

[18:09:49] <ljf> > <@Alekswag:matrix.org> yes, the config panel items ...

if we don't plan to add a lot of other type, it could just be a simple doc, not auto-generated...
[18:09:50] <tituspijean> that's me who wants to automate everything, sorry ^^
[18:09:50] <Aleks (he/him/il/lui)> sure but it's not like it's a huge work to put the doc inside the code, and that prevents from later having anyway to move the doc to the code
[18:09:50] <Aleks (he/him/il/lui)> i'll be glad to take the 30 minutes it takes to autogenerate the .md if somebody adds the docstring or whatever to each item
[18:30:28] <tituspijean> ```
# String question
#
# usage: non-multiline string
#
# Requires YunoHost version 4.blah or higher.
class StringQuestion(Question):
argument_type = "string"
default_value = ""
```
[18:30:28] <tituspijean> ah, I don't see how to document `text` type, which is multiline, then 😕
[18:30:28] <tituspijean> Nor where to document `bind` for example
[18:30:28] <tituspijean> I guess we could base ourselves on ljf's documentation in the initial PR: https://github.com/YunoHost/yunohost/pull/987