diff --git a/docs/source/_ext/add_dependencies.py b/docs/source/_ext/add_dependencies.py index 2a7b4891a..6f0cf5f49 100644 --- a/docs/source/_ext/add_dependencies.py +++ b/docs/source/_ext/add_dependencies.py @@ -55,7 +55,12 @@ class IntegrationEnricher: @staticmethod 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 def add_install_deps( diff --git a/platypush/plugins/assistant/google/__init__.py b/platypush/plugins/assistant/google/__init__.py index 52758cb5c..a5ce3b4af 100644 --- a/platypush/plugins/assistant/google/__init__.py +++ b/platypush/plugins/assistant/google/__init__.py @@ -56,8 +56,9 @@ class AssistantGooglePlugin(AssistantPlugin, RunnablePlugin): .. 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 - 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) + Python installations. Please refer to the comments in the `manifest + file + `_. for more information on how to install the required dependencies, if the automated ways fail. """