Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
logo: classify(addonLogo(projectName)),
/**
The prefix of your project, typically "Ember", "EmberCLI" or "EmberData".
By default the prefix will be autodiscovered from the `name` field of your addon's package.json.
```hbs
{{docs-header prefix='EmberData'}}
```
@argument prefix
@type String?
*/
prefix: addonPrefix(projectName),
/**
The name of your project (without the "ember", "ember-cli" or "ember-data" prefix).
By default the name will be autodiscovered from the `name` field of your addon's package.json.
```hbs
{{docs-header name='MyProject'}}
```
@argument name
@type String?
*/
name: computed(function() {
let name = projectName;
name = name.replace('ember-data-', '');
@class DocsHero @public */ export default Component.extend({ layout, tagName: '',
/** The prefix to show, tyipcally of: 'Ember', 'EmberCLI', or 'EmberData'
@argument prefix
@type String
*/ prefix: addonPrefix(projectName),
/** The logo's main heading
@argument heading
@type String
*/ heading: classify(unprefixedAddonName(projectName)),
/** Byline for the logo
@argument byline
@type String
*/ byline: projectDescription,