def parse_description(description: str):
    """Parse action/config description to translate to rst.

    Add paragraph breaks, translate "notes" and "examples" to rst syntax."""

    description = description.replace('\n', '\n\n')
    description = description.replace('Note: ', '.. note::\n\n   ')

    example_str = 'Example Usage:\n\n.. code-block:: bash\n\n   '
    description = description.replace('Example usage: ', example_str)

    # rst code blocks have two backticks
    description = description.replace('`', '``')

    return description