docsy support

This commit is contained in:
Aleksander Cynarski 2020-09-01 15:37:40 +02:00
parent 27fa3c7818
commit 050b220e7b
2 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -4,4 +4,3 @@ hugo_stats.json
public/
resources/
node_modules/
init_docsy.sh

9
init_docsy.sh Executable file
View File

@ -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