Skip to content
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.

Commit

Permalink
Updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
clayrisser committed Oct 11, 2019
1 parent 5c07a62 commit 1431da8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

setup(
name='sphinx-markdown-builder',
version='0.5.2',
version='0.5.3',
description='sphinx builder that outputs markdown files',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down
2 changes: 1 addition & 1 deletion sphinx_markdown_builder/markdown_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def depart_desc_content(self, node):
def visit_desc_signature(self, node):
# the main signature of class/method
# We dont want methods to be at the same level as classes
if (node.attributes["class"]):
if ("class" in node.attributes and node.attributes["class"]):
self.add('\n### ')
else:
self.add('\n#### ')
Expand Down

0 comments on commit 1431da8

Please sign in to comment.