From c4067b08eb2baf2c12de36d3bbbdd3771b5fcf8a Mon Sep 17 00:00:00 2001 From: Alex Clark Date: Thu, 7 Mar 2024 10:46:56 -0500 Subject: [PATCH] Update "What about PIL?" section PyPI moderators gave PIL project to Pillow team in January 2020 --- docs/about.rst | 5 ++++- docs/conf.py | 2 +- docs/resources/css/strike.css | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 docs/resources/css/strike.css diff --git a/docs/about.rst b/docs/about.rst index cdb32ca5d..73f7ac45d 100644 --- a/docs/about.rst +++ b/docs/about.rst @@ -35,4 +35,7 @@ What about PIL? Prior to Pillow 2.0.0, very few image code changes were made. Pillow 2.0.0 added Python 3 support and includes many bug fixes from many contributors. -As more time passes since the last PIL release (1.1.7 in 2009), the likelihood of a new PIL release decreases. However, we've yet to hear an official "PIL is dead" announcement. +.. role:: strike + :class: strike + +As more time passes since the last PIL release (1.1.7 in 2009), the likelihood of a new PIL release decreases. :strike:`However, we've yet to hear an official "PIL is dead" announcement.` In January 2020, `the PyPI moderators exhausted the PEP 541 process for contacting the PIL project owner `_ and the `PIL project on PyPI `_ was transferred to the `Pillow team `_. diff --git a/docs/conf.py b/docs/conf.py index 97289c91d..d1505078d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -167,7 +167,7 @@ html_static_path = ["resources"] # directly to the root of the documentation. # html_extra_path = [] -html_css_files = ["css/dark.css"] +html_css_files = ["css/dark.css", "css/strike.css"] html_js_files = [ "js/activate_tab.js", diff --git a/docs/resources/css/strike.css b/docs/resources/css/strike.css new file mode 100644 index 000000000..1de4c484a --- /dev/null +++ b/docs/resources/css/strike.css @@ -0,0 +1,3 @@ +.strike { + text-decoration: line-through; +}