Skip to content

Commit

Permalink
put rank/dimensions after type and befire units
Browse files Browse the repository at this point in the history
  • Loading branch information
woutdenolf committed Jun 15, 2022
1 parent 13f4209 commit c93d60b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/nxdl2rst.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ def printFullTree(ns, parent, name, indent, parent_path):
print( '%s.. index:: %s (field)\n' %
( indent, index_name ) )
print(
'%s**%s%s**: %s%s%s\n' % (
indent, name, dims, optional_text, fmtTyp(node), fmtUnits(node)
'%s**%s**: %s%s%s%s\n' % (
indent, name, optional_text, fmtTyp(node), dims, fmtUnits(node)
))

printIfDeprecated( ns, node, indent+INDENTATION_UNIT )
Expand Down

0 comments on commit c93d60b

Please sign in to comment.