-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documenting Mixins with Maps #111
Comments
First is duplicate: #25. Second, linebreaks where? In the description? Description is parsed as markdown, so double space + cariage return should do the trick. |
First ok takes a while. Second can you Explain? When i want to make a break in Markdown i include a /**
* Include the Breakpoint from the Map
*
* @param {*} $target - The required Breakpoint
* @param {*} $mode - The Media Querie Mode. Values: 'between', 'max', 'min' ,'auto' (default - setup with mobile-first:true/false)
* @param {Map} $list ($kittn-breakpoint-map) - Connection to the Breakpoint Map
*/
@mixin break($target, $mode: auto, $list: $kittn-breakpoint-map) {...} |
Oh. Sorry, I didn't get it was in a parameter description. Undoable at the moment. If you think it's a key feature, you could open a ticket for this, and wait for @FWeinb's answer. |
@gisu and @hugogiraudel, was a ticket ever opened for this? I could not find one when browsing the issues. We've come across a similar situation in our framework. We currently use a method similar to @gisu for passing in options and merging defaults, but with our move to Sassdoc 2 we are exploring a slightly different method whereby the defaults are defined as a parameter to the function or mixin. There are a couple downsides to this method:
I'm happy to make an issue for this to get the discussion going and I have some ideas for what we're looking for, I just wanted to make sure such an issue hadn't already been created. |
Let's follow the discussion in #386 |
Hi i sitting for my own Framework that need to documented. What is the best Way to document Mixins with Maps - like this:
Sassdoc read only the first line (@param) the rest is lost. Is there a possible solution for?
Also i had some Mixins, with Vars that holds posible Values like: 'top', 'left', 'bottom', 'right', 'number' and 'bool'. Is it possible to include linebreaks, so the Description is more readable?
The text was updated successfully, but these errors were encountered: