forked from platypush/platypush
Indent pre- and post-install shell scripts in docs.
This commit is contained in:
parent
6d694f02b4
commit
cea3055369
2 changed files with 9 additions and 3 deletions
|
@ -55,7 +55,12 @@ class IntegrationEnricher:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _shellify(title: str, cmd: str) -> str:
|
def _shellify(title: str, cmd: str) -> str:
|
||||||
return f'**{title}**\n\n' + '.. code-block:: bash\n\n\t' + cmd + '\n\n'
|
return (
|
||||||
|
f'**{title}**\n\n'
|
||||||
|
+ '.. code-block:: bash\n\n'
|
||||||
|
+ tw.indent(cmd, '\t')
|
||||||
|
+ '\n\n'
|
||||||
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def add_install_deps(
|
def add_install_deps(
|
||||||
|
|
|
@ -56,8 +56,9 @@ class AssistantGooglePlugin(AssistantPlugin, RunnablePlugin):
|
||||||
|
|
||||||
.. note:: Since the Google Assistant library hasn't been updated in several
|
.. note:: Since the Google Assistant library hasn't been updated in several
|
||||||
years, some of its dependencies are quite old and may break more recent
|
years, some of its dependencies are quite old and may break more recent
|
||||||
Python installations. Please refer to the comments in the [manifest
|
Python installations. Please refer to the comments in the `manifest
|
||||||
file](https://git.platypush.tech/platypush/platypush/src/branch/master/platypush/plugins/assistant/google/manifest.yaml)
|
file
|
||||||
|
<https://git.platypush.tech/platypush/platypush/src/branch/master/platypush/plugins/assistant/google/manifest.yaml>`_.
|
||||||
for more information on how to install the required dependencies, if
|
for more information on how to install the required dependencies, if
|
||||||
the automated ways fail.
|
the automated ways fail.
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue