Repository navigation
Add Starlight documentation site - #40
Merged
Merged
Conversation
- Standalone Astro/Starlight project in website/ - Auto-generated API reference via starlight-typedoc (52 pages) - Hand-written guides: distributions, Markov chains, quick start - Dark mode default, GitHub social link, Pagefind search - CI workflow updated to build and deploy Starlight to GitHub Pages - Scripts: docs (build), docs:dev (preview), docs:typedoc (raw) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New guides: RandomSampler (statistical distributions, data-driven sampling), chain analysis (getStats, score, analyze), immutable patterns (freeze/toMutable, PRNG forking). Expanded markov-chains guide with batch operations, blending strategies (5 strategies with decision tree), MultiDimMarkovChain, and constraint-based generation. Added architecture diagram to introduction. Installed astro-mermaid for diagram support. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
astro-mermaid's injectScript('page') doesn't work with Starlight.
Load mermaid from CDN via Starlight's head config instead. The
astro-mermaid remark plugin still handles code block transformation.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Name Generator: Markov chain name generation with training data editor - Distribution Explorer: 12 statistical distributions with live histograms - Weight Editor: Weighted distribution builder with probability visualization - Chain Visualizer: Transition matrix and gram structure inspector - Blend Comparison: Side-by-side blend strategy comparison (5 strategies) All components use React islands (client:load) with shared playground CSS that inherits Starlight's theme variables. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…style cleanup - Switch .playground-controls from flex-wrap to CSS grid for consistent column alignment across all components - Reduce separator margins and h3 visual weight for tighter vertical rhythm - Add hover states to histogram bars and tags - Increase histogram height to 200px for better distribution shape readability - Extract inline styles to CSS classes: .playground-table, .playground-items, .playground-item-row, .playground-column-header, .playground-gram-label, .playground-axis-labels, .playground-grams, .playground-small-value - Remove hardcoded dark-mode fallback colors from CSS variables - NameGenerator: rename "Generate" to "Re-roll" for clarity - DistributionExplorer: remove inline minWidth styles - WeightEditor: use CSS grid for item rows, useRef for nextId - ChainVisualizer: remove redundant Unique States section, use CSS table classes - BlendComparison: deduplicate generated names, show both chain weights, move blended column to center position, use CSS column header class Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
website/Structure
Scripts
pnpm run docspnpm run docs:devpnpm run docs:typedocTest plan
pnpm run docsbuilds 61 pages without errorspnpm run docs:devserves locally🤖 Generated with Claude Code