From 669f3e30735bb6efe3f565bda8fc5414d09d8a58 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Wed, 16 Feb 2022 18:47:22 +0100 Subject: [PATCH] Emphasize lines with things to replace in autostart guides (#5548) * Emphasize lines with things to replace in autostart guides * Use 'default' pygments style instead --- docs/autostart_mac.rst | 3 ++- docs/autostart_systemd.rst | 1 + docs/conf.py | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/autostart_mac.rst b/docs/autostart_mac.rst index 32978a37c..4a6b7cc71 100644 --- a/docs/autostart_mac.rst +++ b/docs/autostart_mac.rst @@ -20,11 +20,12 @@ Now run :code:`sudo nano /Library/LaunchDaemons/red.plist` Paste the following and replace the following: -- all instances of :code:`username` with your Mac username +- :code:`username` (but not :code:`UserName`) with your Mac username - :code:`path` with the path you copied earlier - :code:`instance-name` with your instance name: .. code-block:: none + :emphasize-lines: 9, 13, 28 diff --git a/docs/autostart_systemd.rst b/docs/autostart_systemd.rst index 7e9ff8379..467f5035d 100644 --- a/docs/autostart_systemd.rst +++ b/docs/autostart_systemd.rst @@ -39,6 +39,7 @@ Then create the new service file: Paste the following in the file, and replace all instances of :code:`username` with the Linux username you retrieved above, and :code:`path` with the python path you retrieved above. .. code-block:: none + :emphasize-lines: 8-10 [Unit] Description=%I redbot diff --git a/docs/conf.py b/docs/conf.py index 3019fda8b..8f636b132 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -96,7 +96,7 @@ exclude_patterns = [ ] # The name of the Pygments (syntax highlighting) style to use. -pygments_style = "sphinx" +pygments_style = "default" # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = False