Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Merge pull request #96 from digitalrebar/auto-doc
Browse files Browse the repository at this point in the history
Add autodocs for content packages to build output
  • Loading branch information
galthaus authored Jun 21, 2018
2 parents 01d388b + bee64e1 commit 100a54d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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*
Expand Down
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions tools/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 100a54d

Please sign in to comment.