Skip to content

Commit

Permalink
trying to deploy to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbmeyer committed Jun 30, 2016
1 parent 0dc9cd9 commit c643c00
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -13,3 +13,4 @@ test/builders/steal-tools/dist/
test/builders/steal-tools/bundle/dist/
test/builders/browserify/out.js
_backup/
index.html
20 changes: 20 additions & 0 deletions Makefile
@@ -0,0 +1,20 @@
publish-docs:
git checkout -b gh-pages
./node_modules/.bin/bit-docs -f
git add -f doc/
git add -f index.html
git add -f node_modules/jquery
git add -f node_modules/can-connect
git add -f node_modules/can-fixture
git add -f node_modules/can-set
git add -f node_modules/steal
git add -f node_modules/steal-qunit
git add -f node_modules/steal-systemjs
git add -f node_modules/steal-es6-module-loader
git add -f node_modules/steal-platform
git add -f node_modules/when
git commit -m "Publish docs"
git push -f origin gh-pages
git rm -q -r --cached node_modules
git checkout -
git branch -D gh-pages
3 changes: 1 addition & 2 deletions docs/can-canjs/can-core.md
@@ -1,7 +1,6 @@
@page can-core Core
@parent canjs
@description The best, most hardened and generally useful
libraries in CanJS.
@description The best, most hardened and generally useful libraries in CanJS.

@body

Expand Down
2 changes: 1 addition & 1 deletion docs/can-canjs/canjs.md
@@ -1,5 +1,5 @@
@page canjs CanJS

@dest ../index
@description A constantly evolving and improving set of client side JavaScript architectural libraries.

@body
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -84,8 +84,8 @@
"bit-docs-glob-finder": "^0.0.5",
"bit-docs-dev": "^0.0.3",
"bit-docs-js": "^0.0.5",
"bit-docs-generate-html": "^0.0.5",
"bit-docs-html-canjs": "^0.0.11",
"bit-docs-generate-html": "^0.0.9",
"bit-docs-html-canjs": "^0.0.13",
"bit-docs-prettify": "^0.0.3"
},
"glob": {
Expand Down

0 comments on commit c643c00

Please sign in to comment.