Skip to content

docs: refresh icon guidance#2809

Open
jahn-junior wants to merge 1 commit into
mainfrom
work/icon-docs/CHARMCRAFT-718
Open

docs: refresh icon guidance#2809
jahn-junior wants to merge 1 commit into
mainfrom
work/icon-docs/CHARMCRAFT-718

Conversation

@jahn-junior

@jahn-junior jahn-junior commented Jul 23, 2026

Copy link
Copy Markdown
Contributor
  • Refresh what was previously the 'Manage icons' how-to guide
  • Add explicit mention of the file path in the plugin migration guides
  • Remove how-to information from the icon.svg reference, instead pointing users to the refreshed how-to.

Resolves #2593 and #2744.


  • I've followed the contribution guidelines.
  • I've signed the CLA.
  • I've successfully run make lint && make test.
  • I've added or updated any relevant documentation.
  • In documents I changed, I added a meta description if one was missing.
  • I've updated the relevant release notes.

@jahn-junior
jahn-junior requested review from a team and lengau as code owners July 23, 2026 21:37
Copilot AI review requested due to automatic review settings July 23, 2026 21:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refreshes Charmcraft’s icon documentation by replacing the old “Manage icons” how-to with a new “Add an icon to Charmhub” guide, simplifying the icon.svg reference to avoid duplicating how-to content, and updating plugin migration guides to clarify that icon.svg is no longer included by default for non-Charm plugins.

Changes:

  • Replaces docs/howto/manage-icons.rst with a new docs/howto/add-an-icon.rst guide and updates the how-to index links accordingly.
  • Updates plugin migration guides (Poetry/Python/uv) to point to the icon.svg reference when describing extra files.
  • Simplifies docs/reference/files/icon-svg-file.rst by removing the embedded how-to example in favor of linking to the how-to.

Reviewed changes

Copilot reviewed 7 out of 10 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
docs/reference/files/icon-svg-file.rst Removes embedded “how to include” example; now points users to the how-to for manual packing.
docs/howto/migrate-plugins/charm-to-uv.rst Updates “Include extra files” wording to reference the icon.svg reference.
docs/howto/migrate-plugins/charm-to-python.rst Updates “Include extra files” wording to reference the icon.svg reference.
docs/howto/migrate-plugins/charm-to-poetry.rst Updates “Include extra files” wording to reference the icon.svg reference.
docs/howto/manage-icons.rst Removes the old how-to content (superseded by the new add-an-icon guide).
docs/howto/index.rst Repoints the how-to index and toctree entry from manage-icons to add-an-icon.
docs/howto/add-an-icon.rst Adds the refreshed icon how-to (create/validate/pack/publish icon).

Comment thread docs/howto/add-an-icon.rst
Comment thread docs/howto/add-an-icon.rst Outdated
Comment thread docs/howto/index.rst
Comment thread docs/reference/files/icon-svg-file.rst Outdated
Comment thread docs/howto/migrate-plugins/charm-to-uv.rst
Comment thread docs/howto/migrate-plugins/charm-to-python.rst
Comment thread docs/howto/migrate-plugins/charm-to-poetry.rst
docs: add redirect

docs: fix typo

docs: clarify file location

docs: add missing meta description

docs: add 'validator' to ignore list

docs: fix redirect
@jahn-junior
jahn-junior force-pushed the work/icon-docs/CHARMCRAFT-718 branch from b911e14 to 07d5b4d Compare July 23, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

icon.svg is not included in *.charm file

2 participants