diff --git a/Configuration.md b/Configuration.md index a19b70a..07a07f5 100644 --- a/Configuration.md +++ b/Configuration.md @@ -18,12 +18,12 @@ As defined in [`archivebox/config.py`](https://github.com/pirate/ArchiveBox/blob ### Shell Options #### `USE_COLOR` -`USE_COLOR=`[`True`]/`False` -Colorize console ouput. +[`True`]/`False` +Colorize console ouput. Defaults to `True` if stdin is a TTY (interactive session), otherwise `False` (e.g. if run in a script or piped into a file). #### `SHOW_PROGRESS` [`True`]/`False` -Show real-time progress bar in console output. +Show real-time progress bar in console output. Defaults to `True` if stdin is a TTY (interactive session), otherwise `False` (e.g. if run in a script or piped into a file). ### Dependency Options @@ -45,10 +45,23 @@ You can override the default behavior to search for any available bin by setting The chrome/chromium dependency is _optional_ and only required for screenshots, PDF, and DOM dump output, it can be safely ignored if those three methods are disabled. +Related options: +[`FETCH_PDF`](#fetch_pdf), [`FETCH_SCREENSHOT`](#fetch_screenshot), [`FETCH_DOM`](#fetch_dom) + #### `WGET_BINARY` [`wget`]/`/usr/local/bin/wget`/... Path or name of the wget binary to use. +Related options: +[`FETCH_WGET`](#fetch_wget), [`FETCH_WARC`](#fetch_warc) + +#### `YOUTUBEDL_BINARY` +[`youtube-dl`]/`/usr/local/bin/youtube-dl`/... +Path or name of the [youtube-dl](https://github.com/rg3/youtube-dl) binary to use. + +Related options: +[`FETCH_MEDIA`](#fetch_media) + ### Archive Settings #### `OUTPUT_DIR` @@ -71,6 +84,9 @@ Maximum allowed download time per archive method for each link in seconds. If y [`3600`]/`120`/... Maximum allowed download time for fetching media when `FETCH_MEDIA=True` in seconds. This timeout is separate and usually much longer than `TIMEOUT` because media downloaded with `youtube-dl` can often be quite large and take many minutes/hours to download. Tweak this setting based on your network speed and maximum media file size you plan on downloading. +Related options: +[`FETCH_MEDIA`](#fetch_media) + #### `TEMPLATES_DIR` [`$REPO_DIR/archivebox/templates`]/`/path/to/custom/templates`/... Path to a directory containing custom index html templates for themeing your archive output. Folder at specified path must contain the following files: @@ -81,10 +97,16 @@ Path to a directory containing custom index html templates for themeing your arc You can copy the files in `archivebox/templates` into your own directory to start developing a custom theme, then edit `TEMPLATES_DIR` to point to your new custom templates directory. +Related options: +[`FOOTER_INFO`](#footer_info) + #### `FOOTER_INFO` [`Content is hosted for personal archiving purposes only. Contact server owner for any takedown requests.`]/`Operated by ACME Co.`/... Some text to display in the footer of the archive index. Useful for providing server admin contact info to respond to takedown requests. +Related options: +[`TEMPLATES_DIR`](#templates_dir) + ### Archive Method Toggles #### `FETCH_TITLE` @@ -95,40 +117,65 @@ Fetch the page HTML and attempt to parse the links' title from any `