Skip to content

Commit 246b1df

Browse files
committed
Fix sorting problem -close #59, remove unused code
1 parent 96228fe commit 246b1df

File tree

4 files changed

+20
-44
lines changed

4 files changed

+20
-44
lines changed

.idea/workspace.xml

+18-40
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mkdoxy/doxyrun.py

-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ def __init__(self, doxygenBinPath: str, doxygenSource: str, tempDoxyFolder: str,
5252
self.doxyCfg.update(self.doxyCfgNew)
5353
self.doxyCfgStr: str = self.dox_dict2str(self.doxyCfg)
5454

55-
new_file, filename = tempfile.mkstemp()
56-
5755
# Source of dox_dict2str: https://xdress-fabio.readthedocs.io/en/latest/_modules/xdress/doxygen.html#XDressPlugin
5856
def dox_dict2str(self, dox_dict: dict) -> str:
5957
"""! Convert a dictionary to a string that can be written to a doxygen config file.

mkdoxy/node.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __init__(self, xml_file: str, xml: Element, cache: Cache, parser: XmlParser,
3838
self._kind = Kind.from_str(self._xml.get('kind'))
3939
self._refid = self._xml.get('id')
4040
self._language = self._xml.get('language')
41-
self._name = self._xml.find('compoundname').text
41+
self._name = self._xml.find('compoundname').text if self._xml.find('compoundname').text is not None else self._refid
4242
self._cache.add(self._refid, self)
4343
self._static = False
4444

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def requirements():
1111
# https://pypi.org/project/mkdoxy/
1212
setup(
1313
name='mkdoxy',
14-
version='1.1.1',
14+
version='1.1.2',
1515
description='MkDoxy → MkDocs + Doxygen = easy documentation generator with code snippets',
1616
long_description=readme(),
1717
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)