diff options
Diffstat (limited to 'paste/docsupport/metadata_real.py')
| -rw-r--r-- | paste/docsupport/metadata_real.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/paste/docsupport/metadata_real.py b/paste/docsupport/metadata_real.py index b636013..e5777e9 100644 --- a/paste/docsupport/metadata_real.py +++ b/paste/docsupport/metadata_real.py @@ -64,6 +64,7 @@ class WSGIKey(DocItem): super(WSGIKey, self).__init__() def writeto(self, context): + context.addindex('wsgikey', self.name) context.writekey(self.name, type='WSGI Environment Key') context.writedoc(self.doc) self.writeobj(self.interface, context) @@ -84,6 +85,7 @@ class Config(DocItem): name = context.last_name if name.startswith('_config_'): name = name[len('_config_'):] + context.addindex('config', name) name = "``%s``" % name if self.default is not NoDefault: name += ' (default: ``%r``)' % self.default |
