Skip to content

Commit

Permalink
chore(getting-started): load our GETTING_STARTED.md in the docs (#505)
Browse files Browse the repository at this point in the history
we need to show our GETTING_STARTED information easier by loading it in the docs site.
  • Loading branch information
emoralesb05 authored Apr 12, 2017
1 parent 193bc90 commit 6f089fa
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions .angular-cli.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"root": "src",
"outDir": "dist",
"assets": [
{ "glob": "**/*", "input": "../docs", "output": "./docs/" },
"app/assets",
"platform",
"favicon.ico"
Expand Down
5 changes: 4 additions & 1 deletion docs/GETTING_STARTED.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Getting Started

Get started with Covalent using the Angular CLI.

See the [material getting started](https://github.com/angular/material2/blob/master/guides/getting-started.md) for instructions.
Expand Down Expand Up @@ -113,7 +115,8 @@ or

If you're not using the Angular CLI, you can use any existing Sass tooling to build the file (such as gulp-sass or grunt-sass). The simplest approach is to use the node-sass CLI; you simply run:

node-sass src/themes.scss dist/themes.css
`node-sass src/themes.scss dist/themes.css`

and then include the output file in your application.

The theme file can be concatenated and minified with the rest of the application's css.
Expand Down
3 changes: 3 additions & 0 deletions src/app/components/docs/docs.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import { TestingComponent } from './testing/testing.component';
import { ThemeComponent } from './theme/theme.component';
import { MockDataComponent } from './mock-data/mock-data.component';

import { DocumentationToolsModule } from '../../documentation-tools';

import { CovalentCoreModule } from '../../../platform/core';
import { CovalentHighlightModule } from '../../../platform/highlight';

Expand All @@ -34,6 +36,7 @@ import { CovalentHighlightModule } from '../../../platform/highlight';
imports: [
CovalentCoreModule,
CovalentHighlightModule,
DocumentationToolsModule,
docsRoutes,
],
})
Expand Down
9 changes: 5 additions & 4 deletions src/app/components/docs/overview/overview.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<td-readme-loader resourceUrl="docs/GETTING_STARTED.md"></td-readme-loader>
<md-card>
<md-card-title>Getting Started</md-card-title>
<md-card-subtitle>Start using the Teradata UI Platform</md-card-subtitle>
<md-card-title>Quickstart Setup</md-card-title>
<md-card-subtitle>Start using the Covalent Quickstart</md-card-subtitle>
<md-divider></md-divider>
<md-card-content>
<h3>Covalent Quickstart</h3>
Expand Down Expand Up @@ -41,9 +42,9 @@ <h4>If you don't have the Angular CLI, install:</h4>
<td-highlight lang="bash">
npm i -g @angular/cli@latest
</td-highlight>
<h4>Install Typescript 2.0:</h4>
<h4>Install Typescript:</h4>
<td-highlight lang="bash">
npm install -g typescript@2.0.2
npm install -g typescript
</td-highlight>
<h4>To install Protractor & TSLint for testing:</h4>
<td-highlight lang="bash">
Expand Down

0 comments on commit 6f089fa

Please sign in to comment.