From 050b220e7b9ef4141c9335eda227929c4c450160 Mon Sep 17 00:00:00 2001 From: Aleksander Cynarski Date: Tue, 1 Sep 2020 15:37:40 +0200 Subject: [PATCH] docsy support --- .gitignore | 1 - init_docsy.sh | 9 +++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100755 init_docsy.sh diff --git a/.gitignore b/.gitignore index f725dd7..895d23c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,3 @@ hugo_stats.json public/ resources/ node_modules/ -init_docsy.sh diff --git a/init_docsy.sh b/init_docsy.sh new file mode 100755 index 0000000..d9811dc --- /dev/null +++ b/init_docsy.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +hugo new site ./ +git init +git submodule add https://github.com/google/docsy.git themes/docsy +echo 'theme = "docsy"' >> config.toml +git submodule update --init --recursive +rm init_docsy.sh +