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
docs/source/_ext
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue