From 93d21820ac280a8f16a76d4accc7c56aaceee5ef Mon Sep 17 00:00:00 2001 From: Sandro Keil Date: Wed, 11 Jul 2018 22:07:31 +0200 Subject: [PATCH] Update guide structure --- .travis.yml | 2 +- book/arch/bookdown.json | 2 +- book/{ => guides}/bookdown.json | 8 +++----- bookdown.json | 23 +++++++++++++++++++++++ 4 files changed, 28 insertions(+), 7 deletions(-) rename book/{ => guides}/bookdown.json (67%) create mode 100644 bookdown.json diff --git a/.travis.yml b/.travis.yml index 8b276a3..18c5518 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ before_script: - composer install --prefer-dist --no-interaction --no-progress --no-suggest 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: provider: pages diff --git a/book/arch/bookdown.json b/book/arch/bookdown.json index d6a516f..901c1d9 100644 --- a/book/arch/bookdown.json +++ b/book/arch/bookdown.json @@ -1,5 +1,5 @@ { - "title": "YubiKey full disk encryption Arch Linux guide", + "title": "YKFDE Guide for Arch Linux", "content": [ {"getting-started": "01-getting-started.md"}, {"prepare-disk": "02-prepare-disk.md"}, diff --git a/book/bookdown.json b/book/guides/bookdown.json similarity index 67% rename from book/bookdown.json rename to book/guides/bookdown.json index f7f088a..e774696 100644 --- a/book/bookdown.json +++ b/book/guides/bookdown.json @@ -1,9 +1,7 @@ { - "title": "YubiKey full disk encryption guide", + "title": "YFDE Guides", "content": [ - {"intro": "../README.md"}, - {"changelog": "../CHANGELOG.md"}, - {"arch-linux": "arch/bookdown.json"} + {"arch-linux": "../arch/bookdown.json"} ], "theme": { "toc": { @@ -11,7 +9,7 @@ } }, "template": "bookdown/themes", - "tocDepth": 1, + "tocDepth": 2, "target": "../html", "numbering": false, "extensions": { diff --git a/bookdown.json b/bookdown.json new file mode 100644 index 0000000..3a28235 --- /dev/null +++ b/bookdown.json @@ -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" + ] + } +}