Mercurial > libervia-backend
diff doc/libervia-cli/pubsub.rst @ 3505:4705f80b6e23
doc: more renaming
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 22 Apr 2021 18:16:19 +0200 |
parents | c80a0f864b5d |
children | 267e4987b58b |
line wrap: on
line diff
--- a/doc/libervia-cli/pubsub.rst Wed Apr 21 11:44:47 2021 +0200 +++ b/doc/libervia-cli/pubsub.rst Thu Apr 22 18:16:19 2021 +0200 @@ -309,7 +309,7 @@ example ------- -Imagine that you want to replace all occurrences of "sàt" by "Salut à Toi" in your personal blog. You first create a Python script like this: +Imagine that you want to replace all occurrences of "sàt" by "Libervia" in your personal blog. You first create a Python script like this: .. sourcecode:: python @@ -320,7 +320,7 @@ if not "sàt" in item_raw: print("SKIP") else: - print(item_raw.replace("sàt", "Salut à Toi")) + print(item_raw.replace("sàt", "Libervia")) And save it a some location, e.g. ``~/expand_sat.py`` (don't forget to make is executable with ``chmod +x ~/expand_sat.py``).