Skip to content

Commit cdd96f0

Browse files
committed
Add a new empty book skeleton to port content into.
1 parent fbd45ca commit cdd96f0

File tree

6 files changed

+38
-2
lines changed

6 files changed

+38
-2
lines changed

.editorconfig

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ indent_style = space
1010
end_of_line = lf
1111
insert_final_newline = true
1212
trim_trailing_whitespace = true
13+
14+
[Makefile]
15+
indent_style = tab

.platform.app.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ build:
1313
web:
1414
locations:
1515
"/":
16-
root: "_books"
16+
root: "_book"
1717
passthru: "/index.php"
1818
index:
1919
- "index.html"
@@ -38,4 +38,5 @@ dependencies:
3838
# The hooks that will be performed when the package is deployed.
3939
hooks:
4040
build: |
41-
./build_all
41+
make build
42+
#./build_all

Makefile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
GITBOOK_VERSION = 3.2
2+
3+
all: gitbook-fetch
4+
5+
# Download Gitbook itself and any plugins specified.
6+
gitbook-fetch:
7+
gitbook install
8+
gitbook fetch $(GITBOOK_VERSION)
9+
10+
11+
build: gitbook-fetch
12+
gitbook build
13+
14+

book.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"title": "Platform.sh Documentation",
3+
"root": "src",
4+
"plugins": [
5+
"anchors",
6+
"reveal",
7+
"collapsible-menu",
8+
"codesnippet"
9+
]
10+
}

src/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Introduction
2+

src/SUMMARY.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Summary
2+
3+
## Part 1
4+
5+
6+
## Part 2

0 commit comments

Comments
 (0)