Skip to content

Commit

Permalink
collapsing is deactivated for this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbrock committed Jun 21, 2023
1 parent aabf43b commit c510dae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev_tools/docs/nxdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,9 +517,9 @@ def _print_doc_enum(self, indent, ns, node, required=False):
collapse_indent = indent
node_list = node.xpath("nx:enumeration", namespaces=ns)
(doclen, line, blocks) = self.long_doc(ns, node)
if len(node_list) + doclen > 1:
collapse_indent = f"{indent} "
self._print(f"{indent}{self._INDENTATION_UNIT}.. collapse:: {line} ...\n")
# if len(node_list) + doclen > 1:
# collapse_indent = f"{indent} "
# self._print(f"{indent}{self._INDENTATION_UNIT}.. collapse:: {line} ...\n")
self._print_doc(
collapse_indent + self._INDENTATION_UNIT, ns, node, required=required
)
Expand Down

0 comments on commit c510dae

Please sign in to comment.