Skip to content

Commit 14af967

Browse files
committed
Rename .doc to `.dox in doxygen documentation
Remove debug statement Fallback to doc file
1 parent c3ff1e4 commit 14af967

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc_internal/cmds_tags.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ def get_versions():
6363

6464
def get_commands(version):
6565
lst = xpopen('git show %s:doc/commands.dox'%(version))
66+
if lst.count('\n') == 0:
67+
lst = xpopen('git show %s:doc/commands.doc'%(version))
6668
lst_list = []
67-
print("==> '%s' %d\n"%(version,lst.count('\n')));
6869
for line in lst.split('\n'):
6970
if cmds_reg.match(line):
7071
lst_list.append(re.sub(cmds_reg,'',line).replace("\\\\","\\"))

0 commit comments

Comments
 (0)