Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
Delete description in exceptions (#52)
Browse files Browse the repository at this point in the history
* Delete description in exceptions

* Update version

* Change comment
  • Loading branch information
yannanwang1 authored and bianliu1013 committed Jul 6, 2017
1 parent 4388efd commit 5755c9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docfx_yaml/monkeypatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,9 @@ def extract_exception_desc(field_object):

ret_list = extract_exception_desc(field_object)
for ret in ret_list:
# only use type in exceptions
data.setdefault('exceptions', []).append({
'type': ret['type'],
'description': ret['desc']
'type': ret['type']
})

return data
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

setup(
name='sphinx-docfx-yaml',
version='1.2.11',
version='1.2.12',
author='Eric Holscher',
author_email='eric@ericholscher.com',
url='https://github.com/ericholscher/sphinx-docfx-yaml',
Expand Down

0 comments on commit 5755c9c

Please sign in to comment.