From d04ddfd117c3f9741c68ace4f50c3cb3f61e29ce Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Wed, 8 Feb 2023 12:04:53 +0100 Subject: [PATCH] Docs: add link to configuration file See #2136 (not a full solution, but at least one more path to understanding added) --- docs/source/configure.rst | 1 + gunicorn/config.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/configure.rst b/docs/source/configure.rst index 0a8e7fe7..dc9ba62d 100644 --- a/docs/source/configure.rst +++ b/docs/source/configure.rst @@ -65,6 +65,7 @@ usual:: There is also a ``--version`` flag available to the command line scripts that isn't mentioned in the list of :ref:`settings `. +.. _configuration_file: Configuration File ================== diff --git a/gunicorn/config.py b/gunicorn/config.py index 2d7d8be6..f8938c7a 100644 --- a/gunicorn/config.py +++ b/gunicorn/config.py @@ -548,7 +548,7 @@ class ConfigFile(Setting): validator = validate_string default = "./gunicorn.conf.py" desc = """\ - The Gunicorn config file. + :ref:`The Gunicorn config file`. A string of the form ``PATH``, ``file:PATH``, or ``python:MODULE_NAME``.