Source

sphinx / sphinx / jinja2glue.py

Diff from to

File sphinx/jinja2glue.py

     """Helper to output each access key only once."""
     if '_accesskeys' not in context:
         context.vars['_accesskeys'] = {}
-    if key not in context.vars['_accesskeys']:
+    if key and key not in context.vars['_accesskeys']:
         context.vars['_accesskeys'][key] = 1
         return 'accesskey="%s"' % key
     return ''