From bee64e10ecb17b88ff9b3714572c202d12e33887 Mon Sep 17 00:00:00 2001 From: Greg Althaus Date: Thu, 21 Jun 2018 12:05:36 -0500 Subject: [PATCH] Add autodocs for content packages to build output --- .gitignore | 2 ++ .travis.yml | 2 ++ tools/package.sh | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 8305434e..cee6d101 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,9 @@ drp-community-content.sha256 drp-community-content.yaml +drp-community-content.rst drp-community-contrib.sha256 drp-community-contrib.yaml +drp-community-contrib.rst content/._Version.meta contrib/._Version.meta key1* diff --git a/.travis.yml b/.travis.yml index 6831cbfb..d02a4fdd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,8 +27,10 @@ deploy: api_key: secure: fLwWEA4oJjfS7jjX9mnbnhTv7Dc7OfEjvbJslhJ8Kue71Oq8l4VzePJl1G6zhICNrcQjIWTSnBtQvAMvlby9ij/PY1d8U/8KvV/KHBE++iyyAXYPVBTiXs3QnrW/gQPKvcm3dnDgR25tl3Ygz/9mmGyUl2hv88bn70Ac8C/dqxiv7LuOCur4bgqBCAS0iOEt2LHkz2+1yFkKuDLHEIua1VEj37qGnKl3fPkWja/t1/O27trGInUnu2caESeQwkHV0+LgQ0rF9IIvV7ZEswdTrM6hQ6MyPePhhnOW0nDA1gejfoGVWhAiSJgHPIDku6CH70r5JRvckqB73l+/CfC4xcP3Bq95T2Ci2GeTE7/fEMq7APQasI/g9JB9QlZlpj+9P/yWaL1VpvF7If4eHm8hSqYZwqPcuFAou2vIFqZvL19KqUJWTQldr01caZmuuA+ZQTTzFHA+1/WRs5X3M6aDirO2ZYHB6Bg1VlQ5Y5wTeal75Lo5GL0BzhN3PAO979RbitDdOLWHx/PjBnbI2IxO1kTtu7evFDvHM+9+MWpUeJckRhnzG1kqodgqzlbFfacNWuQe2s32RIwzSstO7FtwbDCGPTzlGntJpC3HaYlVt1Q09rr/fILEHXywkn1FPDmSmJZvW+bLYEA8wxWX8Vo77lWFK3Qo9W0ma4HCqnFOmyc= file: + - drp-community-content.rst - drp-community-content.yaml - drp-community-content.sha256 + - drp-community-contrib.rst - drp-community-contrib.yaml - drp-community-contrib.sha256 skip_cleanup: true diff --git a/tools/package.sh b/tools/package.sh index dc120f35..10f92bff 100755 --- a/tools/package.sh +++ b/tools/package.sh @@ -21,12 +21,14 @@ esac PATH=$PATH:$GOPATH/bin which drbundler || go get -u github.com/digitalrebar/provision/cmds/drbundler +which drpcli || go get -u github.com/digitalrebar/provision/cmds/drpcli . tools/version.sh for dir in content contrib ; do echo -n "$Prepart$MajorV.$MinorV.$PatchV$Extra-$GITHASH" > $dir/._Version.meta drbundler $dir drp-community-$dir.yaml + drpcli contents document drp-community-$dir.yaml > drp-community-$dir.rst $shasum drp-community-$dir.yaml > drp-community-$dir.sha256 done