Skip to content

Update some API docs to use template tag where appropriate - #21468

Merged
kategengler merged 35 commits into
mainfrom
kg-api-docs-template
Jun 12, 2026
Merged

kategengler merged 35 commits into
mainfrom
kg-api-docs-template

Conversation

@kategengler

@kategengler kategengler commented Jun 11, 2026 •

Copy link
Copy Markdown
Member

Using ```handlebars is still appropriate for snippets of template.

Rewrote the mut docs because they were wrong? They are probably less wrong now.

Also added some notes about built-ins.

fixes #21455

TODO

@github-actions

github-actions Bot commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

📊 Size report

Tarball size — 1.2 MB → 1.2 MB

dist/dev   0.01%↑

File Before (Size / Brotli) After (Size / Brotli)
./packages/@ember/array/index.js 17.1 kB / 4.2 kB 2%↑17.4 kB / 3%↑4.4 kB
./packages/@ember/component/index.js 44.4 kB / 10.2 kB 0.9%↑44.8 kB / 1%↑10.3 kB
./packages/@ember/helper/index.js 22.1 kB / 5.4 kB -3.97%↓21.2 kB / -1.9%↓5.3 kB
./packages/@ember/object/index.js 7.3 kB / 2 kB 4%↑7.6 kB / 4%↑2.1 kB
./packages/@ember/routing/router-service.js 24.9 kB / 5.3 kB 0.8%↑25.1 kB / 0.5%↑5.3 kB
./packages/shared-chunks/get-{hash}.js 3.7 kB / 1.1 kB -7.22%↓3.4 kB / -0.81%↓1.1 kB
./packages/shared-chunks/hash-{hash}.js 5.9 kB / 1.9 kB 2%↑6 kB / 2%↑1.9 kB
./packages/shared-chunks/helper-{hash}.js 10.9 kB / 3.5 kB 2%↑11.2 kB / 1%↑3.5 kB
./packages/shared-chunks/index-{hash}.js 78.5 kB / 19 kB -0.43%↓78.1 kB / 0.3%↑19.1 kB
Total (Includes all files) 2.1 MB / 492.1 kB 0.01%↑2.1 MB / 0.1%↑492.7 kB

dist/prod   0.01%↑

File Before (Size / Brotli) After (Size / Brotli)
./packages/@ember/array/index.js 15.3 kB / 4 kB 2%↑15.6 kB / 3%↑4.1 kB
./packages/@ember/component/index.js 40.2 kB / 9.4 kB 1%↑40.6 kB / 1%↑9.5 kB
./packages/@ember/helper/index.js 22.1 kB / 5.4 kB -3.97%↓21.2 kB / -1.98%↓5.2 kB
./packages/@ember/object/index.js 5.7 kB / 1.7 kB 5%↑6 kB / 5%↑1.8 kB
./packages/@ember/routing/router-service.js 23.7 kB / 5 kB 0.8%↑23.9 kB / 0.5%↑5.1 kB
./packages/shared-chunks/get-{hash}.js 3.7 kB / 1.1 kB -7.22%↓3.4 kB / -4.69%↓1.1 kB
./packages/shared-chunks/hash-{hash}.js 5.5 kB / 1.8 kB 2%↑5.7 kB / 2%↑1.8 kB
./packages/shared-chunks/helper-{hash}.js 10.2 kB / 3.3 kB 2%↑10.5 kB / 1%↑3.4 kB
./packages/shared-chunks/index-{hash}.js 66.4 kB / 16.2 kB -0.51%↓66.1 kB / 0.4%↑16.3 kB
Total (Includes all files) 1.9 MB / 450.2 kB 0.01%↑1.9 MB / 0.1%↑450.7 kB

smoke-tests/v2-app-template/dist   No changes

File Before (Size / Brotli) After (Size / Brotli)
Total (Includes all files) 348.1 kB / 94.7 kB 348.1 kB / 94.7 kB

smoke-tests/v2-app-hello-world-template/dist   No changes

File Before (Size / Brotli) After (Size / Brotli)
Total (Includes all files) 159.4 kB / 43.9 kB 159.4 kB / 43.9 kB

🤖 This report was automatically generated by wyvox/pkg-size

NullVoxPopuli
NullVoxPopuli previously approved these changes Jun 11, 2026
@kategengler

Copy link
Copy Markdown
Member Author

Full URLs are unused except when linking to a specific version of docs. I'm not going for this sidequest at this time since it should be eventually solved by the switch to typedoc.

NullVoxPopuli
NullVoxPopuli previously approved these changes Jun 12, 2026
@kategengler
kategengler merged commit 1350680 into main Jun 12, 2026
47 checks passed
@kategengler
kategengler deleted the kg-api-docs-template branch June 12, 2026 19:04
This was referenced Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove handlebars from API docs

2 participants