Closed TimeTravelPenguin closed 1 month ago
Hello @TimeTravelPenguin ,
I am not sure if I understand correctly what you want to do. Should the the types be inferred automatically? Or do you just want to add information about the dictionary structure manually and the issue is about the formatting?
Note that you can put another space before the list items to prevent them being recognized as parameter documentation
/// Description
/// - name (string): The name of the flavour // not recognized as a parameter
///
/// - theme (string): ... // recognized as a parameter
Closing for now due to lack of response. Fell free to re-open this though!
I am curious if it is possible to make documentation showing the "types" of a dictionary variable.
Consider the following two cases:
In my documentation, I want to have a result that looks something like:
The second case is a bit more difficult since it has a nested schema. I was originally going to do this manually, but using
- name (type): desc
notation expects it to be documentation related to arguments, rather than just general text.Edit:
For additional demonstration, this is how I am currently doing things:
This ends up looking like this (ignore the applied theming):