From e9d74996af11b5dc0a752dcd33d9ab8fcf0109a0 Mon Sep 17 00:00:00 2001 From: David Lord Date: Mon, 18 Jan 2021 19:30:04 -0800 Subject: [PATCH] update docs about log color --- docs/installation.rst | 8 ++++---- docs/serving.rst | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index 9a7b13f62..1c6d3f748 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -21,14 +21,14 @@ Optional dependencies These distributions will not be installed automatically. Werkzeug will detect and use them if you install them. -* `Click`_ provides request log highlighting when using the - development server. On Windows, you should also install `colorama`_. +* `Colorama`_ provides request log highlighting when using the + development server on Windows. This works automatically on other + systems. * `Watchdog`_ provides a faster, more efficient reloader for the development server. -.. _Click: https://pypi.org/project/click/ +.. _Colorama: https://pypi.org/project/colorama/ .. _Watchdog: https://pypi.org/project/watchdog/ -.. _colorama: https://pypi.org/project/colorama/ Virtual environments diff --git a/docs/serving.rst b/docs/serving.rst index 6eacc98b0..1d3a5705d 100644 --- a/docs/serving.rst +++ b/docs/serving.rst @@ -73,11 +73,11 @@ polling and ``'watchdog'`` forces it to the watchdog backend. Colored Logging --------------- -The development server can optionally highlight the request logs in -different colors based on the status code. Install `Click`_ to enable -this feature. +The development server highlights the request logs in different colors +based on the status code. On Windows, `Colorama`_ must be installed as +well to enable this. -.. _Click: https://pypi.org/project/click/ +.. _Colorama: https://pypi.org/project/colorama/ Virtual Hosts