From d927b8ebf62a0bf723cb7b526beef675f73c678a Mon Sep 17 00:00:00 2001
From: github-actions
Date: Fri, 9 Feb 2024 12:55:11 +0000
Subject: [PATCH] update docs [bot]
---
docs/genindex.html | 8 ++++----
docs/index.html | 1 +
docs/inkycal.html | 16 ++++++++--------
docs/objects.inv | Bin 632 -> 634 bytes
docs/searchindex.js | 2 +-
5 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/docs/genindex.html b/docs/genindex.html
index c60cee5..ebfc779 100644
--- a/docs/genindex.html
+++ b/docs/genindex.html
@@ -163,6 +163,8 @@
+ |
+
-
inkycal.main
@@ -187,8 +191,6 @@
- module
- |
-
-
inkycal.modules.ical_parser
@@ -289,8 +291,6 @@
|
|
diff --git a/docs/index.html b/docs/index.html
index 64f9fc7..01fee37 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -103,6 +103,7 @@
Helper classes
About Inkycal
diff --git a/docs/inkycal.html b/docs/inkycal.html
index a2c01b1..afc42f5 100644
--- a/docs/inkycal.html
+++ b/docs/inkycal.html
@@ -89,9 +89,9 @@
Inkyimage.preview()
Inkyimage.remove_alpha()
Inkyimage.resize()
-Inkyimage.to_palette()
+image_to_palette()
About Inkycal
@@ -261,13 +261,13 @@ printed fonts of this function:
-
-inkycal.custom.functions.get_system_tz()
+inkycal.custom.functions.get_system_tz() → str
Gets the system-timezone
Gets the timezone set by the system.
- Returns:
A timezone if a system timezone was found.
-None if no timezone was found.
+UTC if no timezone was found.
@@ -524,9 +524,11 @@ white pixels.
Resize an image to desired width or height
-
--
-to_palette(palette, dither=True) -> (<module 'PIL.Image' from '/home/runner/work/Inkycal/Inkycal/venv/lib/python3.11/site-packages/PIL/Image.py'>, <module 'PIL.Image' from '/home/runner/work/Inkycal/Inkycal/venv/lib/python3.11/site-packages/PIL/Image.py'>)
+
+
+
+-
+inkycal.modules.inky_image.image_to_palette(image: <module 'PIL.Image' from '/home/runner/work/Inkycal/Inkycal/venv/lib/python3.11/site-packages/PIL/Image.py'>, palette: ~typing.Literal = ['bwr', 'bwy', 'bw', '16gray'], dither: bool = True) -> (<module 'PIL.Image' from '/home/runner/work/Inkycal/Inkycal/venv/lib/python3.11/site-packages/PIL/Image.py'>, <module 'PIL.Image' from '/home/runner/work/Inkycal/Inkycal/venv/lib/python3.11/site-packages/PIL/Image.py'>)
Maps an image to a given colour palette.
Maps each pixel from the image to a colour from the palette.
@@ -553,8 +555,6 @@ white pixels.
-
-
diff --git a/docs/objects.inv b/docs/objects.inv
index 97338b16590beb2fa0ac7ba3a2b019e554eb5ea3..df0d12b84eda2aa56ec36add55bb97cc65ffa7c3 100644
GIT binary patch
delta 526
zcmV+p0`dL$1o{M!cYn!l+%OD=?|upc?RAXinp@Faaww3Z4wrsBsMQ?+N{WC~}joeUU-?tmFM)?p{G&p>jhOot4l
zZ6OQpc(2(6n!Z`QA=%g&^!Z5)dlRVi#2>k-%iTjc8Gokv^7}M5A1MXLj*UJSzOyNL
zKgDL2#>V3#nu3ar4dbH40kzN^-zH(aouC}0M{CkPkAI7^+st2hq;q@8p0~5qoOgJN
zJtpdd80@e+P9*oA=_Qb&xtRS#_ANzb&VJ*S?YuQ~2s`wFm2Wf8#
zsWp7P)&x!5^m>EVg)J&VPb+0pp<)xo1+(CM8i@5({a0U!A0Sb4aO=u^jZlGUvdoORC-n_KMyWn1+G{9NojAD(Dn2i{m%)#=l=`&W(8+U8N$2AiQ
z4!Et~Px5K#PN4Pe{sCY*+!`tD)~#Hirf$!`$&}96I~gzv-2pRjtiw)VpMm61nGP99
z+d>xH@m_N$DBhB6oDTZz#DcvERC?l%+|=dnp_~kpzkmEb`Q}5V;MlP-<|1}BrRb+P
z&eGU;fJ9SJakOE)02Bw*LUVkZgz