From c85778cca32443d45d2b4c814d0c92f921879bbf Mon Sep 17 00:00:00 2001 From: Jason Barry Date: Thu, 5 Dec 2024 09:37:55 -0500 Subject: [PATCH 1/2] Add ember-data dependency to the quickstart --- tests/dummy/app/templates/docs/quickstart.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/dummy/app/templates/docs/quickstart.md b/tests/dummy/app/templates/docs/quickstart.md index ac748031e..92d67d67e 100644 --- a/tests/dummy/app/templates/docs/quickstart.md +++ b/tests/dummy/app/templates/docs/quickstart.md @@ -2,10 +2,16 @@ ## 1. Install AddonDocs -``` +```sh ember install ember-cli-addon-docs ``` +[Ember Data](https://github.com/emberjs/data) is a required peer dependency, so if you're not already using it in your addon, you'll need to install it. + +```sh +ember install ember-data +``` + ## 2. Install ember-cli-addon-docs-yuidoc API docs are autogenerated from comments in your source code, and require an additional plugin to be installed. From 377d35668cf36a55188d1d6c4cc803638daed42f Mon Sep 17 00:00:00 2001 From: Jason Barry Date: Fri, 6 Dec 2024 11:18:59 -0500 Subject: [PATCH 2/2] Add ember-data to the blueprint --- blueprints/ember-cli-addon-docs/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/blueprints/ember-cli-addon-docs/index.js b/blueprints/ember-cli-addon-docs/index.js index b2f40b658..715910974 100644 --- a/blueprints/ember-cli-addon-docs/index.js +++ b/blueprints/ember-cli-addon-docs/index.js @@ -19,6 +19,7 @@ module.exports = { 'ember-cli-deploy-build', 'ember-cli-deploy-git', 'ember-cli-deploy-git-ci', + 'ember-data', ], }); },