From 835e7a731b1735c5c074344d6d31b3f78af1b898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Bryx=C3=AD?= Date: Sun, 13 Apr 2025 17:11:59 +0200 Subject: [PATCH] docs: Wording for v2 addon format - Link to v2 addon format documentation. Not everyone understands what is this about. - Generic `documentingAddonAt` of value `addon` is confusing as it _might_ be "standard" ember folder. Bu using `my-awesome-addon` we hint that this is _user_ generated name. - For `addonSrcFolder` use _the default_ value of `src`. If the user just copy-pastes it, it will just work. --- tests/dummy/app/templates/docs/standalone-apps.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/dummy/app/templates/docs/standalone-apps.md b/tests/dummy/app/templates/docs/standalone-apps.md index 4f3f02745..28c31d83c 100644 --- a/tests/dummy/app/templates/docs/standalone-apps.md +++ b/tests/dummy/app/templates/docs/standalone-apps.md @@ -33,14 +33,14 @@ let app = new EmberApp(defaults, { }); ``` -If the addon is authored in v2 Addon Format `ember-cli-addon-docs` will look for the addon source code in `src` folder. +If the addon is authored in [v2 Addon Format](https://github.com/embroider-build/addon-blueprint) `ember-cli-addon-docs` will look for the addon source code in `src` folder. You may need to set `addonSrcFolder` config option if addon uses another folder: ```js let app = new EmberApp(defaults, { 'ember-cli-addon-docs': { - documentingAddonAt: '../addon', - addonSrcFolder: 'source', + documentingAddonAt: '../my-awesome-addon', + addonSrcFolder: 'src', } }); ```