Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor authored and Fizzadar committed May 11, 2024
1 parent 9b6c214 commit 1c5ceca
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/api/connectors.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Writing Connectors

[Connectors](../connectors) enable pyinfra to directly integrate with other tools and systems. Connectos are written as Python classes.
[Connectors](../connectors) enable pyinfra to directly integrate with other tools and systems. Connectors are written as Python classes.

## Inventory Connector

Expand Down Expand Up @@ -66,7 +66,7 @@ class LocalConnector(BaseConnector):
and then writing it to the upload location.
Returns:
bool: indicating succes or failure.
bool: indicating success or failure.
"""

def get_file(
Expand Down
2 changes: 1 addition & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Example Deploys
===============

If you are getting started with pyinfra checkout `the examples on Github <https://github.com/Fizzadar/pyinfra/tree/2.x/examples>`_ which should properly introduce the file/folder structure as well as operation basics.
If you are getting started with pyinfra checkout `the examples on GitHub <https://github.com/Fizzadar/pyinfra/tree/2.x/examples>`_ which should properly introduce the file/folder structure as well as operation basics.

Included here is a set of documented example deploys highlighting common patterns and best practices:

Expand Down
2 changes: 1 addition & 1 deletion docs/using-operations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Adding data to inventories is covered in detail here: :doc:`inventory-data`. Dat
Host Facts
~~~~~~~~~~

Facts allow you to use information about the target host to control and configure operations. A good example is switching between ``apt`` & ``yum`` depending on the Linux distribution. Facts are imported from ``pyinfra.facts.*`` and can be retreived using the ``host.get_fact`` function:
Facts allow you to use information about the target host to control and configure operations. A good example is switching between ``apt`` & ``yum`` depending on the Linux distribution. Facts are imported from ``pyinfra.facts.*`` and can be retrieved using the ``host.get_fact`` function:

.. code:: python
Expand Down
2 changes: 1 addition & 1 deletion pyinfra/operations/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def line(
it will be append to the end of the file.
Ensure new line:
This will ensure that the ``line`` being appended is always on a seperate new
This will ensure that the ``line`` being appended is always on a separate new
line in case the file doesn't end with a newline character.
Expand Down

0 comments on commit 1c5ceca

Please sign in to comment.