Code commits
Pipeline
-
Rui Xue 45d8eff287fefbdd13baa6426a91fb49802c1dd5
Merge branch 'docs/PIPE-2738-improve-docs-for-pl2026' of https://open-bitbucket.nrao.edu/scm/pipe/pipeline into docs/PIPE-2738-improve-docs-for-pl2026
-
Rui Xue 1935b569ea9cad4e4efdf0f59ff34207cd90c395 m
PIPE-2738: dynamically strip Sphinx markup from task docstrings for terminal users
Updated `cli_wrapper` to automatically scrub Sphinx-specific reST directives
from task docstrings at runtime. This ensures that users running `help()` or `?`
in interactive environments (like IPython or casashell) see clean, readable
plain text instead of raw markup.
Specifically, this strips:
- Cross-reference roles (e.g., `:func:` -> ``` `func_name` ```)
- `.. figure::` blocks (retaining only the caption)
- `.. list-table::` blocks (retaining only the title and list items)
- `.. code-block::` directives