enabled branding of the testkit docs
[feisty_meow.git] / testkit / doc / rebrand.sh
1 #!/bin/bash
2
3 # makes a new copy of the testkit reference with branding info installed.
4
5 echo "Rebranding the TestKit reference for: $TESTKIT_BRANDING"
6
7 # pull in our testkit config.
8 source ../prepare_tools.sh ../prepare_tools.sh 
9 source $TESTKIT_ROOT/library/process_configuration.sh
10 define_and_export_variables
11
12 # just a search and replace.  the source doc had better still have "$BRANDING" tags in it.
13 sed -e "s/\$BRANDING/$TESTKIT_BRANDING/g" \
14   < testkit_reference-source.html \
15   > testkit_reference.html
16
17