Add GitHub Pages site with searchable algorithm index#2720
Merged
Conversation
Single-file static page showcasing all 358 algorithms across 21 categories with instant search, collapsible sections, and mobile support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Each algorithm now shows a one-line description when clicked. Descriptions are extracted from source file docstrings. Search also matches against descriptions. When searching, descriptions auto-expand for visible results. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Clicking an algorithm now opens a modal dialog that: - Fetches the raw Python source from GitHub on demand - Parses the module docstring as the "Mechanism" section - Shows the implementation code below - Caches fetched sources for instant re-opens - Closes via X button, backdrop click, or Escape key - Full-screen on mobile, centered card on desktop Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add "Usage" section showing pip install + import + example call - Fix ... continuation line handling in doctest example parser - Detect re-export files (just imports + __all__) and skip unhelpful Mechanism/Usage sections for them - Only show Mechanism when docstring content exists - Strip ... continuation prefixes from usage examples Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove logo image from README, replace with plain # algorithms - Delete all logo assets from docs/source/_static/logo/ - Delete docs/source/_static/algorithms_logo.png Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/index.html) showcasing all 358 algorithms across 21 categoriesTest plan
docs/index.htmllocally and verify all categories render/docson main🤖 Generated with Claude Code