Skip to content

fix(docs): upgrade comark-docs and fix logo layout shift - #330

Merged
antfu merged 1 commit into
mainfrom
feat/docs-logo-mark
Sep 2, 2026
Merged

fix(docs): upgrade comark-docs and fix logo layout shift#330
antfu merged 1 commit into
mainfrom
feat/docs-logo-mark

Conversation

@atinux

@atinux atinux commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Written by an AI agent on behalf of @atinux, who supplied and reviewed this title and description.

I noticed an issue on current website for the logo, the best way is to use the logo.mark feature and use the LogoMark.vue component. I also upgraded comark-docs so the right click on the logo now works.

Written by an AI agent on behalf of @atinux, who supplied and reviewed this message.
Copilot AI lite review requested due to automatic review settings September 1, 2026 12:55
@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
devframe Ready Ready Preview Sep 1, 2026 12:57pm UTC

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

Updates the docs site configuration and upstream comark-docs patching to eliminate the header logo layout shift and restore expected logo interactions, while aligning workspace trust-policy exclusions with updated transitive dependencies.

Changes:

  • Switch the docs header logo configuration to use logo.mark and introduce a dedicated LogoMark.vue SVG component.
  • Update the comark-docs patch to use Shiki (with Vitesse themes) instead of Rangi/Geist theme wiring.
  • Extend pnpm trust-policy exclusions for updated @vercel/* dependency versions.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

File Description
pnpm-workspace.yaml Adds additional trustPolicyExclude entries to accommodate updated @vercel/* dependency versions.
patches/comark-docs@0.0.1.patch Adjusts upstream comark-docs to use Shiki-based highlighting with Vitesse themes.
docs/app/components/LogoMark.vue Adds an inline SVG logo mark component used by the docs header.
docs/app/app.config.ts Switches docs header logo config from light/dark URLs to mark: 'devframe'.
Suppressed comments (1)

pnpm-workspace.yaml:40

  • trustPolicyExclude includes @vercel/cli-config@0.2.3, but the lockfile resolves @vercel/cli-config@0.2.4. To keep the trust exclusions narrowly scoped (and reduce future drift), it’s better to remove the unused version entry.
  - '@vercel/cli-config@0.2.3'
  - '@vercel/cli-config@0.2.4'
  - '@vercel/cli-exec@1.0.1'

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

Comment thread pnpm-workspace.yaml
Comment on lines 33 to +37
- tinyexec@1.2.2
- '@vercel/functions@3.9.3'
- '@vercel/functions@3.9.5'
- '@vercel/oidc@3.8.4'
- '@vercel/oidc@3.8.5'
</script>

<template>
<svg class="h-6 w-auto" viewBox="0 0 500 500" fill="none" xmlns="http://www.w3.org/2000/svg">
@antfu
antfu merged commit 2568baf into main Sep 2, 2026
14 checks passed
@antfu
antfu deleted the feat/docs-logo-mark branch September 2, 2026 00:34
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.

3 participants