Closed tysongach closed 8 years ago
Apparently we omitted argument
from the list of aliases: https://github.com/SassDoc/sassdoc/blob/master/src/annotation/annotations/parameter.js#L33. We should fix that. Ping @SassDoc/owners?
Created a PR to address that: https://github.com/SassDoc/sassdoc/pull/445.
Oh, @HugoGiraudel, you’re so fast. Do you sleep? :smile:
Thanks so much for your help, as always!
Thank you for reporting this issue. I will wait for a review from owners and we’ll issue a patch. :)
:+1:
Version 2.1.20 released. Should fix your issue. :)
Boom! Works like a charm.
Thanks @HugoGiraudel!
You rock. :sparkles:
Thanks Hugo!
Which means we are lacking tests for aliases...
I’m getting an when parsing SassDoc comments with the
@argument
annotation.The SassDoc guides indicate that
@argument
is an alias for@parameter
. However, if I use@argument
in place of@parameter
, I get this error:Here’s the documentation that I’m parsing:
To clarify, if I swap
@argument
for@parameter
, it works and I do not receive the warning. Even@param
and@arg
work just fine. It’s only when I use@argument
, specifically.