summaryrefslogtreecommitdiffstats
path: root/docs/source/how-to/systemd-service.md
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2021-12-12 15:29:41 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2021-12-12 18:16:21 +0000
commit24aa48187e3dd34daf5d4cb8c7d01c839141c9b7 (patch)
tree40a3d5d87f91892b072884b3486242b326899224 /docs/source/how-to/systemd-service.md
parent342cca436766febd122aaf94395355ec4baff894 (diff)
downloaddeluge-24aa48187e3dd34daf5d4cb8c7d01c839141c9b7.tar.gz
deluge-24aa48187e3dd34daf5d4cb8c7d01c839141c9b7.tar.bz2
deluge-24aa48187e3dd34daf5d4cb8c7d01c839141c9b7.zip
[Docs] Replace recommonmark with MyST parser
We used recommonmark so that we can use markdown in sphinx but it is buggy and now so switch to better supported MyST-parser. * Fixed incorrect heading warnings in markdown. * Added sphinx toctree to markdown using directive as required by MyST. * Upgraded Sphinx to 4.3 Ref: https://myst-parser.readthedocs.io
Diffstat (limited to 'docs/source/how-to/systemd-service.md')
-rw-r--r--docs/source/how-to/systemd-service.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/source/how-to/systemd-service.md b/docs/source/how-to/systemd-service.md
index 8c7ac01e8..611ecc13d 100644
--- a/docs/source/how-to/systemd-service.md
+++ b/docs/source/how-to/systemd-service.md
@@ -30,7 +30,7 @@ sudo adduser <username> deluge
Create the file `/etc/systemd/system/deluged.service` containing the following:
-```eval_rst
+```{eval-rst}
.. literalinclude:: ../../../packaging/systemd/deluged.service
:language: ini
```
@@ -47,7 +47,7 @@ sudo mkdir /etc/systemd/system/deluged.service.d/
Then create a user file `/etc/systemd/system/deluged.service.d/user.conf` with
the following contents:
-```eval_rst
+```{eval-rst}
.. literalinclude:: ../../../packaging/systemd/user.conf
:language: ini
```
@@ -82,7 +82,7 @@ after changes.
Create the file `/etc/systemd/system/deluge-web.service` containing the following:
-```eval_rst
+```{eval-rst}
.. literalinclude:: ../../../packaging/systemd/deluge-web.service
:language: ini
```
@@ -99,7 +99,7 @@ sudo mkdir /etc/systemd/system/deluge-web.service.d/
Then create a user file `/etc/systemd/system/deluge-web.service.d/user.conf` with
the following contents:
-```eval_rst
+```{eval-rst}
.. literalinclude:: ../../../packaging/systemd/user.conf
:language: ini
```