ansible/changelogs/fragments/ansible-doc-formats.yml
Toshio Kuratomi fb144c4414
Update ansible doc formats (#71070)
* Fix tty_ify bugs and refactor

* Move tty_ify() and supporting attributes to the DocCLI class as that's
  the only thing using it.
* Add unittest for the code.
* Fix a bug where the substitution macros can be detected when they are
  a part of another word.
* Add support for L(), R(), and HORIZONTALLINE which were added to the
  website docs many years ago.

* Update test/units/cli/test_doc.py

Co-authored-by: Matt Clay <matt@mystile.com>

Co-authored-by: Matt Clay <matt@mystile.com>
2020-08-05 10:53:25 -07:00

7 lines
441 B
YAML

minor_changes:
- ansible-doc will now format, ``L()``, ``R()``, and ``HORIZONTALLINE`` in
plugin docs just as the website docs do. https://github.com/ansible/ansible/pull/71070
- Fixed ansible-doc to not substitute for words followed by parenthesis. For
instance, ``IBM(International Business Machines)`` will no longer be
substituted with a link to a non-existent module.
https://github.com/ansible/ansible/pull/71070