This is the app that serves https://deprecations.emberjs.com/
You can link to a specific deprecation by using the ID of the deprecation. For example, to link to the deprecation with the ID my-old-api
, you can use the following URL:
https://deprecations.emberjs.com/id/my-old-api
. These URLs can be generated in advance of adding the deprecation guide, when the deprecation lands in the code.
When adding a deprecation the filename should match the ID of the deprecation, or the displayId
should be specified in the frontmatter.
The content folder contains all the deprecations that are listed by the website. To add a new deprecation, add it to the appropriate folder by creating a new file. The content of the file needs to follow a specific format for the app to work. You can see this sample for reference.
parent: deprecation-id
Can be used to nest deprecations under a parent grouping for the purpose of the UI. The deprecations will still be available via the direct ID URLs.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>
this repositorycd deprecation-app
npm install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Do you only see a blank page with a header and footer? Or maybe a 404? Make sure to visit http://localhost:4200/v3.x to view the app with data loaded in.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
npm run lint
npm run lint:fix
npm run build
(production)
The app is continuously deployed to Netlify when a pull request is merged and passes continuous integration.