mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Set version number as "unknwon" for extensions which do not support metadata
This commit is contained in:
@@ -450,7 +450,7 @@ class Sphinx(object):
|
||||
if not ext_meta.get('version'):
|
||||
ext_meta['version'] = 'unknown version'
|
||||
except:
|
||||
ext_meta = {}
|
||||
ext_meta = {'version': 'unknown version'}
|
||||
self._extensions[extension] = mod
|
||||
self._extension_metadata[extension] = ext_meta
|
||||
|
||||
|
||||
Reference in New Issue
Block a user