From: Ryota MIBU Date: Tue, 2 Feb 2016 08:08:06 +0000 (+0900) Subject: docs: hide revision and build date from HTML pages X-Git-Tag: brahmaputra.1.0~79^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=64fc87f9a71c1763545d745d00e8b86347ad57e8;hp=915590bb6510ebc90656c8433faa75db0f485715;p=releng.git docs: hide revision and build date from HTML pages Revisions and build dates are stamped in each source rst files and show up in each HTML pages (Some pages have multiple stamps...). We can see document version in URL path of artifact and those build info by clicking 'Show Source' as well. Let's remove revisions and build dates from HTML pages, but remain in source files so that developers can identify sources. Change-Id: Ibd511137ec17c614c9aa624a7190e7ccfc568b7f Signed-off-by: Ryota MIBU --- diff --git a/utils/docs-build.sh b/utils/docs-build.sh index 6c863cbc9..e5d6b4a7f 100755 --- a/utils/docs-build.sh +++ b/utils/docs-build.sh @@ -78,7 +78,7 @@ function add_html_notes() { echo sed -i "s/ _sha1_/ $git_sha1/g" "$file" fi - sed -i -e "\$a\\\n.. only:: html\n$html_notes" "$file" + sed -i -e "\$a\\\n..\n$html_notes" "$file" done }