Skip to content

Commit

Permalink
adds gitbook functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
tumregels committed Jun 5, 2016
1 parent 6dc41bb commit 8b79cab
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Expand Up @@ -2,4 +2,7 @@
.vagrant
test/step-*.log

_book/
node_modules/


20 changes: 20 additions & 0 deletions SUMMARY.md
@@ -0,0 +1,20 @@
# Summary

* [Introduction](README.md)
* [00 Vagrant Setup](step-00/README.md)
* [01 Basic inventory](step-01/README.md)
* [02 First modules and facts](step-02/README.md)
* [03 Groups and variables](step-03/README.md)
* [04 Playbooks](step-04/README.md)
* [05 Playbooks, pushing files on nodes](step-05/README.md)
* [06 Playbooks and failures](step-06/README.md)
* [07 Playbook conditionals](step-07/README.md)
* [08 Git module](step-08/README.md)
* [09 Extending to several hosts](step-09/README.md)
* [10 Templates](step-10/README.md)
* [11 Variables again](step-11/README.md)
* [12 Migrating to roles](step-12/README.md)
* [13 Using tags (TBD)](step-13/README.md)
* [14 Roles dependencies (TBD)](step-14/README.md)
* [15 Debugging (TBD)](step-15/README.md)
* [99 The end](step-99/README.md)
16 changes: 16 additions & 0 deletions book.json
@@ -0,0 +1,16 @@
{
"gitbook": "3.0.x",
"plugins": [
"edit-link@2.0.x",
"github@2.0.x"
],
"pluginsConfig": {
"edit-link": {
"base": "https://github.com/leucos/ansible-tuto/tree/writing",
"label": "Edit"
},
"github": {
"url": "https://github.com/leucos/ansible-tuto"
}
}
}
35 changes: 35 additions & 0 deletions package.json
@@ -0,0 +1,35 @@
{
"name": "ansible-tuto",
"version": "0.1.0",
"description": "ansible step-by-step tutorial",
"main": "index.js",
"directories": {
"test": "test"
},
"dependencies": {
"gitbook-cli": "~2.2.0",
"gitbook-plugin-edit-link": "~2.0.2",
"gitbook-plugin-github": "~2.0.0"
},
"devDependencies": {},
"scripts": {
"docs:prepare": "gitbook install",
"docs:watch": "npm run docs:prepare && gitbook serve",
"docs:build": "npm run docs:prepare && rm -rf _book && gitbook build",
"docs:publish": "npm run docs:build && cd _book && git init && git commit --allow-empty -m 'Update docs' && git checkout -b gh-pages && git add . && git commit -am 'Update docs' && git push https://github.com/leucos/ansible-tuto gh-pages --force"
},
"repository": {
"type": "git",
"url": "git+https://github.com/leucos/ansible-tuto.git"
},
"keywords": [
"ansible",
"vagrant"
],
"author": "",
"license": "BSD",
"bugs": {
"url": "https://github.com/leucos/ansible-tuto/issues"
},
"homepage": "https://github.com/leucos/ansible-tuto#readme"
}

0 comments on commit 8b79cab

Please sign in to comment.