Skip to content

Commit ee8fae9

Browse files
committed
docs: internal linking and organization
1 parent 91f1556 commit ee8fae9

File tree

9 files changed

+22
-23
lines changed

9 files changed

+22
-23
lines changed

docs/SUMMARY.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
* [Mixins](legacy/mixins.md)
2828
* [Computed Properties](legacy/computed-properties.md)
2929
* [EmberObject](legacy/ember-object.md)
30-
* [Legacy Ember Guide](legacy/overview.md)
3130
* [Upgrading from 1.x](upgrade-notes.md)
3231
* [Troubleshooting](troubleshooting/README.md)
3332
* [Conflicting Type Dependencies](troubleshooting/conflicting-types.md)

docs/ember-data/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# Working With Ember Data
22

3+
In this section, we cover how to use TypeScript effectively with specific Ember Data APIs \(anything you'd find under the `@ember-data` package namespace\).
4+
5+
We do _not_ cover general usage of Ember Data; instead, we assume that as background knowledge. Please see the Ember Data [Guides](https://guides.emberjs.com/release/models) and [API docs](https://api.emberjs.com/ember-data/release)!
6+

docs/ember-data/overview.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/ember/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
# Working With Ember
22

3+
In this section, we cover how to use TypeScript effectively with specific Ember APIs \(anything you'd find under the `@ember` package namespace\).
4+
5+
We do _not_ cover general usage of Ember; instead, we assume that as background knowledge. Please see the Ember [Guides](https://guides.emberjs.com/release/) and [API docs](https://api.emberjs.com/ember/release)!
6+

docs/ember/controllers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Controllers
22

3-
Like [routes](https://github.com/typed-ember/ember-cli-typescript/tree/3a434def8b8c8214853cea0762940ccedb2256e8/docs/ember/routes/README.md), controllers are just normal classes with a few special Ember lifecycle hooks and properties available.
3+
Like [routes](./routes.md), controllers are just normal classes with a few special Ember lifecycle hooks and properties available.
44

55
The main thing you need to be aware of is special handling around query params. In order to provide type safety for query param configuration, Ember's types specify that when defining a query param's `type` attribute, you must supply one of the allowed types: `'boolean'`, `'number'`, `'array'`, or `'string'` \(the default\). However, if you supply these types as you would in JS, like this:
66

docs/ember/overview.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/legacy/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
11
# Working With Ember Classic
22

3+
We emphasize the happy path of working with Ember in the [Octane Edition](https://emberjs.com/editions/octane/). However, there are times you’ll need to understand these details:
4+
5+
1. Most existing applications make heavy use of the pre-Octane \(“legacy”\) Ember programming model, and we support that model—with caveats.
6+
2. Several parts of Ember Octane \(specifically: routes, controllers, services, and class-based helpers\) continue to use these concepts under the hood, and our types support that—so understanding them may be important at times.
7+
8+
The rest of this guide is dedicated to helping you understand how `ember-cli-typescript` and the classic Ember system interact.
9+

docs/legacy/overview.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/troubleshooting/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
11
# Troubleshooting
2+
3+
Stuck with something? Hopefully one of the documents below can help. If not, file an issue on GitHub and we'll try to help you get it sorted (and it may end up in here).
4+
5+
## Outline
6+
7+
* [Conflicting Type Dependencies](./conflicting-types.md)

0 commit comments

Comments
 (0)