From 741e4825a9188b97414d3342323594c4965557b8 Mon Sep 17 00:00:00 2001 From: Jesse Bannon Date: Mon, 20 Feb 2023 11:01:43 -0800 Subject: [PATCH] [DOCS] Automatic sanitized override variable docs (#453) * [DOCS] Automatic sanitized override variable docs * formatting --- src/ytdl_sub/config/preset_options.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ytdl_sub/config/preset_options.py b/src/ytdl_sub/config/preset_options.py index 860763ee..af67d5fb 100644 --- a/src/ytdl_sub/config/preset_options.py +++ b/src/ytdl_sub/config/preset_options.py @@ -114,6 +114,10 @@ class Overrides(DictFormatterValidator): Override variables can contain explicit values and other variables, including both override and source variables. + + In addition, any override variable defined will automatically create a ``sanitized`` variable + for use. In the example above, ``output_directory_sanitized`` will exist and perform + sanitization on the value when used. """ # pylint: enable=line-too-long