Skip to content

Commit

Permalink
Add documentation for RunnerConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
samdoran committed Dec 2, 2021
1 parent 3c43d1a commit ee68b4f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
10 changes: 10 additions & 0 deletions docs/ansible_runner.config.rst
@@ -0,0 +1,10 @@
ansible_runner.config package
================================

Submodules
----------

ansible_runner.config.runner module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. autoclass:: ansible_runner.config.runner.RunnerConfig
1 change: 1 addition & 0 deletions docs/ansible_runner.rst
Expand Up @@ -7,6 +7,7 @@ Subpackages
.. toctree::

ansible_runner.callbacks
ansible_runner.config
ansible_runner.display_callback

Submodules
Expand Down
3 changes: 0 additions & 3 deletions docs/conf.py
Expand Up @@ -182,7 +182,4 @@ def _get_version():
('py:class', 'ansible.plugins.callback.default.CallbackModule'),
('py:class', 'display_callback.module.AWXDefaultCallbackModule'),
('py:class', 'display_callback.module.AWXMinimalCallbackModule'),

# FIXME: Undocumented classes referenced explicitly in the RST documents:
('py:class', 'ansible_runner.runner_config.RunnerConfig'),
]
2 changes: 1 addition & 1 deletion docs/python_interface.rst
Expand Up @@ -365,5 +365,5 @@ The helper methods are just one possible entrypoint, extending the classes used

Show:

* How :class:`Runner Config <ansible_runner.runner_config.RunnerConfig>` is used and how overriding the methods and behavior can work
* How :class:`Runner Config <ansible_runner.config.runner.RunnerConfig>` is used and how overriding the methods and behavior can work
* Show how custom cancel and status callbacks can be supplied.

0 comments on commit ee68b4f

Please sign in to comment.