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

Commit

Permalink
Merge pull request #87 from docascode/yitian/fix-classmethod
Browse files Browse the repository at this point in the history
[fix] Fix classmethod's docstring not contained.
  • Loading branch information
killa1218 committed Oct 15, 2018
2 parents f0cc2dd + 386998f commit 588ec77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docfx_yaml/monkeypatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ class PatchedDocFieldTransformer(docfields.DocFieldTransformer):
def type_mapping(type_name):
mapping = {
"staticmethod": "method",
"classmethod": "method",
"exception": "class"
}

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.57',
version='1.2.58',
author='Eric Holscher',
author_email='eric@ericholscher.com',
url='https://github.com/ericholscher/sphinx-docfx-yaml',
Expand Down

0 comments on commit 588ec77

Please sign in to comment.