diff --git a/doc/README.md b/doc/README.md new file mode 100644 index 000000000..9add0661a --- /dev/null +++ b/doc/README.md @@ -0,0 +1,17 @@ +# Desktop client documentation + +- The main nextcloud Documentation is found at https://github.com/nextcloud/documentation +- The rst files from the current stable branch will be parsed with sphinx to be used at https://docs.nextcloud.com/desktop/3.0/ + +## How to build the documentation + +- After installing [sphinx](https://www.sphinx-doc.org) you can run: + +``` +$ git clone https://github.com/nextcloud/desktop.git +$ cd desktop +$ cd docs +$ sphinx-build -b html -D html_theme='nextcloud_com' -d _build/doctrees . _build/html/com +``` + +The documentation html files will be at ```desktop/docs/_build/html/com```. diff --git a/doc/troubleshooting.rst b/doc/troubleshooting.rst index f5a1892ab..880aa82e7 100644 --- a/doc/troubleshooting.rst +++ b/doc/troubleshooting.rst @@ -177,6 +177,21 @@ issue the following command: nextcloud --logdir /tmp/nextcloud_logs --logexpire 48 ``` +Alternatively, you can add the following to the configuration file: +``` +logDebug=true +logExpire= +logDir= +``` + +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`` + Nextcloud server Log File ~~~~~~~~~~~~~~~~~~~~~~~~~