Add and use a new qubes-doc-update-icons tool#1679
Draft
parulin wants to merge 2 commits into
Draft
Conversation
qubes_doc is now a real Python package that includes a tool called `qubes-doc-update-icons`. This tool will check the `icons-to-update.json` file inside `qubes-doc/attachment`, if present it will use it to update files in `qubes-doc/attachment/icons` from their matching repos, placed next to `qubes-doc`.
* create the `icons-to-update.json` file * icons in attachment/doc are moved to `attachment/icons` * `media-eject` has been updated to `detach-light`
parulin
added a commit
to parulin/qubes-doc
that referenced
this pull request
Apr 17, 2026
Example of using qubes-doc-update-icons on qubes-artwork icons from PR QubesOS#1674
975ee50 to
5592b93
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a proposal:
qubes_docis now a real Python package that includes a CLI tool calledqubes-doc-update-icons. This tool will check theicons-to-update.jsonfile insidequbes-doc/attachment, if present it will use it to update files inqubes-doc/attachment/iconsfrom their matching repos, placed next toqubes-doc.I will make another PR based on #1674 to show how it could be useful.
This tool needs documentation. It is meant to be run maybe once a year, when there is a new release and potential changes. My goal is to reduce the maintenance burden but will be harder to add icons to the docs.