From: Camila Date: Mon, 1 Feb 2021 17:43:17 +0000 (+0100) Subject: Documentation: break line in config example. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~383^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3087a09c4544b6bd65f101d1cb89a6c69a073cfc;p=nextcloud-desktop.git Documentation: break line in config example. Also make sure the following note is not displayed as one block with the config example. Minor change: fix typo. Signed-off-by: Camila --- diff --git a/doc/troubleshooting.rst b/doc/troubleshooting.rst index 4ba7bd33a..e7320f1b1 100644 --- a/doc/troubleshooting.rst +++ b/doc/troubleshooting.rst @@ -171,34 +171,35 @@ settings associated with the log window. To enable logging to a directory, stop the client and add the following to the General section in the configuration file: -``` -[General] -logDebug=true -logExpire= -logDir= -``` +:: + + [General] + logDebug=true + logExpire= + logDir= - .. note:: Independent of platform you must use slash (/) as a path reparator: +Independent of platform you must use slash (/) as a path separator: - * Correct: C:/Temp - * Not correct: C:\Temp + .. note:: + * Correct: C:/Temp + * Not correct: C:\Temp As an example, to keep log data for two days in a directory called temp: -``` -[General] -logDebug=true -logExpire=48 -logDir=C:/Temp -``` +:: + + [General] + logDebug=true + logExpire=48 + logDir=C:/Temp Once you restart the client, you will find the log file in the ```` defined in ``logDir``. .. note:: You will find the configuration file in the following locations: - * Microsoft Windows systems: ``%APPDATA%\Nextcloud\nextcloud.cfg`` - * macOS systems: ``$HOME/Library/Preferences/Nextcloud/nextcloud.cfg`` - * Linux distributions: ``$HOME/.config/Nextcloud/nextcloud.cfg`` + * Microsoft Windows systems: ``%APPDATA%\Nextcloud\nextcloud.cfg`` + * macOS systems: ``$HOME/Library/Preferences/Nextcloud/nextcloud.cfg`` + * Linux distributions: ``$HOME/.config/Nextcloud/nextcloud.cfg`` Alternatively, you can start the client in the command line with parameters: