Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation strings for set theory functions #76310

Closed
wants to merge 1 commit into from

Conversation

benaryorg
Copy link

SUMMARY

The set theory functions are not self-explanatory unless one has taken a course of mathematics or two, hence some documentation is warranted.
Rationale being that I was reading a StackOverflow Answer pertaining to those exact functions and those did link to the code which, without further description is kind of hard to grasp for people not too acquainted with set theory.
For instance the Rust documentation on set functions provides a short description as well as examples, the latter being used as unit tests, which directly conveys to the user what behavior to expect from the invocation.

Documentation was added for:

  • intersect
  • difference
  • symmetric_difference
  • union
ISSUE TYPE
  • Docs Pull Request
COMPONENT NAME

filter/mathstuff

The set theory functions are not self-explanatory unless one has taken a course of mathematics or two, hence some documentation is warranted.
Documentation was added for:

- intersect
- difference
- symmetric_difference
- union

Signed-off-by: Katze <katze@inwx.de>
@ansibot ansibot added affects_2.13 core_review In order to be merged, this PR must follow the core review workflow. docs This issue/PR relates to or includes documentation. needs_triage Needs a first human triage before being processed. new_contributor This PR is the first contribution by a new community member. support:core This issue/PR relates to code supported by the Ansible Engineering Team. labels Nov 17, 2021
@jborean93 jborean93 removed the needs_triage Needs a first human triage before being processed. label Nov 18, 2021
@jborean93
Copy link
Contributor

I recommend you have a look at this PR in flight that is implementing the new way to document filter plugins #74963 (see the .yml files in the plugins dir). This is expected to land before the next release and will be our recommended method for documenting filter plugins for user consumption.

@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Mar 2, 2022
@samccann
Copy link
Contributor

Thanks @benaryorg for the Ansible docs suggestion. With the new feature mentioned in the prior comment, we now have this documented in a new way via #77801. Closing this PR but thanks again for helping with the docs.

@samccann samccann closed this May 19, 2022
@ansible ansible locked and limited conversation to collaborators May 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.13 core_review In order to be merged, this PR must follow the core review workflow. docs This issue/PR relates to or includes documentation. new_contributor This PR is the first contribution by a new community member. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants