Improve more docs

This commit is contained in:
Florian Bruhin 2017-07-03 15:53:15 +02:00
parent 202b8445f6
commit 040be60697

View File

@ -114,7 +114,7 @@ content.cache.size:
none_ok: true none_ok: true
minval: 0 minval: 0
maxval: maxint64 maxval: maxint64
desc: Size of the HTTP network cache. Empty to use the default value. desc: Size of the HTTP network cache. Null to use the default value.
# Defaults from QWebSettings::QWebSettings() in # Defaults from QWebSettings::QWebSettings() in
# qtwebkit/Source/WebKit/qt/Api/qwebsettings.cpp # qtwebkit/Source/WebKit/qt/Api/qwebsettings.cpp
@ -145,8 +145,6 @@ content.cache.appcache:
use the application cache via JavaScript, the loader engine will first ask the use the application cache via JavaScript, the loader engine will first ask the
application cache for the contents, before hitting the network. application cache for the contents, before hitting the network.
The feature is described in details at: http://dev.w3.org/html5/spec/Overview.html#appcache
content.cookies.accept: content.cookies.accept:
default: no-3rdparty default: no-3rdparty
backend: QtWebKit backend: QtWebKit
@ -163,8 +161,10 @@ content.cookies.accept:
content.cookies.store: content.cookies.store:
default: true default: true
type: Bool type: Bool
desc: Whether to store cookies. Note this option needs a restart with QtWebEngine desc: >-
on Qt < 5.9. Whether to store cookies.
Note this option needs a restart with QtWebEngine on Qt < 5.9.
content.default_encoding: content.default_encoding:
type: String type: String
@ -183,8 +183,8 @@ content.developer_extras:
Enable extra tools for Web developers. Enable extra tools for Web developers.
This needs to be enabled for `:inspector` to work and also adds an _Inspect_ This needs to be enabled for `:inspector` to work and also adds an _Inspect_
entry to the context menu. For QtWebEngine, see `qutebrowser --help` entry to the context menu. For QtWebEngine, see
instead. `--enable-webengine-inspector` in `qutebrowser --help` instead.
content.dns_prefetch: content.dns_prefetch:
default: true default: true
@ -209,7 +209,7 @@ content.geolocation:
content.headers.accept_language: content.headers.accept_language:
type: String type: String
default: en-US,en default: en-US,en
desc: Value to send in the `accept-language` header. desc: Value to send in the `Accept-Language` header.
content.headers.custom: content.headers.custom:
default: {} default: {}
@ -227,7 +227,11 @@ content.headers.custom:
content.headers.do_not_track: content.headers.do_not_track:
type: Bool type: Bool
default: true default: true
desc: Value to send in the `DNT` header. desc: >-
Value to send in the `DNT` header.
When this is set to true, qutebrowser asks websites to not track your
identity.
content.headers.referer: content.headers.referer:
default: same-domain default: same-domain