docset: use --icon-2x instead of manual copy

This commit is contained in:
Hynek Schlawack 2025-01-20 08:30:38 +01:00
parent 560b2136aa
commit 61e7cae6a1
No known key found for this signature in database
1 changed files with 1 additions and 2 deletions

View File

@ -131,6 +131,5 @@ allowlist_externals =
commands = commands =
rm -rf attrs.docset attrs.tgz docs/_build rm -rf attrs.docset attrs.tgz docs/_build
sphinx-build -n -T -W -b html -d {envtmpdir}/doctrees docs docs/_build/html 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 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
cp docs/_static/docset-icon@2x.png attrs.docset/icon@2x.png
tar --exclude='.DS_Store' -cvzf attrs.tgz attrs.docset tar --exclude='.DS_Store' -cvzf attrs.tgz attrs.docset