Add documentation for legacy_param() in the header where it is defined#21447
Add documentation for legacy_param() in the header where it is defined#21447frivoal wants to merge 1 commit into
Conversation
|
We have the dev-docs, i think such stuff should be there |
|
Does the text look reasonable otherwise? If so, I'll revise this PR to move it. |
Yes :-) pinging @kofa73 as he did most of the work on the dev-docs |
Looks perfect to me too. |
|
@frivoal : The documentation should probably be placed here: |
I think those comments look good; could @frivoal please simply add a sentence to the dev-docs mentioning the documentation you provided as a comment? There's no point repeating the same text in the docs, and your comment is clear. Maybe the importance of using |
|
I'm sure you could do better, but I am happy to do it, as a small exercise on the way to get familiar with the code base. I appreciate if you can bear with me (and understand if you don't have the time and just want to be done with it). I am a little unsure about how to balance comments in the header, vs in the sample My intuition would be:
But for instance, are the |
|
I think .h would define the interface, what callers should know (how to use the function). Since |
|
I think a
Yes about "prefer one central source of info" |
|
Should we add a Coding_Conventions.md or Security.md ? Definitely Coding_Conventions.md. I agree with @jenshannoschwalm about security.md and privacy.md. If darktable somehow becomes multi-user then maybe those documents would be useful. |
See #21441