docs-matrix-spec/scripts/generate-matrix-org-assets
Richard van der Hoff b0ea6038c6 Move jekyll back out of matrix-doc again
Having the jekyll assets here is a mistake, because they need to be versioned
separately to the spec: we keep old versions of the spec, but they sometimes
need to be restyled to match the latest website.
2017-08-03 15:49:17 +01:00

18 lines
517 B
Bash
Executable file

#!/bin/sh
#
# generate a tarball of assets suitable for the matrix.org site
cd `dirname $0`/..
mkdir -p assets
# generate the spec docs
./scripts/gendoc.py -d assets/spec
# also need the supporting-docs, which become the jekyll posts.
cp -rT supporting-docs assets/jekyll-posts
# create a tarball of the assets. Exclude the spec index for now, as
# we want to leave it pointing at the release versions of the specs.
# (XXX: how to maintain this?)
tar -czf assets.tar.gz --exclude="assets/spec/index.html" assets