This works fine, and generates the expected output. But if we use {{#crossLink in the description, that cross link isn't generated (instead the raw {{#crossLink text is displayed as if it hadn't been parsed).
/**
* Component my-foo. Takes an {{#crossLink 'X'}}x{{/crossLink}} and presents it.
*
* Usage:
* {{my-foo x=y}}
*
* @class MyFooComponent
*/
That is, the crossLink in the second example isn't parsed.
Second issue is that linking to a method or attribute within a class doesn't seem to work at all:
We're using
ember-cli-yuidoc
but are running into a couple issues withcrossLink
.First, we sometimes document our components like this:
This works fine, and generates the expected output. But if we use
{{#crossLink
in the description, that cross link isn't generated (instead the raw {{#crossLink text is displayed as if it hadn't been parsed).That is, the crossLink in the second example isn't parsed.
Second issue is that linking to a method or attribute within a class doesn't seem to work at all:
where
id
is an inherited property fromDS.Model
.Are we doing something wrong?