-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
76 changed files
with
106 additions
and
230 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
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 |
---|---|---|
@@ -1,25 +1,12 @@ | ||
/* globals define, require */ | ||
import Application from '@ember/application'; | ||
import Resolver from './resolver'; | ||
import Resolver from 'ember-resolver'; | ||
import loadInitializers from 'ember-load-initializers'; | ||
import config from './config/environment'; | ||
import EmberRouter from '@ember/routing/router'; | ||
import config from 'dummy/config/environment'; | ||
|
||
// Including ember-cli-addon-docs breaks certain versions of Ember when testing | ||
// but they also break if we remove it. This defines a stub router which should | ||
// prevent breakage. | ||
if (!require.entries['ember-cli-addon-docs/router']) { | ||
define('ember-cli-addon-docs/router', () => { | ||
return EmberRouter; | ||
}); | ||
export default class App extends Application { | ||
modulePrefix = config.modulePrefix; | ||
podModulePrefix = config.podModulePrefix; | ||
Resolver = Resolver; | ||
} | ||
|
||
const App = Application.extend({ | ||
modulePrefix: config.modulePrefix, | ||
podModulePrefix: config.podModulePrefix, | ||
Resolver, | ||
}); | ||
|
||
loadInitializers(App, config.modulePrefix); | ||
|
||
export default App; |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...p/pods/components/custom-row/component.js → ...my/app/components/custom-row/component.js
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../header/sorting/empty-values/component.js → ...xamples/sorting-empty-values/component.js
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
File renamed without changes.
4 changes: 0 additions & 4 deletions
4
tests/dummy/app/pods/docs/index/template.md → .../app/components/index-content/template.md
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
2 changes: 1 addition & 1 deletion
2
...ble-meta-data/cell-selection/component.js → ...ble-meta-data/cell-selection/component.js
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
.../docs/guides/header/columns/controller.js → ...controllers/docs/guides/header/columns.js
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
2 changes: 1 addition & 1 deletion
2
...es/header/scroll-indicators/controller.js → ...s/docs/guides/header/scroll-indicators.js
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
2 changes: 1 addition & 1 deletion
2
...des/header/size-constraints/controller.js → ...rs/docs/guides/header/size-constraints.js
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
2 changes: 1 addition & 1 deletion
2
.../docs/guides/header/sorting/controller.js → ...controllers/docs/guides/header/sorting.js
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
2 changes: 1 addition & 1 deletion
2
...cs/guides/header/subcolumns/controller.js → ...trollers/docs/guides/header/subcolumns.js
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...es/main/table-customization/controller.js → ...s/docs/guides/main/table-customization.js
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
2 changes: 1 addition & 1 deletion
2
...guides/main/table-meta-data/controller.js → ...llers/docs/guides/main/table-meta-data.js
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
2 changes: 1 addition & 1 deletion
2
.../pods/scenarios/performance/controller.js → .../app/controllers/scenarios/performance.js
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
2 changes: 1 addition & 1 deletion
2
...y/app/pods/scenarios/simple/controller.js → ...dummy/app/controllers/scenarios/simple.js
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
import Route from '@ember/routing/route'; | ||
|
||
export default class IndexRoute extends Route { | ||
redirect() { | ||
this.transitionTo('docs'); | ||
} | ||
} |
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 @@ | ||
<DocsHeader /> | ||
|
||
{{outlet}} | ||
|
||
<DocsKeyboardShortcuts /> |
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,44 @@ | ||
<DocsViewer as |viewer|> | ||
<viewer.nav as |nav|> | ||
|
||
<nav.section @label="Introduction" /> | ||
|
||
<nav.item @label='Introduction' @route='docs.index' /> | ||
<nav.item @label='Quickstart' @route='docs.quickstart' /> | ||
<nav.item @label='Why Ember Table?' @route='docs.why-ember-table' /> | ||
|
||
<nav.section @label='Guides' /> | ||
|
||
<nav.item @label='A Basic Table' @route='docs.guides.main.basic-table' /> | ||
<nav.item @label='Table Customization' @route='docs.guides.main.table-customization' /> | ||
<nav.item @label='Table Meta Data' @route='docs.guides.main.table-meta-data' /> | ||
<nav.item @label='Styling the Table' @route='docs.guides.main.styling-the-table' /> | ||
<nav.item @label='Infinite Scroll' @route='docs.guides.main.infinite-scroll' /> | ||
|
||
<nav.section @label='Header' /> | ||
|
||
<nav.item @label='Columns' @route='docs.guides.header.columns' /> | ||
<nav.item @label='Subcolumns' @route='docs.guides.header.subcolumns' /> | ||
<nav.item @label='Fixed Columns' @route='docs.guides.header.fixed-columns' /> | ||
<nav.item @label='Size Constraints' @route='docs.guides.header.size-constraints' /> | ||
<nav.item @label='Sorting' @route='docs.guides.header.sorting' /> | ||
<nav.item @label='Scroll Indicators' @route='docs.guides.header.scroll-indicators' /> | ||
<nav.item @label='Column Keys' @route='docs.guides.header.column-keys' /> | ||
|
||
<nav.section @label='Body' /> | ||
|
||
<nav.item @label='Rows and Trees' @route='docs.guides.body.rows-and-trees' /> | ||
<nav.item @label='Row Selection' @route='docs.guides.body.row-selection' /> | ||
<nav.item @label='Occlusion' @route='docs.guides.body.occlusion' /> | ||
|
||
<nav.section @label='Testing' /> | ||
|
||
<nav.item @label='Table Test Page' @route='docs.testing.test-page' /> | ||
|
||
</viewer.nav> | ||
|
||
<viewer.main> | ||
{{outlet}} | ||
</viewer.main> | ||
|
||
</DocsViewer> |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ | ||
<DocsHero @byline="the power table for power users" /> | ||
|
||
<IndexContent /> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.