Removing excess License info.
[opnfvdocs.git] / scripts / docs-build.sh
index 9c30ece..2e2b79b 100755 (executable)
@@ -23,7 +23,8 @@ version="$(git describe --abbrev=0 2> /dev/null || echo draft) ($revision)"
 project="$(basename $(git rev-parse --show-toplevel))"
 html_notes="    Revision: $rev_full\n    Build date: $(date -u +'%Y-%m-%d')"
 opnfv_logo="$OPNFVDOCS_DIR/etc/opnfv-logo.png"
-copyright="$(date +%Y), OPNFV. Licenced under CC BY 4.0."
+copyright="$(date +%Y), OPNFV."
+copyrightlong="$(date +%Y), OPNFV. Licenced under CC BY 4.0."
 
 function check_rst_doc() {
     _src="$1"
@@ -116,7 +117,7 @@ function prepare_config() {
     add_config "$_conf" 'release' "u'$version'"
     add_config "$_conf" 'version' "u'$version'"
     add_config "$_conf" 'project' "u'$project'"
-    add_config "$_conf" 'copyright' "u'$copyright'"
+    add_config "$_conf" 'copyright' "u'$copyrightlong'"
     add_config "$_conf" 'rst_epilog' "u'$html_notes'"
 
     echo "sphinx config to be used:"