diff options
author | Matthew Hodgson <matthew@matrix.org> | 2014-10-17 02:08:41 +0100 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2014-10-17 02:09:07 +0100 |
commit | be2a9a8d1a1650f0963c9cfdba4608bdfb88fc66 (patch) | |
tree | 7ab26adcc32cfbcd68d6c8034c48f2f5ba582692 /scripts/gendoc.sh | |
parent | Remove warning since the end result is still $sanitize'd (diff) | |
download | synapse-be2a9a8d1a1650f0963c9cfdba4608bdfb88fc66.tar.xz |
move gendoc into matrix-doc project
Diffstat (limited to 'scripts/gendoc.sh')
-rwxr-xr-x | scripts/gendoc.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/gendoc.sh b/scripts/gendoc.sh deleted file mode 100755 index 64aff3155e..0000000000 --- a/scripts/gendoc.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash - -MATRIXDOTORG=$HOME/workspace/matrix.org - -rst2html-2.7.py --stylesheet=basic.css,nature.css ../docs/specification.rst > $MATRIXDOTORG/docs/spec/index.html -rst2html-2.7.py --stylesheet=basic.css,nature.css ../docs/client-server/howto.rst > $MATRIXDOTORG/docs/howtos/client-server.html - -perl -pi -e 's#<head>#<head><link rel="stylesheet" href="/site.css">#' $MATRIXDOTORG/docs/spec/index.html $MATRIXDOTORG/docs/howtos/client-server.html - -perl -pi -e 's#<body>#<body><div id="header"><div id="headerContent"> </div></div><div id="page"><div id="wrapper"><div style="text-align: center; padding: 40px;"><a href="/"><img src="/matrix.png" width="305" height="130" alt="[matrix]"/></a></div>#' $MATRIXDOTORG/docs/spec/index.html $MATRIXDOTORG/docs/howtos/client-server.html - -perl -pi -e 's#</body>#</div></div><div id="footer"><div id="footerContent">© 2014 Matrix.org</div></div></body>#' $MATRIXDOTORG/docs/spec/index.html $MATRIXDOTORG/docs/howtos/client-server.html - -scp -r $MATRIXDOTORG/docs matrix@ldc-prd-matrix-001:/sites/matrix \ No newline at end of file |