Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doc examples #461

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/CLI.rst
Expand Up @@ -122,7 +122,7 @@ Notifiers CLI enable using pipe to directly pass value to the ``message`` argume

.. code-block:: console

$ cat file.txt | notifiers notify email --to blah@foo.com
$ cat file.txt | notifiers email notify --to blah@foo.com

Environment variables
=====================
Expand All @@ -134,7 +134,7 @@ If you defined for example ``NOTIFIERS_PUSHOVER_TOKEN`` and ``NOTIFIERS_PUSHOVER

$ export NOTIFIERS_PUSHOVER_TOKEN=FOO
$ export NOTIFIERS_PUSHOVER_USER=BAR
$ notifiers notify pushover "wow, this is easy!"
$ notifiers pushover notify "wow, this is easy!"

You can change the default env var prefix (which is ``NOTIFIERS_``) by sending the ``--env-prefix`` option:

Expand All @@ -148,7 +148,7 @@ You can change the default env var prefix (which is ``NOTIFIERS_``) by sending t

.. code-block:: console

$ alias notify="notifiers notify pushover"
$ alias notify="notifiers pushover notify"

And when combining this with setting environment variables, you can run:

Expand Down
2 changes: 1 addition & 1 deletion source/conf.py
Expand Up @@ -76,7 +76,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = 'en'
language = "en"

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down