Skip to content

Commit

Permalink
Fix sorting problem -close #59, remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubAndrysek committed Jun 30, 2023
1 parent 96228fe commit 246b1df
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 44 deletions.
58 changes: 18 additions & 40 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions mkdoxy/doxyrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ def __init__(self, doxygenBinPath: str, doxygenSource: str, tempDoxyFolder: str,
self.doxyCfg.update(self.doxyCfgNew)
self.doxyCfgStr: str = self.dox_dict2str(self.doxyCfg)

new_file, filename = tempfile.mkstemp()

# Source of dox_dict2str: https://xdress-fabio.readthedocs.io/en/latest/_modules/xdress/doxygen.html#XDressPlugin
def dox_dict2str(self, dox_dict: dict) -> str:
"""! Convert a dictionary to a string that can be written to a doxygen config file.
Expand Down
2 changes: 1 addition & 1 deletion mkdoxy/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self, xml_file: str, xml: Element, cache: Cache, parser: XmlParser,
self._kind = Kind.from_str(self._xml.get('kind'))
self._refid = self._xml.get('id')
self._language = self._xml.get('language')
self._name = self._xml.find('compoundname').text
self._name = self._xml.find('compoundname').text if self._xml.find('compoundname').text is not None else self._refid
self._cache.add(self._refid, self)
self._static = False

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def requirements():
# https://pypi.org/project/mkdoxy/
setup(
name='mkdoxy',
version='1.1.1',
version='1.1.2',
description='MkDoxy → MkDocs + Doxygen = easy documentation generator with code snippets',
long_description=readme(),
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 246b1df

Please sign in to comment.