From 8319ccf064842d25819d47e40a5054b04607d463 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Tue, 12 Mar 2019 12:48:46 -0400 Subject: [PATCH] add docs link to config.py --- archivebox/config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/archivebox/config.py b/archivebox/config.py index 6fc5d55e..7cd2b56c 100644 --- a/archivebox/config.py +++ b/archivebox/config.py @@ -5,12 +5,12 @@ import shutil from subprocess import run, PIPE # ****************************************************************************** -# * TO SET YOUR CONFIGURATION, EDIT THE VALUES BELOW, or use the 'env' command * -# * e.g. * -# * env USE_COLOR=True CHROME_BINARY=google-chrome ./archive.py export.html * +# Documentation: https://github.com/pirate/ArchiveBox/wiki/Configuration +# Use the 'env' command to pass config options to ArchiveBox. e.g.: +# env USE_COLOR=True CHROME_BINARY=google-chrome ./archive export.html # ****************************************************************************** -IS_TTY = sys.stdout.isatty() +IS_TTY = sys.stdout.isatty() USE_COLOR = os.getenv('USE_COLOR', str(IS_TTY) ).lower() == 'true' SHOW_PROGRESS = os.getenv('SHOW_PROGRESS', str(IS_TTY) ).lower() == 'true' ONLY_NEW = os.getenv('ONLY_NEW', 'False' ).lower() == 'true'