commit f2ac60245f95e97a588e394bca02472cf2446f68
parent 8244dc8bc4244ca3b9dcce2ef77cee3837c0a401
Author: Florian Dold <florian.dold@gmail.com>
Date: Thu, 29 Aug 2019 13:39:14 +0200
remove old docs stuff
Diffstat:
8 files changed, 1 insertion(+), 180 deletions(-)
diff --git a/bootstrap-docbuilder b/bootstrap-docbuilder
@@ -9,7 +9,7 @@
set -eu
BRANCH=master
-REPOS="bank merchant exchange deployment backoffice docs merchant-frontend-examples"
+REPOS="docs"
cd $HOME
diff --git a/taler-docbuild/Makefile b/taler-docbuild/Makefile
@@ -1,36 +1,7 @@
BASE="${HOME}/deployment/taler-docbuild"
all: docs-stamp
-all: backoffice-stamp
-all: bank-stamp exchange-stamp
-all: merchant-stamp
-all: tutorials-stamp
-all: deployment-stamp
-
-tutorials-stamp:
- ${BASE}/update_tutorials.sh
- touch $@
docs-stamp:
${BASE}/update_docs.sh
touch $@
-
-backoffice-stamp:
- ${BASE}/update_doc_backoffice.sh
- touch $@
-
-bank-stamp:
- ${BASE}/update_doc_bank.sh
- touch $@
-
-exchange-stamp:
- ${BASE}/update_doc_exchange.sh
- touch $@
-
-merchant-stamp:
- ${BASE}/update_doc_merchant.sh
- touch $@
-
-deployment-stamp:
- ${BASE}/update_onboarding.sh
- touch $@
diff --git a/taler-docbuild/update_doc_backoffice.sh b/taler-docbuild/update_doc_backoffice.sh
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-fetch () {
- git clean -fdx
- git fetch
- # reset to updated upstream branch, but only if we're tracking a branch
- branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo head)
- git reset --hard "$branch"
-}
-
-cd $HOME/backoffice/doc/
-fetch
-make
-mkdir -p $HOME/build/backoffice/pdf
-mkdir -p $HOME/build/backoffice/html
-cp manual.pdf $HOME/build/backoffice/pdf/
-cp manual.html $HOME/build/backoffice/html/
-cp *.css $HOME/build/backoffice/html/
diff --git a/taler-docbuild/update_doc_bank.sh b/taler-docbuild/update_doc_bank.sh
@@ -1,20 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-fetch () {
- git clean -fdx
- git fetch
- # reset to updated upstream branch, but only if we're tracking a branch
- branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo head)
- git reset --hard "$branch"
-}
-
-cd $HOME/bank
-fetch
-make html
-mkdir -p $HOME/build/bank/manual/pdf
-mkdir -p $HOME/build/bank/manual/html
-cp doc/taler-bank.pdf $HOME/build/bank/manual/pdf/
-cp doc/taler-bank.html $HOME/build/bank/manual/html/
-cp doc/*.css $HOME/build/bank/manual/html/
diff --git a/taler-docbuild/update_doc_exchange.sh b/taler-docbuild/update_doc_exchange.sh
@@ -1,30 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-fetch () {
- git clean -fdx
- git fetch
- # reset to updated upstream branch, but only if we're tracking a branch
- branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo HEAD)
- git reset --hard "$branch"
-}
-
-cd $HOME/exchange
-fetch
-./bootstrap
-./configure --enable-only-doc
-make pdf
-make html
-doxygen contrib/Doxyfile
-
-mkdir -p $HOME/build/exchange/manual/pdf/
-mkdir -p $HOME/build/exchange/manual/html
-mkdir -p $HOME/build/exchange/doxygen
-
-cp doc/taler-exchange.pdf $HOME/build/exchange/manual/pdf/
-cp doc/taler-exchange.html $HOME/build/exchange/manual/html/
-cp doc/*.css $HOME/build/exchange/manual/html/
-cp doc/*.png $HOME/build/exchange/manual/html/
-cp doc/*.js $HOME/build/exchange/manual/html/
-cp -r doxygen-doc/html/* $HOME/build/exchange/doxygen/
diff --git a/taler-docbuild/update_doc_merchant.sh b/taler-docbuild/update_doc_merchant.sh
@@ -1,27 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-fetch () {
- git clean -fdx
- git fetch
- # reset to updated upstream branch, but only if we're tracking a branch
- branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo HEAD)
- git reset --hard "$branch"
-}
-
-cd $HOME/merchant
-fetch
-./bootstrap
-./configure --enable-only-doc
-make
-make html pdf
-doxygen contrib/Doxyfile
-
-mkdir -p $HOME/build/merchant-backend/manual/pdf/
-mkdir -p $HOME/build/merchant-backend/manual/html
-mkdir -p $HOME/build/merchant-backend/doxygen
-
-cp doc/*.pdf $HOME/build/merchant-backend/manual/pdf/
-cp doc/*.{html,png,css,js} $HOME/build/merchant-backend/manual/html/
-cp -r doxygen-doc/html/* $HOME/build/merchant-backend/doxygen/
diff --git a/taler-docbuild/update_onboarding.sh b/taler-docbuild/update_onboarding.sh
@@ -1,24 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-fetch () {
- git clean -fdx
- git fetch
- # reset to updated upstream branch, but only if we're tracking a branch
- branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo head)
- git reset --hard "$branch"
-}
-
-cd $HOME/deployment
-fetch
-cd doc/
-make all
-
-mkdir -p $HOME/build/onboarding/html/
-mkdir -p $HOME/build/onboarding/pdf/
-
-cp *.css $HOME/build/onboarding/html/
-cp onboarding.html $HOME/build/onboarding/html/
-cp onboarding.pdf $HOME/build/onboarding/pdf/
-
diff --git a/taler-docbuild/update_tutorials.sh b/taler-docbuild/update_tutorials.sh
@@ -1,29 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-fetch () {
- git clean -fdx
- git fetch
- # reset to updated upstream branch, but only if we're tracking a branch
- branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo HEAD)
- git reset --hard "$branch"
-}
-
-cd $HOME/merchant-frontend-examples
-fetch
-make
-
-mkdir -p $HOME/build/merchant-frontend/php/pdf
-mkdir -p $HOME/build/merchant-frontend/php/html
-mkdir -p $HOME/build/merchant-frontend/python/pdf
-mkdir -p $HOME/build/merchant-frontend/python/html
-
-cp php/doc/tutorial.pdf $HOME/build/merchant-frontend/php/pdf/
-cp php/doc/tutorial.html $HOME/build/merchant-frontend/php/html/
-cp php/doc/*.css $HOME/build/merchant-frontend/php/html/
-cp php/doc/*.jpg $HOME/build/merchant-frontend/php/html/
-cp python/doc/tutorial.pdf $HOME/build/merchant-frontend/python/pdf/
-cp python/doc/tutorial.html $HOME/build/merchant-frontend/python/html/
-cp python/doc/*.css $HOME/build/merchant-frontend/python/html/
-cp python/doc/*.jpg $HOME/build/merchant-frontend/python/html/