-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* v4.8.0 * Designate rfcs.emberjs.com as the source of truth for RFCs * Update index.md * Add dictionary changes * Add formatters * Fix errors * stop outputting `no issues found` on every file * Remove `ember-gestures` addon recommendation `ember-gestures` and its dependency, `ember-hammertime`, are no longer maintained and do not function at all on recent versions of Ember. Refs: - html-next/ember-gestures#139 - html-next/ember-hammertime#103 * v4.9.0 * Update setupTest function imports * Add SkoebaSteve's changes to other guides versions (#1890) SkoebaSteve updated the helpers content for v4.5 to cover how to use local helpers. This commit copies those changes into more recent guides versions as well. Co-authored-by: Steef Janssen <[email protected]> Co-authored-by: Steef Janssen <[email protected]> * controllers: fix broken link to API docs The link to the Controller API docs is broken, so when anyone clicks it they'll be met with a 404 error. Let's fix up that link so that the user navigates to the top level of the Controller API docs instead (as this link did up until 4.8). This closes ember-learn/guides-source#1880. * Update autotracking in-depth guides to use @cached decorator (#1886) (#1887) * v4.10.0 (#1892) * setup: remove all historical versions * feat: setup project to use guide-sources internally (#4) * feat: setup project to use guide-sources internally * fix: apply suggestions from code review Co-authored-by: Marine Dunstetter <[email protected]> Co-authored-by: Marine Dunstetter <[email protected]> * Docs/ update and translate `README.md` (#5) * docs: update readme.md * docs: add LISEZMOI.md * docs: apply review suggestions to lisezmoi.md Co-authored-by: MrChocolatine <[email protected]> Co-authored-by: MrChocolatine <[email protected]> * Checkout upstream and go back to a full app Co-authored-by: Jared Galanis <[email protected]> Co-authored-by: Peter Wagenet <[email protected]> Co-authored-by: NullVoxPopuli <[email protected]> Co-authored-by: Chris Manson <[email protected]> Co-authored-by: David Taylor <[email protected]> Co-authored-by: Jen Weber <[email protected]> Co-authored-by: Steef Janssen <[email protected]> Co-authored-by: Geordan Neukum <[email protected]> Co-authored-by: Dan Knutsen <[email protected]> Co-authored-by: Anne-Greeth Schot-van Herwijnen <[email protected]> Co-authored-by: Guillaume Gérard <[email protected]> Co-authored-by: MrChocolatine <[email protected]>
- Loading branch information
1 parent
d9e1b54
commit e5bdb9e
Showing
321 changed files
with
61,722 additions
and
4,238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
/** | ||
Ember CLI sends analytics information by default. The data is completely | ||
anonymous, but there are times when you might want to disable this behavior. | ||
|
||
Setting `disableAnalytics` to true will prevent any data from being sent. | ||
*/ | ||
"disableAnalytics": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# unconventional js | ||
/blueprints/*/files/ | ||
/vendor/ | ||
|
||
# compiled output | ||
/dist/ | ||
/tmp/ | ||
/public/assets/ | ||
|
||
# dependencies | ||
/bower_components/ | ||
/node_modules/ | ||
|
||
# misc | ||
/coverage/ | ||
!.* | ||
|
||
# ember-try | ||
/.node_modules.ember-try/ | ||
/bower.json.ember-try | ||
/package.json.ember-try |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
root: true, | ||
parser: 'babel-eslint', | ||
parserOptions: { | ||
ecmaVersion: 2018, | ||
sourceType: 'module', | ||
ecmaFeatures: { | ||
legacyDecorators: true | ||
} | ||
}, | ||
plugins: [ | ||
'ember' | ||
], | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:ember/recommended' | ||
], | ||
env: { | ||
browser: true | ||
}, | ||
rules: { | ||
'ember/no-jquery': 'error' | ||
}, | ||
overrides: [ | ||
// node files | ||
{ | ||
files: [ | ||
'.eslintrc.js', | ||
'.template-lintrc.js', | ||
'ember-cli-build.js', | ||
'testem.js', | ||
'blueprints/*/index.js', | ||
'config/**/*.js', | ||
'lib/*/index.js', | ||
'server/**/*.js' | ||
], | ||
parserOptions: { | ||
sourceType: 'script' | ||
}, | ||
env: { | ||
browser: false, | ||
node: true | ||
} | ||
}, | ||
// node tests | ||
{ | ||
files: [ | ||
'node-tests/**/*.js' | ||
], | ||
env: { | ||
node: true, | ||
mocha: true | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 2018 | ||
}, | ||
rules: { | ||
"func-names": 0, | ||
"prefer-arrow-callback": 0, | ||
"no-unused-expressions": 0 | ||
}, | ||
} | ||
] | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
extends: 'octane', | ||
rules: { | ||
'no-implicit-this': false, | ||
'no-curly-component-invocation': false | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"ignore_dirs": ["tmp", "dist"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import Application from '@ember/application'; | ||
import Resolver from 'ember-resolver'; | ||
import loadInitializers from 'ember-load-initializers'; | ||
import config from './config/environment'; | ||
|
||
export default class App extends Application { | ||
modulePrefix = config.modulePrefix; | ||
podModulePrefix = config.podModulePrefix; | ||
Resolver = Resolver; | ||
} | ||
|
||
loadInitializers(App, config.modulePrefix); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{{#each @data as |page|}} | ||
{{#unless page.skipToc}} | ||
{{#if (includes page.id "toc-heading")}} | ||
<li class="toc-heading {{this.tocLevel}}"> | ||
{{page.title}} | ||
</li> | ||
|
||
{{else if page.pages}} | ||
<li class="toc-group {{this.tocLevel}}"> | ||
<CpPanel | ||
@open={{eq @currentSection.id page.id}} | ||
as |panel| | ||
> | ||
{{#if this.fastboot.isFastBoot}} | ||
<LinkTo | ||
@activeClass="selected" | ||
@model={{page.id}} | ||
@route="version.show" | ||
class="cp-Panel-toggle" | ||
data-test-toc-link={{page.title}} | ||
> | ||
{{page.title}} | ||
</LinkTo> | ||
{{else}} | ||
<panel.toggle | ||
data-test-toc-title={{page.title}} | ||
> | ||
{{page.title}} | ||
</panel.toggle> | ||
{{/if}} | ||
|
||
<panel.body> | ||
<TableOfContents | ||
@currentPage={{@currentPage}} | ||
@data={{page.pages}} | ||
@level={{inc (or @level 0)}} | ||
/> | ||
</panel.body> | ||
</CpPanel> | ||
</li> | ||
|
||
{{else}} | ||
<li | ||
class=" | ||
toc-link | ||
{{this.tocLevel}} | ||
{{if (eq @currentPage.url page.url) "selected"}} | ||
" | ||
> | ||
<LinkTo | ||
@activeClass="selected" | ||
@model={{page.url}} | ||
@route="version.show" | ||
data-test-toc-link={{page.title}} | ||
> | ||
{{page.title}} | ||
</LinkTo> | ||
</li> | ||
|
||
{{/if}} | ||
{{/unless}} | ||
{{/each}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { helper } from '@ember/component/helper'; | ||
|
||
export default helper(function includes([string = '', query]) { | ||
return string.includes(query); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta property="og:image" content="https://blog.emberjs.com/images/logos/e-icon.png" /> | ||
<meta name="twitter:card" content="summary" /> | ||
<meta name="twitter:site" content="@emberjs" /> | ||
<meta name="twitter:image" content="https://blog.emberjs.com/images/logos/e-icon.png" /> | ||
|
||
{{content-for "head"}} | ||
|
||
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css"> | ||
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/ember-fr-guides-source.css"> | ||
<link rel="shortcut icon" href="/images/favicon.png" /> | ||
|
||
{{content-for "head-footer"}} | ||
</head> | ||
<body> | ||
{{content-for "body"}} | ||
|
||
<script src="{{rootURL}}assets/vendor.js"></script> | ||
<script src="{{rootURL}}assets/ember-fr-guides-source.js"></script> | ||
|
||
{{content-for "body-footer"}} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import PageService from 'ember-fr-guides-source/services/page'; | ||
|
||
Object.defineProperty(PageService.prototype, 'pages', { | ||
get() { | ||
return this._pages; | ||
}, | ||
|
||
set(pages) { | ||
if (pages) { | ||
this._pages = pages.filter(page => { | ||
const pageId = page.id ?? ''; | ||
|
||
return !pageId.includes('toc-heading'); | ||
}); | ||
} | ||
} | ||
}); | ||
|
||
export function initialize() {} | ||
|
||
export default { | ||
initialize, | ||
}; |
Oops, something went wrong.