From 61e7cae6a154530350fee8b76e0a33e37e8e8bce Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Mon, 20 Jan 2025 08:30:38 +0100 Subject: [PATCH] docset: use --icon-2x instead of manual copy --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index faf49f6d..3fff3a2b 100644 --- a/tox.ini +++ b/tox.ini @@ -131,6 +131,5 @@ allowlist_externals = commands = rm -rf attrs.docset attrs.tgz docs/_build sphinx-build -n -T -W -b html -d {envtmpdir}/doctrees docs docs/_build/html - doc2dash --index-page index.html --icon docs/_static/docset-icon.png --online-redirect-url https://www.attrs.org/en/latest/ docs/_build/html - cp docs/_static/docset-icon@2x.png attrs.docset/icon@2x.png + doc2dash --index-page index.html --icon docs/_static/docset-icon.png --icon-2x docs/_static/docset-icon@2x.png --online-redirect-url https://www.attrs.org/en/latest/ docs/_build/html tar --exclude='.DS_Store' -cvzf attrs.tgz attrs.docset