Skip to content

docs: declutter README header#7

Merged
hutaobo merged 1 commit into
mainfrom
claude/zen-ishizaka-19fb62
Jun 12, 2026
Merged

docs: declutter README header#7
hutaobo merged 1 commit into
mainfrom
claude/zen-ishizaka-19fb62

Conversation

@hutaobo

@hutaobo hutaobo commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Removes three header blocks for a cleaner top of the README: the logo banner, the one-line tagline, and the navigation link row (PyPI · conda-forge · …). The centered title, badge row, overview figure, and section table remain.

🤖 Generated with Claude Code

由 Sourcery 提供的摘要

在保留项目核心介绍的前提下,精简 README 和文档总览图。

文档:

  • 通过移除 README 头部的 logo 横幅、标语以及导航链接行,简化布局以获得更简洁的外观。
  • 将 README 和文档中用于展示九大功能的总览图从 PNG 切换为共用的 SVG 资源,并相应调整周围的介绍文本。
Original summary in English

Summary by Sourcery

Streamline the README and documentation overview figure while keeping the core project introduction intact.

Documentation:

  • Simplify the README header by removing the logo banner, tagline, and navigation link row for a cleaner layout.
  • Switch the nine-feature overview figure in the README and docs from PNG to a shared SVG asset and adjust surrounding intro text accordingly.

Copilot AI review requested due to automatic review settings June 12, 2026 14:15
@sourcery-ai

sourcery-ai Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor
评审者指南(在小型 PR 上折叠显示)

评审者指南

通过移除页首多余的区块来简化 README 头部,改用 SVG 代替 PNG 作为概览图资源,以提升文档渲染效果,并更新开头句子以强调九个规范章节,同时将新的 SVG 资源添加到文档静态文件中。

文件级变更

变更 细节 文件
简化 README 头部布局并微调介绍文案。
  • 移除了主标题上方居中的 Logo 横幅图像区块。
  • 移除了标题下方单行居中的标语段落。
  • 移除了居中的导航链接行(PyPI、conda-forge、docs、GitHub、changelog、releases)。
  • 将头部的概览图从 PNG 替换为 SVG 版本,同时保持尺寸和替代文本一致。
  • 重写引言句,将项目描述为围绕九个章节及其规范入口进行组织,并直接引出下方表格。
README.md
统一文档概览图使用 SVG 资源并将其添加到代码库中。
  • 将主文档索引页上的概览图引用从 PNG 资源切换为 SVG 资源,同时保留图像元数据和样式类。
  • 将用户指南中九个功能概览图的引用从 PNG 更新为 SVG,替代文本和样式指令保持不变。
  • 在文档静态图像目录下添加新的 SVG 概览图资源。该文件包含九个功能概览插图的矢量版本。
docs/index.md
docs/user-guide/nine-feature-overview.md
docs/_static/figures/pyxenium-nine-feature-overview.svg

提示与命令

与 Sourcery 交互

  • 触发新的评审: 在 pull request 中评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的评审评论。
  • 从评审评论生成 GitHub issue: 回复某条评审评论,请求 Sourcery 从该评论创建一个 issue。你也可以在该评论下回复 @sourcery-ai issue 来从中创建 issue。
  • 生成 pull request 标题: 在 pull request 标题的任意位置写上 @sourcery-ai 即可随时生成标题。你也可以在 pull request 中评论 @sourcery-ai title 来(重新)生成标题。
  • 生成 pull request 摘要: 在 pull request 正文任意位置写上 @sourcery-ai summary,即可在你想要的确切位置随时生成 PR 摘要。你也可以在 pull request 中评论 @sourcery-ai summary 来(重新)生成摘要。
  • 生成评审者指南: 在 pull request 中评论 @sourcery-ai guide,即可随时(重新)生成评审者指南。
  • 解决所有 Sourcery 评论: 在 pull request 中评论 @sourcery-ai resolve 来标记解决所有 Sourcery 评论。如果你已经处理完所有评论并且不想再看到它们,这会非常有用。
  • 取消所有 Sourcery 评审: 在 pull request 中评论 @sourcery-ai dismiss 来取消所有现有的 Sourcery 评审。如果你想从头开始一次新的评审,这尤其有用——别忘了再次评论 @sourcery-ai review 来触发新的评审!

自定义你的体验

访问你的 控制面板 来:

  • 启用或禁用评审功能,例如 Sourcery 生成的 pull request 摘要、评审者指南等。
  • 更改评审语言。
  • 添加、移除或编辑自定义评审说明。
  • 调整其他评审设置。

获取帮助

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Declutters the README header by removing extraneous top-of-page blocks, switches the overview figure assets from PNG to SVG for better docs rendering, and updates the intro sentence to emphasize the nine canonical sections with a new SVG asset added to the docs static files.

File-Level Changes

Change Details Files
Simplified the README header layout and tweaked the intro copy.
  • Removed the centered logo banner image block above the main title.
  • Removed the one-line centered tagline paragraph under the title.
  • Removed the centered navigation link row (PyPI, conda-forge, docs, GitHub, changelog, releases).
  • Updated the overview figure in the header from a PNG to an SVG version while keeping size and alt text consistent.
  • Rephrased the introductory sentence to describe the project as organized around nine sections with canonical entry points, directly leading into the table.
README.md
Standardized docs overview figures on the SVG asset and added it to the repository.
  • Switched the main docs index overview figure reference from the PNG asset to the SVG asset while preserving figure metadata and classes.
  • Updated the user guide nine-feature overview figure reference from PNG to SVG with unchanged alt text and styling directives.
  • Added the new SVG overview figure asset under the docs static figures directory. This file contains the vector version of the nine-feature overview illustration.
docs/index.md
docs/user-guide/nine-feature-overview.md
docs/_static/figures/pyxenium-nine-feature-overview.svg

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot 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.

Hey - 我在这里给出了一些总体反馈:

  • 将概览图片切换为 SVG 非常好,不过建议再通过优化工具(例如 svgo)处理一下,以减小文件大小并去除不必要的元数据,这可以提升 README 和文档的加载性能。
  • 从 README 头部移除导航链接行之后,顶部看起来更简洁,但你可能需要确保在 README 的其他位置仍然提供同样醒目的导航链接,方便用户快速访问 PyPI、文档、更新日志和发布说明。
供 AI 代理使用的提示
Please address the comments from this code review:

## Overall Comments
- Switching the overview image to SVG is great, but consider running it through an optimizer (e.g., svgo) to reduce file size and strip unnecessary metadata, which will improve load performance for the README and docs.
- Removing the navigation link row from the README header makes the top cleaner, but you might want to ensure equivalent prominent navigation to PyPI, docs, changelog, and releases exists elsewhere in the README so users can still discover those quickly.

Sourcery 对开源项目是免费的——如果你觉得我们的评审有帮助,请考虑分享它们 ✨
帮我变得更有用!请在每条评论上点击 👍 或 👎,我会根据你的反馈改进后续评审。
Original comment in English

Hey - I've left some high level feedback:

  • Switching the overview image to SVG is great, but consider running it through an optimizer (e.g., svgo) to reduce file size and strip unnecessary metadata, which will improve load performance for the README and docs.
  • Removing the navigation link row from the README header makes the top cleaner, but you might want to ensure equivalent prominent navigation to PyPI, docs, changelog, and releases exists elsewhere in the README so users can still discover those quickly.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Switching the overview image to SVG is great, but consider running it through an optimizer (e.g., svgo) to reduce file size and strip unnecessary metadata, which will improve load performance for the README and docs.
- Removing the navigation link row from the README header makes the top cleaner, but you might want to ensure equivalent prominent navigation to PyPI, docs, changelog, and releases exists elsewhere in the README so users can still discover those quickly.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Remove the logo banner, the one-line tagline, and the navigation link
row from the README header. Title, badges, overview figure, and the
section table remain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@hutaobo hutaobo force-pushed the claude/zen-ishizaka-19fb62 branch from 58d91f0 to 3f9aaa6 Compare June 12, 2026 14:16
@hutaobo hutaobo merged commit df8e011 into main Jun 12, 2026
3 of 9 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

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 streamlines the project’s documentation landing surfaces by simplifying the README header and switching the “nine-feature overview” image references from PNG to a shared SVG asset.

Changes:

  • Removed the README’s logo banner, tagline paragraph, and navigation link row to reduce header clutter.
  • Updated the README and Sphinx docs pages to reference pyxenium-nine-feature-overview.svg instead of the PNG.
  • Tweaked surrounding README intro text around the “nine major sections” table.

Reviewed changes

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

File Description
README.md Removes extra header blocks, updates the overview figure to SVG, and adjusts the short intro sentence above the section table.
docs/user-guide/nine-feature-overview.md Updates the MyST {figure} directive to load the SVG overview figure.
docs/index.md Updates the homepage {figure} directive to load the SVG overview figure.
Comments suppressed due to low confidence (1)

README.md:16

  • This change removes the only short description of what pyXenium is (Python toolkit for 10x Genomics Xenium). That conflicts with the PR goal of keeping the core project introduction intact and makes the README header less informative for first-time readers.
pyXenium is organized around nine major sections, each with a canonical entry point:

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
</p>

<p align="center">
<img src="https://raw.githubusercontent.com/hutaobo/pyXenium/main/docs/_static/figures/pyxenium-nine-feature-overview.svg" alt="pyXenium nine-feature overview figure" width="960">
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.

2 participants