From a64a06a7f01f00ed15fd3a8a732c43f9cc4f936e Mon Sep 17 00:00:00 2001 From: Eric Holscher Date: Tue, 26 Aug 2014 08:08:46 -0700 Subject: [PATCH] Fix commit variable in conf.py --- readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl b/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl index f9048147c..12f4be71f 100644 --- a/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl +++ b/readthedocs/doc_builder/templates/doc_builder/conf.py.tmpl @@ -85,7 +85,7 @@ context = { 'source_suffix': SUFFIX, 'user_analytics_code': '{{ project.analytics_code|default_if_none:'' }}', 'global_analytics_code': '{{ settings.GLOBAL_ANALYTICS_CODE }}', - 'commit': 'commit,' + 'commit': '{{ commit }}', } if 'html_context' in globals(): html_context.update(context)