adobe-webplatform/dr.js — pull request #8 by taye (2013-12-31 16:57:56+00:00)
Title: Various fixes

- The title and subtitle are passed to the template function from the JSON file.
- The title of the generated document is `(it.title || '') + ' ' + (it.subtitle || 'API Reference')`
- The HTML heading and sub heading are `

{{= it.title || '' }}

{{= it.subtitle || 'API Reference' }}

`

- Scripts in the `scripts` array of the JSON config file are included in the generated HTML as described in `dr.js`'s documentaion (this functionality was lost in the transition to doT templating).

- "Returns:" in the generated documentation now to the left of the (object type)
- Before ![image](https://f.cloud.github.com/assets/1679746/1827603/28acf3be-723a-11e3-8bb1-7d15bd06d7b5.png)
- After ![image](https://f.cloud.github.com/assets/1679746/1827637/71cbe59a-723b-11e3-909c-e0092e64f00e.png)

- If a template is not given in the JSON config, `template.dot` is taken from Dr.js's directory, not the directory the command was run in.