diff --git a/Rakefile b/Rakefile
index 0afc3d0b6e7472ff60755cfb4b08adc3395f7af1..8d503f4dfdc0b91a5ebc932d73effaab2533527b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -72,9 +72,11 @@ end
desc "Run JSDuck on ExtJS SDK for export"
task :export do
load_sdk_vars
+ rev = `git rev-parse HEAD`.slice(0, 7)
run_jsduck([
"--title", "Ext JS 4.0.3 API Documentation",
+ "--footer", "ExtJS 4.0.3 Documentation from Sencha. Generated with JSDuck revison #{rev}",
"--extjs-path", "extjs/ext-all.js",
"#{SDK_DIR}/extjs/src",
"#{SDK_DIR}/platform/src",
@@ -92,6 +94,7 @@ end
desc "Run JSDuck on ExtJS SDK for export"
task :live_docs do
load_sdk_vars
+ rev = `git rev-parse HEAD`.slice(0, 7)
analytics = <<-EOHTML