Skip to content

Commit

Permalink
Fix sphinx build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Shrews committed Oct 14, 2024
1 parent 61cb018 commit 06cbaa9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/ansible_runner.config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ Submodules
ansible_runner.config.runner module
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. autoclass:: ansible_runner.config.runner.BaseConfig
.. autoclass:: ansible_runner.config.runner.RunnerConfig
1 change: 1 addition & 0 deletions docs/ansible_runner.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ ansible_runner.interface module

.. automodule:: ansible_runner.interface
:members:
:exclude-members: init_runner
:undoc-members:
:show-inheritance:

Expand Down
4 changes: 4 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ def _get_version():


nitpicky = True
nitpick_ignore = {
('py:class', '_io.FileIO')
}

default_role = 'any' # This catches single backticks (incorrectly) used for inline code formatting
project = 'ansible-runner'
copyright = f'2018-{datetime.datetime.today().year}, Red Hat, Inc'
Expand Down
6 changes: 3 additions & 3 deletions src/ansible_runner/config/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ class BaseConfig:
"""The base configuration object.
This object has multiple initialization responsibilities, including:
- guaranteeing the `private_data_dir` directory exists
- guaranteeing that `ident` value is set
- setting the various work directory attributes based on `private_data_dir`
- guaranteeing the 'private_data_dir' directory exists
- guaranteeing that 'ident' value is set
- setting the various work directory attributes based on 'private_data_dir'
"""

# This MUST be the first field we define to handle the use case where a RunnerConfig object
Expand Down

0 comments on commit 06cbaa9

Please sign in to comment.