diff --git a/docs/reference/xml2rst.py b/docs/reference/xml2rst.py index 4f0f8b6f..ad509030 100755 --- a/docs/reference/xml2rst.py +++ b/docs/reference/xml2rst.py @@ -204,23 +204,23 @@ def documentation(self): @property def action(self): action = self._defs.get("python") - if action is None: - # FIXME: Remove when magics is ready - action = self._defs.get("action") - if action == "pcont": - action = "mcont" - # elif action == "pgrib": - # action = "mgrib" - # elif action == "pnetcdf": - # action = "mnetcdf" - # elif action == "ptable": - # action = "mtable" - # elif action == "pinput": - # action = "minput" - # elif action == "ptext": - # action = "output" - else: - action = None + # if action is None: + # # FIXME: Remove when magics is ready + # action = self._defs.get("action") + # if action == "pcont": + # action = "mcont" + # # elif action == "pgrib": + # # action = "mgrib" + # # elif action == "pnetcdf": + # # action = "mnetcdf" + # # elif action == "ptable": + # # action = "mtable" + # # elif action == "pinput": + # # action = "minput" + # # elif action == "ptext": + # # action = "output" + # else: + # action = None if action is None: for parent in self.inherits: @@ -248,8 +248,8 @@ def parameters(self): parms = [parms] for p in parms: - # if p.get("python", True): - self._parameters.append(Param(p)) + if p.get("python", True): + self._parameters.append(Param(p)) return self._parameters @property