From 64fc87f9a71c1763545d745d00e8b86347ad57e8 Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Tue, 2 Feb 2016 17:08:06 +0900 Subject: 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 --- utils/docs-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') 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 } -- cgit 1.2.3-korg