Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit e473f9d

Browse files
committed
docs: make dtv2 files as default
- all dtv1 md files are suffixed `-dtv1.md` - Deprecated menus are now hidden in v2 but the URLs will still work.
1 parent f4d0ef3 commit e473f9d

File tree

94 files changed

+572
-415
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+572
-415
lines changed

demo/src/app/advanced/custom-range-search.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
<br />
1414
<table datatable [dtOptions]="dtOptions" class="row-border hover"></table>
1515
</ng-template>
16-
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdHTMLV2]="mdHTML" [mdTSV2]="mdTSV2" [mdTS]="mdTS" [template]="preview">
16+
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [mdTSV1]="mdTSV1" [template]="preview">
1717
</app-base-demo>

demo/src/app/advanced/custom-range-search.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export class CustomRangeSearchComponent implements OnDestroy, OnInit {
1414
mdIntro = 'assets/docs/advanced/custom-range/intro.md';
1515
mdHTML = 'assets/docs/advanced/custom-range/source-html.md';
1616
mdTS = 'assets/docs/advanced/custom-range/source-ts.md';
17-
mdTSV2 = 'assets/docs/advanced/custom-range/source-ts-dtv2.md';
17+
mdTSV1 = 'assets/docs/advanced/custom-range/source-ts-dtv1.md';
1818

1919
@ViewChild(DataTableDirective, {static: false})
2020
datatableElement!: DataTableDirective;

demo/src/app/advanced/dt-instance.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
</blockquote>
1010
<table datatable [dtOptions]="dtOptions" class="row-border hover"></table>
1111
</ng-template>
12-
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdHTMLV2]="mdHTML" [mdTS]="mdTS" [mdTSV2]="mdTSV2" [template]="preview">
12+
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [mdTSV1]="mdTSV1" [template]="preview">
1313
</app-base-demo>

demo/src/app/advanced/dt-instance.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class DtInstanceComponent implements OnInit {
1313
mdIntro = 'assets/docs/advanced/dt-instance/intro.md';
1414
mdHTML = 'assets/docs/advanced/dt-instance/source-html.md';
1515
mdTS = 'assets/docs/advanced/dt-instance/source-ts.md';
16-
mdTSV2 = 'assets/docs/advanced/dt-instance/source-ts-dtv2.md';
16+
mdTSV1 = 'assets/docs/advanced/dt-instance/source-ts-dtv1.md';
1717

1818
@ViewChild(DataTableDirective, {static: false})
1919
datatableElement: DataTableDirective|undefined;

demo/src/app/advanced/individual-column-filtering.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
</tfoot>
1010
</table>
1111
</ng-template>
12-
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdHTMLV2]="mdHTML" [mdTS]="mdTS" [mdTSV2]="mdTSV2" [template]="preview">
12+
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [mdTSV1]="mdTSV1" [template]="preview">
1313
</app-base-demo>

demo/src/app/advanced/individual-column-filtering.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export class IndividualColumnFilteringComponent implements OnInit, AfterViewInit
1313
mdIntro = 'assets/docs/advanced/indi-col-filter/intro.md';
1414
mdHTML = 'assets/docs/advanced/indi-col-filter/source-html.md';
1515
mdTS = 'assets/docs/advanced/indi-col-filter/source-ts.md';
16-
mdTSV2 = 'assets/docs/advanced/indi-col-filter/source-ts-dtv2.md';
16+
mdTSV1 = 'assets/docs/advanced/indi-col-filter/source-ts-dtv1.md';
1717

1818
@ViewChild(DataTableDirective, {static: false})
1919
datatableElement!: DataTableDirective;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<ng-template #preview>
22
<table datatable [dtOptions]="$any(dtOptions)" class="row-border hover"></table>
33
</ng-template>
4-
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [mdTSV2]="mdTSV2" [template]="preview">
4+
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [mdTSV1]="mdTSV1" [template]="preview">
55
</app-base-demo>

demo/src/app/advanced/load-dt-options-with-promise.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class LoadDtOptionsWithPromiseComponent implements OnInit {
1212
mdIntro = 'assets/docs/advanced/load-dt-opt-with-promise/intro.md';
1313
mdHTML = 'assets/docs/advanced/load-dt-opt-with-promise/source-html.md';
1414
mdTS = 'assets/docs/advanced/load-dt-opt-with-promise/source-ts.md';
15-
mdTSV2 = 'assets/docs/advanced/load-dt-opt-with-promise/source-ts-dtv2.md';
15+
mdTSV1 = 'assets/docs/advanced/load-dt-opt-with-promise/source-ts-dtv1.md';
1616

1717
dtOptions!: Promise<Config>;
1818

demo/src/app/advanced/multiple-tables.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ <h5 class="header">Table 2</h5>
1111
<table id="second-table" datatable [dtOptions]="dtOptions[1]" class="row-border hover"></table>
1212

1313
</ng-template>
14-
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdHTMLV2]="mdHTML" [mdTS]="mdTS" [mdTSV2]="mdTSV2" [template]="preview">
14+
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [mdTSV1]="mdTSV1" [template]="preview">
1515
</app-base-demo>

demo/src/app/advanced/multiple-tables.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class MultipleTablesComponent implements OnInit {
1212
mdIntro = 'assets/docs/advanced/multiple-tables/intro.md';
1313
mdHTML = 'assets/docs/advanced/multiple-tables/source-html.md';
1414
mdTS = 'assets/docs/advanced/multiple-tables/source-ts.md';
15-
mdTSV2 = 'assets/docs/advanced/multiple-tables/source-ts-dtv2.md';
15+
mdTSV1 = 'assets/docs/advanced/multiple-tables/source-ts-dtv1.md';
1616

1717
@ViewChildren(DataTableDirective)
1818
dtElements!: QueryList<DataTableDirective>;

0 commit comments

Comments
 (0)