Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
fix(build): path for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsc committed Jul 27, 2016
1 parent 37c8e9b commit 32241cd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@

Preview components in isolation with documentation, annotations and breakpoint controls.

## Live preview

* [Carousel](https://voorhoede.github.io/demo-viewer/#media/carousel/)
* [Media Object](https://voorhoede.github.io/demo-viewer/#media/media-object/)
* [Responsive Embed](https://voorhoede.github.io/demo-viewer/#media/responsive-embed/)

[Live preview](https://voorhoede.github.io/demo-viewer/)

## Contributing

Expand Down
4 changes: 2 additions & 2 deletions examples/bootstrap-v3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

<demo-viewer></demo-viewer>

<link rel="stylesheet" href="../demo-viewer.css">
<script src="../demo-viewer.js"></script>
<link rel="stylesheet" href="../../demo-viewer.css">
<script src="../../demo-viewer.js"></script>

<script>
window.demoViewer({
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h1>Demo viewer</h1>

<h2>Examples</h2>
<ul>
<li><a href="bootstrap-v3/">Bootstrap v3</a></li>
<li><a href="examples/bootstrap-v3/">Bootstrap v3</a></li>
</ul>

</body>
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"description": "Preview components in isolation with documentation, annotations and breakpoint controls.",
"scripts": {
"prebuild": "rimraf dist/ && mkdirp dist/",
"build": "npm-run-all --parallel build:css build:js copy:examples",
"build": "npm-run-all --parallel build:css build:js build:examples build:index",
"build:css": "node scripts/postcss.js",
"build:js": "npm run build:tags && npm run build:concat",
"build:tags": "riot --type none --ext tag.html src/modules/ dist/tags.js",
"copy:examples": "ncp ./examples/ ./dist/",
"postcopy:examples": "ncp ./index.html ./dist/index.html",
"build:examples": "ncp ./examples/ ./dist/examples/",
"build:index": "ncp ./index.html ./dist/index.html",
"build:concat": "concat-cli --files node_modules/riot/riot.min.js dist/tags.js src/index.js --output dist/demo-viewer.js",
"postbuild": "rimraf dist/tags.js",
"start": "http-server './dist' -c-1 -o -p 3366",
Expand Down

0 comments on commit 32241cd

Please sign in to comment.