Update guide structure

This commit is contained in:
Sandro Keil
2018-07-11 22:07:31 +02:00
parent 801dd6dda8
commit 93d21820ac
4 changed files with 28 additions and 7 deletions

View File

@@ -15,7 +15,7 @@ before_script:
- composer install --prefer-dist --no-interaction --no-progress --no-suggest - composer install --prefer-dist --no-interaction --no-progress --no-suggest
script: script:
- vendor/bin/bookdown book/bookdown.json --root-href=http://sandrokeil.github.io/yubikey-full-disk-encryption-secure-boot-uefi/ - vendor/bin/bookdown bookdown.json --root-href=http://sandrokeil.github.io/yubikey-full-disk-encryption-secure-boot-uefi/
deploy: deploy:
provider: pages provider: pages

View File

@@ -1,5 +1,5 @@
{ {
"title": "YubiKey full disk encryption Arch Linux guide", "title": "YKFDE Guide for Arch Linux",
"content": [ "content": [
{"getting-started": "01-getting-started.md"}, {"getting-started": "01-getting-started.md"},
{"prepare-disk": "02-prepare-disk.md"}, {"prepare-disk": "02-prepare-disk.md"},

View File

@@ -1,9 +1,7 @@
{ {
"title": "YubiKey full disk encryption guide", "title": "YFDE Guides",
"content": [ "content": [
{"intro": "../README.md"}, {"arch-linux": "../arch/bookdown.json"}
{"changelog": "../CHANGELOG.md"},
{"arch-linux": "arch/bookdown.json"}
], ],
"theme": { "theme": {
"toc": { "toc": {
@@ -11,7 +9,7 @@
} }
}, },
"template": "bookdown/themes", "template": "bookdown/themes",
"tocDepth": 1, "tocDepth": 2,
"target": "../html", "target": "../html",
"numbering": false, "numbering": false,
"extensions": { "extensions": {

23
bookdown.json Normal file
View File

@@ -0,0 +1,23 @@
{
"title": "YubiKey Full Disk Encryption Guide",
"content": [
{"intro": "README.md"},
{"changelog": "CHANGELOG.md"},
{"guides": "book/guides/bookdown.json"}
],
"theme": {
"toc": {
"collapsibleFromLevel": 1
}
},
"template": "bookdown/themes",
"tocDepth": 2,
"target": "./html",
"numbering": false,
"extensions": {
"commonmark": [
"Webuni\\CommonMark\\TableExtension\\TableExtension",
"Webuni\\CommonMark\\AttributesExtension\\AttributesExtension"
]
}
}