mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-16 16:14:28 -04:00
add docs link to config.py
This commit is contained in:
parent
10bb970d66
commit
8319ccf064
1 changed files with 4 additions and 4 deletions
|
@ -5,12 +5,12 @@ import shutil
|
||||||
from subprocess import run, PIPE
|
from subprocess import run, PIPE
|
||||||
|
|
||||||
# ******************************************************************************
|
# ******************************************************************************
|
||||||
# * TO SET YOUR CONFIGURATION, EDIT THE VALUES BELOW, or use the 'env' command *
|
# Documentation: https://github.com/pirate/ArchiveBox/wiki/Configuration
|
||||||
# * e.g. *
|
# Use the 'env' command to pass config options to ArchiveBox. e.g.:
|
||||||
# * env USE_COLOR=True CHROME_BINARY=google-chrome ./archive.py export.html *
|
# 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'
|
USE_COLOR = os.getenv('USE_COLOR', str(IS_TTY) ).lower() == 'true'
|
||||||
SHOW_PROGRESS = os.getenv('SHOW_PROGRESS', 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'
|
ONLY_NEW = os.getenv('ONLY_NEW', 'False' ).lower() == 'true'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue