You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/docs/templates
Toshio Kuratomi 0691475caf
Workaround bug in jinja2-3.0.0 and 3.0.1 (#74795)
Jinja2-3.0.0 and 3.0.1 has a bug where undefined values cannot be
checked to see if they contain a value: https://github.com/pallets/jinja/issues/1448#issuecomment-846029509

We workaround this in two ways, either of which would be sufficient:
* Normalize the data so that choices is an empty iterable when it isn't
  specified in the documentation.  This is what antsibull-docs (and thus
  documentation builds on 2.10+) do.
* Change the logic in the template to check whether choices exists
  before checking containment.  This better expresses the logic at that
  point in the template (if there is a default value but there is not a
  list of choices, then display the default in its own string) so it's
  a good change to make as well.
5 years ago
..
cli_rst.j2 [2.9] docs: Fixed "Edit on GitHub" link for plugin, cli 6 years ago
collections_galaxy_meta.rst.j2 Backport/2.9/docs2 (#62805) 6 years ago
config.rst.j2 Improve config.rst formatting (#72354) (#72488) 5 years ago
list_of_CATEGORY_modules.rst.j2 Docs: Show parameter types (in purple) (#49966) 7 years ago
list_of_CATEGORY_plugins.rst.j2 Some more fixes for the docs :ref: disambiguation 8 years ago
man.j2 Fix ansible-galaxy man page generation (#65478) (#65523) 6 years ago
modules_by_category.rst.j2 Reduce warnings (#39254) 8 years ago
modules_by_support.rst.j2 Modules tocfix (#51077) 7 years ago
playbooks_keywords.rst.j2 Move common build code from _build_helpers (#55986) 7 years ago
plugin.rst.j2 Workaround bug in jinja2-3.0.0 and 3.0.1 (#74795) 5 years ago
plugin_deprecation_stub.rst.j2 Docs: adding stub page for module/plugin aliases (#54448) 7 years ago
plugins_by_category.rst.j2 Generate plugin rst (#28901) 8 years ago
plugins_by_support.rst.j2 Generate plugin rst (#28901) 8 years ago