Commit Graph

105 Commits

Author SHA1 Message Date
Felix Fontein
d8c36a014f Fix YAML syntax, adjust more code block languages (#2408)
* Fix broken YAML, or adjust code block type.

* Normalize code block type.
2025-02-14 22:06:37 +01:00
Brian Coca
8e817dc5a0 callback event reception order (#2333)
* callback event reception order

* Update docs/docsite/rst/plugins/callback.rst

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>

---------

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2025-01-10 13:40:48 -05:00
Andrew Klychkov
bf86a30bef Replace communication links with a link to communication guide, part 2 (#1864)
* Replace old communication refs with Communication guide ref or forum

* Update docs/docsite/rst/community/documentation_contributions.rst

Co-authored-by: Felix Fontein <felix@fontein.de>

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
2024-09-12 09:41:36 +02:00
Brian Coca
1500fc2790 Correct information about plugin enabling (#1760)
* Correct information about plugin enabling

* Apply suggestions from code review

Co-authored-by: Don Naro <dnaro@redhat.com>

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
2024-09-11 18:10:34 +01:00
Andrew Klychkov
ae59246f0b Replace communication links with a link to communication guide, part 1 (#1851)
* Replace communication links with a link to communication guide

* Update docs/docsite/rst/command_guide/intro_adhoc.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/plugins/become.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/plugins/cache.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/plugins/callback.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/plugins/cliconf.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* fix

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
2024-09-11 07:39:39 +02:00
bontreger
d61e53a9d4 Add examples to clarify inventory plugin usage (#1347)
* Add examples to clarify inventory plugin usage

* Update docs/docsite/rst/plugins/inventory.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

* Update docs/docsite/rst/plugins/inventory.rst

Co-authored-by: Don Naro <dnaro@redhat.com>

---------

Co-authored-by: Don Naro <dnaro@redhat.com>
2024-04-26 14:12:37 -04:00
Tereza Helanová
d0722d227a mention of ANSIBLE_CONNECTION_PATH removed 2024-04-25 14:47:26 +02:00
Tereza Helanová
5a69a9a86b comments integrated 2024-04-24 23:50:02 +02:00
Tereza Helanová
bd0157ba63 fix: remove mention of 'connection_plugins' 2024-04-24 16:24:34 +02:00
Tereza Helanová
46dcf79fe8 fix: connection keyword mentioned 2024-04-23 21:52:16 +02:00
Tereza Helanová
28fb9a5f30 feat: mention ANSIBLE_CONNECTION_PATH (ansible#793) 2024-04-18 17:24:58 +02:00
Abhijeet Kasurde
d9377260c0 Proof reading II (#733)
Co-authored-by: Maxwell G <maxwell@gtmx.me>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2023-12-05 11:22:07 -08:00
Abhijeet Kasurde
a2d896a7c5 Update links in plugin documentation (#859)
* Update links in plugin documentation

* Updated examples and links in the plugin documentation

Fixes: #746


Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Sandra McCann <samccann@redhat.com>
Co-authored-by: Maxwell G <maxwell@gtmx.me>
2023-11-30 16:33:12 -05:00
Abhijeet Kasurde
91c2704b30 Remove dangling reference (#732)
* Removed dangling reference for working_with_modules
* Updated references to modules

Fixes: #513

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2023-11-01 16:19:35 -04:00
Abhijeet Kasurde
152e4b6cb2 Fixed equalto test filter (#758)
Fixes: #748

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2023-11-01 10:10:15 -04:00
Abhijeet Kasurde
e7390b443a Proof reading (#616)
* Proof reading
* Fixing misc typos
* Correct usage of words
* Highlight keywords

---------

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Co-authored-by: Don Naro <dnaro@redhat.com>
2023-10-25 19:57:43 +01:00
Rathish R
ea6b977976 Renamed "user name" to "username" in .rst files (#536)
* Renamed "user name" to "username" in .rst files
* Updated docs/docsite/rst/dev_guide/style_guide/spelling_word_choice.rst -
renamed "username" back to "user name" in line 274
2023-10-09 12:33:43 +01:00
Biresh Biswas
8f085111b4 Replacing filename with file name (#502) 2023-10-04 16:36:20 -04:00
Deepshri M
ad16d8b283 Fix for : Replace all occurrences of via to with #459 (#479)
* Update via to with

* Update doc as per suggestion
2023-10-03 10:08:39 -04:00
Eric L
1dcc2d26ea Fix typos in test plugins page (#244)
Co-authored-by: Maxwell G <maxwell@gtmx.me>
2023-08-04 15:49:24 -04:00
Abhijeet Kasurde
058b722a54 Remove terminal viewing docs (#80655)
* ansible-doc command can not handle terminal plugins since they
  are not documentable and configurable. Removing documentation section
  to list them.

Fixes: #80140

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2023-04-27 15:14:23 -04:00
Esther Christopher
0937cc4862 Update connection.rst (#80194) 2023-03-16 16:13:01 -04:00
Andreas Deininger
841b71c94f Fixing typos (#80045) 2023-03-02 14:04:43 -05:00
Felix Fontein
51bddd862b Document callback types in documentation (#79651) 2023-01-03 14:32:37 -05:00
Shubhadeep Das
680bf029b1 Docs: Add code-block wrappers in lookup.rst & strategy.rst (#79032, #79033) (#79048) 2022-10-05 09:55:41 -07:00
prayatharth
56285b1d2b Docs: true/false with boolean values (#78980)
* Adding FQCN community.postgresql. to postgresql modules
2022-10-04 10:29:26 -04:00
Sandra McCann
7ec8916097 fix ternary problem (#78186) 2022-07-01 11:06:47 -04:00
Sandra McCann
a77fc2e822 Pr 72292- Add context to inventory plugins (#78070)
* Add context to inventory plugins documentation

* Show how to add the inventory plugin to the `enable_plugins` configuration item - not just replace it.
* Show adding tags to `keyed_groups` without specifying the separator.
* Show adding more complex `groups` and `compose` statements, including using the ternary filter.
* As I added an additional group, I've updated the resulting `ansible-inventory` output accordingly.
2022-07-01 01:49:00 -07:00
Martin Krizek
39b3581316 Deprecate non lists lookups (#77875) 2022-06-03 12:42:54 +02:00
Brian Coca
b439e41a91 expand ansible-doc coverage (#74963)
* Expand ansible-doc to tests/filters and fix existing issues

  enable filter/test docs if in single file or companion yaml
  add docs for several filters/tests plugins
  allow .yml companion for docs for other plugins, must be colocated
  verify plugins are valid (not modules, cannot)
  fix 'per collection' filtering
  limit old style deprecation (_ prefix) to builtin/legacy
  start move to pathlib for saner path handling
  moved some funcitons, kept backwards compat shims with deprecation notice

  Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
  Co-authored-by: Felix Fontein <felix@fontein.de>
  Co-authored-by: Sandra McCann <samccann@redhat.com>
2022-04-27 09:46:52 -04:00
Jonas I. Liechti
0b0acef423 bug fix: using non-FQDN in plugin choices fails plugin name verification (#75991)
* enable both non-FQDN and FQDN plugin name
* add info about matching requirement of plugin name in config and plugin source file
2021-10-28 11:06:51 -04:00
Alicia Cozine
d652b19e11 Docs: clarify dir names for local plugins (#75157)
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
Co-authored-by: Toshio Kuratomi <a.badger@gmail.com>
Co-authored-by: Sandra McCann <samccann@redhat.com>
2021-08-12 11:47:27 -04:00
Alicia Cozine
3c3e30a610 Docs: Add Matrix as a chat option (#75406) 2021-08-12 11:47:02 -04:00
Sandra McCann
ea0ba7bf30 update terminology based on recent IBM Style Guide word list (#75089) 2021-06-23 15:52:38 -05:00
Alicia Cozine
a7be495b7b Update plugin docs (#75050)
* edit existing plugin pages, headings, and links
2021-06-21 16:07:18 -04:00
Nathaniel Case
ad203a7dbd Add page describing terminal plugins to docsite (#75066) 2021-06-21 09:47:42 -05:00
Toshio Kuratomi
80e7e1a17c Due to the takeover of freenode we're moving to a different irc network. (#74775)
* Due to the takeover of freenode we're moving to a different irc network.

* Our channels updated to point at the same channel name on libera.chat
* Some links went to webchat.freenode.net.  At this time, libera.chat
  doesn't point you to an official webchat client so I changed these to
  https://libera.chat. (kiwi irc does work with libera.chat so that
  could be another option).
* In general, I used the name irc.libera.net for link names and
  https://libera.chat for link targets.  This is because the irc service
  is hosted on irc.libera.chat but the project web server is hosted on
  libera.chat.  (This appears to also be true for freenode but we were
  using http://irc.freenode.net which doesn't seem to work.  Oops).
* Removed http://irc.freenode.net from the linkcheck exceptions.
  linkcheck was actually correct to flag that as invalid (should have
  been http://frenode.net instead).

* Looks like hte important people in #yaml are now in libera.chat

* Link to where contributors should get help

Add a link target and then link to where contributors should get support
for developing groups of modules.

* Update docs/docsite/rst/dev_guide/developing_modules_in_groups.rst

Co-authored-by: Felix Fontein <felix@fontein.de>

Co-authored-by: John R Barker <john@johnrbarker.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
2021-06-01 08:48:09 +01:00
Boris Korzun
99a983c92c config: small typo fix (#74845) 2021-05-27 16:41:20 -04:00
sry9681
c0cc574e65 Update lookup.rst (#73716)
Document that users must pass `allow_unsafe=True` as an option in the lookup to allow templating, with a note about security implications.

Co-authored-by: Alicia Cozine <879121+acozine@users.noreply.github.com>
Co-authored-by: Sandra McCann <samccann@redhat.com>
2021-04-20 12:54:54 -05:00
Willams de Lima
fa05af8321 Fixing ad-hoc commands #73636 (#73646) 2021-02-18 16:48:22 -06:00
Simeon Bobylev
202689b1c0 Update lookup.rst (#72831)
##### SUMMARY
Set correct indentation.


##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
2020-12-18 14:55:53 -05:00
Alicia Cozine
e5ccd18be4 Wording changes to docs (#70082) 2020-12-08 16:46:34 -05:00
Andrew Klychkov
2fed63a930 Docsite: improve inventory-related pages (#71907)
* Update docs/docsite/rst/plugins/inventory.rst
2020-09-25 09:46:24 -05:00
Andrew Klychkov
7bfeed3e24 Docsite: replace Latin phrases to English (#71588)
Replace Latin phrases like "e.g." and "i.e." and "etc." with English phrases. 

* Update docs/docsite/rst/community/committer_guidelines.rst
* Update docs/docsite/rst/dev_guide/developing_modules_documenting.rst
* Update docs/docsite/rst/dev_guide/developing_program_flow_modules.rst
* Update docs/docsite/rst/dev_guide/module_lifecycle.rst
* Update docs/docsite/rst/user_guide/intro_inventory.rst
* Update docs/docsite/rst/user_guide/playbooks_loops.rst
* Update docs/docsite/rst/user_guide/playbooks_reuse.rst
* Update docs/docsite/rst/dev_guide/platforms/aws_guidelines.rst
* Update docs/docsite/rst/dev_guide/testing.rst
* Update docs/docsite/rst/dev_guide/testing_integration.rst
* Update docs/docsite/rst/porting_guides/porting_guide_2.5.rst
* Update docs/docsite/rst/reference_appendices/faq.rst
2020-09-03 14:47:57 -05:00
Alicia Cozine
f82a1e06d7 updates network plugin docs pages for 2.10 (#71467)
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
2020-08-26 12:05:20 -04:00
Patrick Reader
2b7461eb52 fix broken links due to master -> main branch rename (#71426) 2020-08-24 15:39:21 -04:00
Sloane Hertel
fb035da3b2 clarify inventory plugin user documentation (#71387) 2020-08-21 12:26:02 -04:00
Andrew Klychkov
19589db10c Fix references to Ansible Collections Overview (#71227) 2020-08-12 12:06:22 -04:00
Toshio Kuratomi
9dda393d70 Collections docs generation (#59761)
* Build documentation for Ansible-2.10 (formerly known as ACD).

Builds plugin docs from collections whose source is on galaxy

The new command downloads collections from galaxy, then finds the
plugins inside of them to get the documentation for those plugins.

* Update the python syntax checks
  * docs builds can now require python 3.6+.

* Move plugin formatter code out to an external tool, antsibull-docs.
  Collection owners want to be able to extract docs for their own
  websites as well.
* The jinja2 filters, tests, and other support code have moved to antsibull
* Remove document_plugins as that has now been integrated into antsibull-docs

* Cleanup and bugfix to other build script code:
  * The Commands class needed to have its metaclass set for abstractmethod
    to work correctly
  * Fix lint issues in some command plugins

* Add the docs/docsite/rst/collections to .gitignore as
  everything in that directory will be generated so we don't want any of
  it saved in the git repository
* gitignore the build dir and remove edit docs link on module pages

* Add docs/rst/collections as a directory to remove on make clean
* Split the collections docs from the main docs

* remove version and edit on github
* remove version banner for just collections
* clarify examples need collection keyword defined

* Remove references to plugin documentation locations that no longer exist.
  * Perhaps the pages in plugins/*.rst should be deprecated
    altogether and their content moved?
  * If not, perhaps we want to rephrase and link into the collection
    documentation?
  * Or perhaps we want to link to the plugins which are present in
    collections/ansible/builtin?

* Remove PYTHONPATH from the build-ansible calls
  One of the design goals of the build-ansible.py script was for it to
  automatically set its library path to include the checkout of ansible
  and the library of code to implement itself.  Because it automatically
  includes the checkout of ansible, we don't need to set PYTHONPATH in
  the Makefile any longer.

* Create a command to only build ansible-base plugin docs
  * When building docs for devel, only build the ansible-base docs for
    now.  This is because antsibull needs support for building a "devel
    tree" of docs.  This can be changed once that is implemented
  * When building docs for the sanity tests, only build the ansible-base
    plugin docs for now.  Those are the docs which are in this repo so
    that seems appropriate for now.
2020-07-17 13:07:35 -07:00
Alicia Cozine
6fffb0607b WIP: Docs: User guide overhaul, part 4 (#69266)
Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
2020-05-15 16:18:07 -04:00