Skip to content

Commit

Permalink
Use mkdocs for publishing to github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
suryagaddipati committed Oct 24, 2015
1 parent 107adb2 commit 0b8d508
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -21,3 +21,4 @@ src/main/webapp/js/*dotci.js.map
_book
src/main/webapp/webcomponent-imports-vulcanized.html
src/main/webapp/css/dotci.css
site/
10 changes: 4 additions & 6 deletions Makefile
@@ -1,14 +1,12 @@
publish:
cd docs;\
rm -rf _book;\
gitbook build;\
cd ..;\
rm -rf site;\
mkdocs build;\
git checkout gh-pages;\
cp -R docs/_book/* .;\
cp -R site/* .;\
git add --all;\
git commit -am "Update docs";\
git push -f;\
git checkout master
serve:
cd docs && gitbook serve
mkdocs serve

0 comments on commit 0b8d508

Please sign in to comment.