diff options
Diffstat (limited to 'wsmeext/sphinxext.py')
-rw-r--r-- | wsmeext/sphinxext.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wsmeext/sphinxext.py b/wsmeext/sphinxext.py index 9c8ffe3..177f25b 100644 --- a/wsmeext/sphinxext.py +++ b/wsmeext/sphinxext.py @@ -361,6 +361,8 @@ class ServiceDocumenter(autodoc.ClassDocumenter): def format_name(self): path = find_service_path(self.env, self.object) + if path is None: + return return '/' + '/'.join(path) |