mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
fix config parameter formatting
This commit is contained in:
parent
6c652c9b7a
commit
f1cc05af62
1 changed files with 68 additions and 66 deletions
134
docs/config.rst
134
docs/config.rst
|
|
@ -161,19 +161,19 @@ CalDAV and CardDAV
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
[storage example_for_caldav]
|
[storage example_for_caldav]
|
||||||
type = "caldav"
|
type = "caldav"
|
||||||
#start_date = null
|
#start_date = null
|
||||||
#end_date = null
|
#end_date = null
|
||||||
#item_types = []
|
#item_types = []
|
||||||
url = "..."
|
url = "..."
|
||||||
#username = ""
|
#username = ""
|
||||||
#password = ""
|
#password = ""
|
||||||
#verify = true
|
#verify = true
|
||||||
#auth = null
|
#auth = null
|
||||||
#useragent = "vdirsyncer/0.16.4"
|
#useragent = "vdirsyncer/0.16.4"
|
||||||
#verify_fingerprint = null
|
#verify_fingerprint = null
|
||||||
#auth_cert = null
|
#auth_cert = null
|
||||||
|
|
||||||
You can set a timerange to synchronize with the parameters ``start_date``
|
You can set a timerange to synchronize with the parameters ``start_date``
|
||||||
and ``end_date``. Inside those parameters, you can use any Python
|
and ``end_date``. Inside those parameters, you can use any Python
|
||||||
|
|
@ -223,34 +223,36 @@ CalDAV and CardDAV
|
||||||
CardDAV.
|
CardDAV.
|
||||||
|
|
||||||
::
|
::
|
||||||
[storage example_for_carddav]
|
|
||||||
type = "carddav"
|
|
||||||
url = "..."
|
|
||||||
#username = ""
|
|
||||||
#password = ""
|
|
||||||
#verify = true
|
|
||||||
#auth = null
|
|
||||||
#useragent = "vdirsyncer/0.16.4"
|
|
||||||
#verify_fingerprint = null
|
|
||||||
#auth_cert = null
|
|
||||||
|
|
||||||
:param url: Base URL or an URL to an addressbook.
|
[storage example_for_carddav]
|
||||||
:param username: Username for authentication.
|
type = "carddav"
|
||||||
:param password: Password for authentication.
|
url = "..."
|
||||||
:param verify: Verify SSL certificate, default True. This can also be a
|
#username = ""
|
||||||
local path to a self-signed SSL certificate. See :ref:`ssl-tutorial`
|
#password = ""
|
||||||
for more information.
|
#verify = true
|
||||||
:param verify_fingerprint: Optional. SHA1 or MD5 fingerprint of the
|
#auth = null
|
||||||
expected server certificate. See :ref:`ssl-tutorial` for more
|
#useragent = "vdirsyncer/0.16.4"
|
||||||
information.
|
#verify_fingerprint = null
|
||||||
:param auth: Optional. Either ``basic``, ``digest`` or ``guess``. The
|
#auth_cert = null
|
||||||
default is preemptive Basic auth, sending credentials even if server
|
|
||||||
didn't request them. This saves from an additional roundtrip per
|
:param url: Base URL or an URL to an addressbook.
|
||||||
request. Consider setting ``guess`` if this causes issues with your
|
:param username: Username for authentication.
|
||||||
server.
|
:param password: Password for authentication.
|
||||||
:param auth_cert: Optional. Either a path to a certificate with a client
|
:param verify: Verify SSL certificate, default True. This can also be a
|
||||||
certificate and the key or a list of paths to the files with them.
|
local path to a self-signed SSL certificate. See
|
||||||
:param useragent: Default ``vdirsyncer``.
|
:ref:`ssl-tutorial` for more information.
|
||||||
|
:param verify_fingerprint: Optional. SHA1 or MD5 fingerprint of the expected
|
||||||
|
server certificate. See :ref:`ssl-tutorial` for
|
||||||
|
more information.
|
||||||
|
:param auth: Optional. Either ``basic``, ``digest`` or ``guess``. The
|
||||||
|
default is preemptive Basic auth, sending credentials even if
|
||||||
|
server didn't request them. This saves from an additional
|
||||||
|
roundtrip per request. Consider setting ``guess`` if this
|
||||||
|
causes issues with your server.
|
||||||
|
:param auth_cert: Optional. Either a path to a certificate with a client
|
||||||
|
certificate and the key or a list of paths to the files
|
||||||
|
with them.
|
||||||
|
:param useragent: Default ``vdirsyncer``.
|
||||||
|
|
||||||
Google
|
Google
|
||||||
++++++
|
++++++
|
||||||
|
|
@ -321,9 +323,9 @@ or write anything to it.
|
||||||
|
|
||||||
Please refer to :storage:`caldav` regarding the ``item_types`` and timerange parameters.
|
Please refer to :storage:`caldav` regarding the ``item_types`` and timerange parameters.
|
||||||
|
|
||||||
:param token_file: A filepath where access tokens are stored.
|
:param token_file: A filepath where access tokens are stored.
|
||||||
:param client_id/client_secret: OAuth credentials, obtained from the Google
|
:param client_id/client_secret: OAuth credentials, obtained from the Google
|
||||||
API Manager.
|
API Manager.
|
||||||
|
|
||||||
.. storage:: google_contacts
|
.. storage:: google_contacts
|
||||||
|
|
||||||
|
|
@ -337,9 +339,9 @@ or write anything to it.
|
||||||
client_id = "..."
|
client_id = "..."
|
||||||
client_secret = "..."
|
client_secret = "..."
|
||||||
|
|
||||||
:param token_file: A filepath where access tokens are stored.
|
:param token_file: A filepath where access tokens are stored.
|
||||||
:param client_id/client_secret: OAuth credentials, obtained from the Google
|
:param client_id/client_secret: OAuth credentials, obtained from the Google
|
||||||
API Manager.
|
API Manager.
|
||||||
|
|
||||||
EteSync
|
EteSync
|
||||||
+++++++
|
+++++++
|
||||||
|
|
@ -357,37 +359,37 @@ password. Neither are stored.
|
||||||
|
|
||||||
.. storage:: etesync_contacts
|
.. storage:: etesync_contacts
|
||||||
|
|
||||||
Contacts for etesync.
|
Contacts for etesync.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
[storage example_for_etesync_contacts]
|
[storage example_for_etesync_contacts]
|
||||||
email = ...
|
email = ...
|
||||||
secrets_dir = ...
|
secrets_dir = ...
|
||||||
#server_path = ...
|
#server_path = ...
|
||||||
#db_path = ...
|
#db_path = ...
|
||||||
|
|
||||||
:param email: The email address of your account.
|
:param email: The email address of your account.
|
||||||
:param secrets_dir: A directory where vdirsyncer can store the encryption
|
:param secrets_dir: A directory where vdirsyncer can store the encryption
|
||||||
key and authentication token.
|
key and authentication token.
|
||||||
:param server_url: Optional. URL to the root of your custom server.
|
:param server_url: Optional. URL to the root of your custom server.
|
||||||
:param db_path: Optional. Use a different path for the database.
|
:param db_path: Optional. Use a different path for the database.
|
||||||
|
|
||||||
.. storage:: etesync_calendars
|
.. storage:: etesync_calendars
|
||||||
|
|
||||||
Calendars for etesync.
|
Calendars for etesync.
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
[storage example_for_etesync_calendars]
|
[storage example_for_etesync_calendars]
|
||||||
email = ...
|
email = ...
|
||||||
secrets_dir = ...
|
secrets_dir = ...
|
||||||
#server_path = ...
|
#server_path = ...
|
||||||
#db_path = ...
|
#db_path = ...
|
||||||
|
|
||||||
:param email: The email address of your account.
|
:param email: The email address of your account.
|
||||||
:param secrets_dir: A directory where vdirsyncer can store the encryption
|
:param secrets_dir: A directory where vdirsyncer can store the encryption
|
||||||
key and authentication token.
|
key and authentication token.
|
||||||
:param server_url: Optional. URL to the root of your custom server.
|
:param server_url: Optional. URL to the root of your custom server.
|
||||||
:param db_path: Optional. Use a different path for the database.
|
:param db_path: Optional. Use a different path for the database.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue