Skip to content

Commit

Permalink
feat(docs): New content management and generation logic for demo pages
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilAlexei committed Oct 27, 2017
1 parent b2576b1 commit 544ef14
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 54 deletions.
1 change: 1 addition & 0 deletions demo/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { routes } from './app.routing';
import { LandingComponent } from './common/landing/landing.component';
import { TopMenuComponent } from './common/top-menu/top-menu.component';
import { GettingStartedComponent } from './common/getting-started/getting-started.component';

import { ThemeStorage } from './theme/theme-storage';
import { StyleManager } from './theme/style-manager';
import { DocsModule } from './docs';
Expand Down
43 changes: 0 additions & 43 deletions demo/src/app/common/index.ts

This file was deleted.

15 changes: 4 additions & 11 deletions demo/src/app/docs/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ import { FormsModule } from '@angular/forms';
import { TabsModule } from 'ngx-bootstrap/tabs';
import { Ng2PageScrollModule } from 'ng2-page-scroll';
/* common */
import {
SidebarComponent,
AppFooterComponent,
AddNavComponent,
SearchFilterPipe
} from '../common';
import { AppFooterComponent } from '../common/app-footer/app-footer.component';
import { AddNavComponent } from '../common/add-nav/add-nav.component';
import { SidebarComponent } from '../common/sidebar/sidebar.component';
import { SearchFilterPipe } from '../common/sidebar/search-filter.pipe';
/* docs */
import { DemoSectionComponent } from './demo-section/demo-section.component';
import { ContentSection } from './models/content-section.model';
Expand Down Expand Up @@ -39,11 +37,6 @@ export { DemoTopSectionComponent } from './demo-section-components/demo-top-sect
export { ExamplesComponent } from './demo-section-components/demo-examples-section';
export { ApiSectionsComponent } from './demo-section-components/demo-api-section';
export { DocsSectionComponent } from './docs-section/docs-section.component';
export {
NgApiDocComponent,
NgApiDocClassComponent,
NgApiDocConfigComponent
} from './api-docs';

@NgModule({
declarations: [
Expand Down

0 comments on commit 544ef14

Please sign in to comment.