Skip to content

fix: remove redundant LeetCode range index pages - #6305

Merged
yanglbme merged 1 commit into
docsfrom
fix/drop-range-index-pages
Nov 11, 2026
Merged

yanglbme merged 1 commit into
docsfrom
fix/drop-range-index-pages

Conversation

@yanglbme

Copy link
Copy Markdown
Member

Summary

Stop generating LeetCode range index pages such as /lc/0000-0099/. The sidebar range heading already groups those problems, so the inner page repeated the same label.

Type

  • New solution
  • Update solution
  • Docs
  • Other

Checklist

For new or updated solutions:

  • README.md / README_EN.md follow solution/template.md
  • If a Thinking block is added, it sits after the method heading, is non-empty, and matches the code in the repo (naive idea vs constraints, bottleneck, key observation, why this method). Thinking is optional.
  • All languages implement the same algorithm; unrelated Solution.* files and code tabs are unchanged
  • Code is formatted as described in AGENTS.md

Test plan

  • py -3 -m unittest discover -s tests (49 tests)
  • After deploy, /lc/0000-0099/ is gone and the sidebar lists problems directly under 0000–0099

Made with Cursor

The range label is already the sidebar group. Stop generating the matching index page so /lc/0000-0099/ is not repeated as the first child.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI balanced review requested due to automatic review settings November 11, 2026 02:00

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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@idoocs idoocs added core team Issues or pull requests from core team py Issues or Pull requests relate to .py code labels Nov 11, 2026
@yanglbme
yanglbme merged commit 3b2551c into docs Nov 11, 2026
2 checks passed
@yanglbme
yanglbme deleted the fix/drop-range-index-pages branch November 11, 2026 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core team Issues or pull requests from core team py Issues or Pull requests relate to .py code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants