From a311da0d873dcd0413e14f5f872bf15b2cb33c13 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Thu, 11 Jun 2020 20:04:11 +0200 Subject: [PATCH] doc: drop shebang lines in .pow files For now, Kapow! treats .pow files as shell scripts, not executables. See https://github.com/BBVA/kapow/issues/62 --- docs/source/examples/working_with_pow_files.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/source/examples/working_with_pow_files.rst b/docs/source/examples/working_with_pow_files.rst index 2d43501..8343f4b 100644 --- a/docs/source/examples/working_with_pow_files.rst +++ b/docs/source/examples/working_with_pow_files.rst @@ -84,8 +84,6 @@ whole thing documented in one html file, served with *Kapow!*. :linenos: $ cat index.pow - #!/usr/bin/env bash - kapow route add / - <<-'EOF' cat howto.html | kapow set /response/body EOF @@ -112,8 +110,6 @@ leverage ``set -x`` the same way as with `pow` files. .. code-block:: console $ cat withdebug.pow - #!/usr/bin/env bash - kapow route add / - <<-'EOF' set -x echo "This will be seen in the log"