Skip to content

Docs: use a self-hosted CodeQL logo instead of deprecated GHIcons - #22516

Open
redsun82 wants to merge 1 commit into
codeql-cli-2.27.0from
redsun82-octovisuals-docs-logo
Open

Docs: use a self-hosted CodeQL logo instead of deprecated GHIcons#22516
redsun82 wants to merge 1 commit into
codeql-cli-2.27.0from
redsun82-octovisuals-docs-logo

Conversation

@redsun82

@redsun82 redsun82 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

docs/codeql/index.html hot-linked the CodeQL logo from ghicons.github.com. GHIcons is deprecated and that URL will eventually 404, so the logo on https://codeql.github.com/docs/ would become broken.

This points the <img> at the same artwork hosted alongside the site's other assets in the publication repo that serves codeql.github.com, so the page no longer depends on a deprecated host. The logo itself is unchanged — this is a like-for-like move, not a redesign.

@redsun82
redsun82 requested a review from a team as a code owner September 7, 2026 08:10
Copilot AI balanced review requested due to automatic review settings September 7, 2026 08:10

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.

Copilot review overview

🟢 Approval recommended

The relative asset path and decorative-image semantics are correct for the published documentation layout.

Review tier: Balanced
Findings: None

What changed in this PR

Updates the documentation landing page to replace a broken GHIcons-hosted logo.

Changes:

  • Uses the Primer Octovisuals CodeQL asset.
  • Marks the decorative image with empty alternative text.
File Description
docs/​codeql/​index.html Updates the landing-page logo source and accessibility metadata.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

jacknojo
jacknojo previously approved these changes Sep 7, 2026

@jacknojo jacknojo 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.

Looks good, but it's not 404ing for me?

curl --url 'https://ghicons.github.com/assets/images/blue/svg/Code%20QL.svg'
<svg width="56" height="56" xmlns="http://www.w3.org/2000/svg">...

@redsun82
redsun82 changed the base branch from main to codeql-cli-2.27.0 September 7, 2026 08:19
@redsun82
redsun82 dismissed jacknojo’s stale review September 7, 2026 08:19

The base branch was changed.

@redsun82
redsun82 requested review from a team as code owners September 7, 2026 08:19
GHIcons is deprecated and the hot-linked URL now 404s. The replacement
`code-ql` icon is hosted alongside the site's other assets, so the
`../` path matches the nav links already in this file.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@redsun82
redsun82 force-pushed the redsun82-octovisuals-docs-logo branch from 48e62f6 to f5eec51 Compare September 7, 2026 08:20
@redsun82
redsun82 requested a balanced review from Copilot September 7, 2026 08:21

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.

Copilot review overview

🟢 Approval recommended

The relative asset path resolves correctly and the decorative image now has appropriate alternative text.

Review tier: Balanced
Findings: None

@redsun82
redsun82 removed request for a team September 7, 2026 08:24
@redsun82
redsun82 removed request for a team September 7, 2026 08:24
@redsun82

redsun82 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

Looks good, but it's not 404ing for me?

curl --url 'https://ghicons.github.com/assets/images/blue/svg/Code%20QL.svg'
<svg width="56" height="56" xmlns="http://www.w3.org/2000/svg">...

sorry, wrong PR description, it did 404 shortly in the past, but we temporarily reinstated the icons to avoid that. I updated the PR description accordingly.

@jacknojo jacknojo 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.

Ah, thanks.

@redsun82 redsun82 changed the title Docs: replace deprecated GHIcons logo with Primer Octovisuals asset Docs: use a self-hosted CodeQL logo instead of deprecated GHIcons Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants