am bd78b888: am be113f8a: fix broken download buttons, make a[name] offset apply only to reference docs

* commit 'bd78b888a5072cc784a52f1b45fce765205a33e7':
  fix broken download buttons, make a[name] offset apply only to reference docs