Skip to content

Commit

Permalink
Merge pull request #202 from hannu/use-readme-overview
Browse files Browse the repository at this point in the history
Use Github readme as a demo project overview page
  • Loading branch information
Juuso Backman committed Nov 18, 2014
2 parents 535f042 + 0ef6b1c commit 670ded7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 58 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,11 @@ When sassVariables is defined and styleguide is served with the built-in server,

## Demo

Build demo styleguide and start a server
Build demo styleguide and start a server on port 3000

gulp demo
npm run demo

Note: If you installed styleguide by cloning repository directly instead of npm you need to run `gulp build` first
You can change the default port (3000) with `--port`;
Note: If you installed styleguide by cloning repository directly instead of npm you need to run `npm run build` first

The demo generates styleguide to `demo-output` directory.

Expand Down
52 changes: 0 additions & 52 deletions lib/app/overview.md

This file was deleted.

2 changes: 1 addition & 1 deletion lib/app/styleguide_config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "SC5 Styleguide",
"overviewPath": "overview.md",
"overviewPath": "../../README.md",
"styleVariables": "sass/_styleguide_variables.scss",
"sass": {
"src": "lib/app/sass/app.scss",
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@
"scripts": {
"test": "node_modules/istanbul/lib/cli.js cover --config=test/istanbul.conf.json --dir=coverage/mocha node_modules/mocha/bin/_mocha && node_modules/karma/bin/karma start test/karma.conf.js && node_modules/gulp/bin/gulp.js jscs",
"coverage-report": "node_modules/istanbul/lib/cli.js report --root ./coverage --dir ./coverage/report lcov",
"prepublish": "node_modules/gulp/bin/gulp.js build"
"prepublish": "node_modules/gulp/bin/gulp.js build",
"build": "node_modules/gulp/bin/gulp.js build",
"demo": "node_modules/gulp/bin/gulp.js demo"
}
}

0 comments on commit 670ded7

Please sign in to comment.