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 +