{
  "attributes": {
    "id": "getting-started",
    "linkText": "Getting Started",
    "title": "Getting Started"
  },
  "body": "{{#fountainhead-header tagName=\"h2\" elementId=\"installation\"}}Installation{{/fountainhead-header}}\n<p>Install Ember Fountainhead using Ember CLI:</p>\n<p><code>ember install ember-fountainhead</code></p>\n<p>{{#fountainhead-alert brand='info' dismiss=false}}\n{{fountainhead-svg svgId='info'}}Fountainhead's target Node version is the active LTS,\nas recommended by Ember. Using Fountainhead on previous versions may not be possible.\n{{/fountainhead-alert}}</p>\n<p><em><small>* Currently Ember Fountainhead must be used inside of an Ember application.</small></em></p>\n{{#fountainhead-header tagName=\"h2\" elementId=\"documentation-generation\"}}Documentation Generation{{/fountainhead-header}}\n<p>If you already have YUIDoc documentation comments block <em>(DocBlocks)</em> in your\nsource code, you can generate Fountainhead documentation data files with the\ncommand <code>ember docs</code>.</p>\n<p>By default Fountainhead will generate data files any time you build your app,\nas well as rebuild the files any time your app changes. This can be disabled\nusing the <a href=\"#configuration\">liveEdit</a> configuration.</p>\n<p>If you don't have DocBlock comments to your source code, you can start adding\nthem. Fountainhead uses <a href=\"https://yui.github.io/yuidoc/\">YUIDoc</a> for\nsource code DocBlock parsing. YUIDoc uses a syntax similar to JSDoc, but does not\nparse your source code, only the comments.</p>\n<p><em><small>See <a href=\"https://yui.github.io/yuidoc/syntax/index.html\">YUIDoc Syntax</a> for details\non YUIDoc tags.</small></em></p>\n{{#fountainhead-header tagName=\"h2\" elementId=\"excluding-from-production\"}}Excluding from Production{{/fountainhead-header}}\n<p>To exclude Fountainhead from your production builds you can <strong>blacklist</strong> in your\n<code>ember-cli-build</code> configuration using the <code>addons.blacklist</code> array:</p>\n<div class=\"code-block-file-name\">ember-cli-build.js</div>\n<pre class=\"language-javascript\"><code class=\"language-javascript\">module<span class=\"token punctuation\">.</span>exports <span class=\"token operator\">=</span> <span class=\"token keyword\">function</span><span class=\"token punctuation\">(</span>defaults<span class=\"token punctuation\">)</span> <span class=\"token punctuation\">{</span>\n  <span class=\"token keyword\">var</span> app <span class=\"token operator\">=</span> <span class=\"token keyword\">new</span> <span class=\"token class-name\">EmberApp</span><span class=\"token punctuation\">(</span>defaults<span class=\"token punctuation\">,</span> <span class=\"token punctuation\">{</span>\n    addons<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n      blacklist<span class=\"token punctuation\">:</span> EmberApp<span class=\"token punctuation\">.</span><span class=\"token function\">env</span><span class=\"token punctuation\">(</span><span class=\"token punctuation\">)</span> <span class=\"token operator\">===</span> <span class=\"token string\">'production'</span> <span class=\"token operator\">?</span> <span class=\"token punctuation\">[</span><span class=\"token string\">'ember-fountainhead'</span><span class=\"token punctuation\">]</span> <span class=\"token punctuation\">:</span> <span class=\"token punctuation\">[</span><span class=\"token punctuation\">]</span>\n    <span class=\"token punctuation\">}</span>\n  <span class=\"token punctuation\">}</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">;</span>\n\n  <span class=\"token keyword\">return</span> app<span class=\"token punctuation\">.</span><span class=\"token function\">toTree</span><span class=\"token punctuation\">(</span><span class=\"token punctuation\">)</span><span class=\"token punctuation\">;</span>\n<span class=\"token punctuation\">}</span><span class=\"token punctuation\">;</span>\n</code></pre>\n<!-- TODO: Delete when we add hash fragment nav handling -->\n<div id=\"configuration\"></div>\n{{#fountainhead-header tagName=\"h2\" elementId=\"configuration\"}}Configuration{{/fountainhead-header}}\n<p>The Ember Fountainhead addon as well as the data file generation process can\nbe configured in a <code>fountainhead.js</code> file located in your repo's root:</p>\n<div class=\"code-block-file-name\">fountainhead.js</div>\n<pre class=\"language-javascript\"><code class=\"language-javascript\">module<span class=\"token punctuation\">.</span>exports <span class=\"token operator\">=</span> <span class=\"token punctuation\">{</span>\n  entry<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">[</span><span class=\"token string\">'app'</span><span class=\"token punctuation\">]</span><span class=\"token punctuation\">,</span> <span class=\"token comment\" spellcheck=\"true\">// Defaults to 'app' for apps and 'addon' for addons</span>\n  output<span class=\"token punctuation\">:</span> <span class=\"token punctuation\">{</span>\n    path<span class=\"token punctuation\">:</span> <span class=\"token string\">'docs'</span> <span class=\"token comment\" spellcheck=\"true\">// path to save generated docs to</span>\n    filename<span class=\"token punctuation\">:</span> <span class=\"token string\">'fountainhead-data.json'</span> <span class=\"token comment\" spellcheck=\"true\">// name to save generated file to</span>\n  <span class=\"token punctuation\">}</span>\n<span class=\"token punctuation\">}</span>\n</code></pre>\n<p>{{#fountainhead-alert brand='info' dismiss=false}}\n{{fountainhead-svg svgId='info'}}See {{link-to 'Configuring Fountainhead' 'guides' 'configuration'}}\nfor all possible configuration options.\n{{/fountainhead-alert}}</p>\n{{#fountainhead-header tagName=\"h2\" elementId=\"addon-styles\"}}Addon Styles{{/fountainhead-header}}\n<p>Ember Fountainhead's styles are bundled into your <code>vendor.css</code> by\ndefault. The styles are scoped to addon namespaces to prevent conflicts with\nyour application's styles. You can disable style sheet bundling by setting\n<code>includeVendorStyles</code> to false in your <code>fountainhead.js</code> configuration file.</p>\n<p>If you'd like to extend Fountainhead's styles and your project uses SASS, you\ncan turn off the auto bundle to the vendor file and directly import Fountainhead\ninto your SASS: <code>@import 'ember-fountainhead'</code></p>\n<p><em><small>See the <a href=\"https://github.com/healthsparq/ember-fountainhead/tree/master/app/styles/ember-fountainhead/themes\">themes</a>\nfor variables you can override.</small></em></p>\n{{#fountainhead-header tagName=\"h2\" elementId=\"ember-component-playground\"}}Ember Component Playground{{/fountainhead-header}}\n<p>The <a href=\"https://github.com/healthsparq/ember-component-playground\">Ember Component Playground</a>\naddon is a great compliment to this addon that allows real time examples of\ncomponents. See the repo for installation.</p>\n",
  "frontmatter": "id: getting-started\nlinkText: Getting Started\ntitle: Getting Started",
  "id": "getting-started",
  "type": "guides"
}