Skip to content

Commit 006bff2

Browse files
authored
Merge branch 'master' into issu653
2 parents 492ee42 + c39d478 commit 006bff2

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

docs/source/v3-migration.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ compatibility hints automatically:
8585
from caldav import get_davclient
8686
8787
# Credentials from env vars or ~/.config/caldav/calendar.conf
88+
# This is considered best practice!
8889
with get_davclient() as client:
8990
principal = client.get_principal()
9091
...
@@ -95,14 +96,14 @@ compatibility hints automatically:
9596
principal = client.get_principal()
9697
...
9798
98-
# Use a named compatibility profile (iCloud, google, nextcloud, …)
99-
with get_davclient(features="icloud",
99+
# Use a named compatibility profile (ecloud, baikal, posteo, …)
100+
with get_davclient(features="ecloud",
100101
username="alice@icloud.com", password="...") as client:
101102
...
102103
103-
Calendars may be configured in the config file, and it's also possible to get a celndar directly through factory method:
104+
Calendars may be configured in the config file, and it's also possible to get a calendar directly through factory method:
104105

105-
.. code-block::python
106+
.. code-block:: python
106107
107108
from caldav import get_calendar
108109
with my_calendar as get_calendar(config_section='work_calendar'):

0 commit comments

Comments
 (0)