feat: add elm-pages documentation site#27
Merged
Merged
Conversation
Initialize elm-pages v3.5.1 scaffold under packages/docs-site with monorepo-appropriate package.json. Adds lamdera, elm-review, and elm-codegen as required devDependencies. Adds lamdera to root pnpm onlyBuiltDependencies to allow its postinstall binary download. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Modify the elm-pages scaffold to include a sticky header with nav links, a collapsible sidebar with navigation sections, and a styled main content area. Replace default CSS with full docs site stylesheet supporting light/dark mode, responsive breakpoints, and typography. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add hand-written Elm modules for API documentation: - ApiDocs.Types: data types for API docs (ApiModule, TypeDoc, FunctionDoc) - ApiDocs.TreeshakeCheck: treeshake-check package documentation - Route.Api.Package_.ModuleName_: pre-rendered API reference pages - API reference and architecture CSS styles - Fix pre-existing ephemeral field disagreement in Blog, Docs, Contributing, and Packages routes by referencing description fields in view functions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add static Architecture route showing how wolfcola devtools packages relate to each other. Includes: - SVG diagram with package boxes grouped by tool family (OIDC DevTools and Tree-Shake Tools) with dependency arrows - Package relationships description list - Helper functions for SVG primitives (svgBox, svgGroup, svgArrow) - elm/svg dependency added to elm.json Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ributing Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…tection Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…DC integration guides Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Dark mode now applies background/color on the [data-theme] wrapper which spans min-height: 100vh, so the entire page goes dark - Header nav links now point to actual existing pages instead of nonexistent index routes (/packages -> /packages/treeshake-check, etc.) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…atch real code - Delete all ApiDocs Elm modules (Types, TreeshakeCheck, EslintPluginTreeshake, DevtoolsBridge, DevtoolsTypes) and the API route (Route.Api.Package_.ModuleName_) - Remove API link from header nav in Shared.elm - Remove .api-reference, .api-item, .api-signature, .api-example CSS rules - Rewrite devtools-bridge package page with real exports: attachDaVinciBridge, attachJourneyBridge, attachOidcBridge, emitAuthEvent, emitConfigEvent, DEVTOOLS_EVENT_NAME, BridgeHandle, DevtoolsOptions - Rewrite devtools-types package page with real schemas: AuthEventSchema, NetworkDataSchema, SdkDataSchema, SdkConfigDataSchema, DomDataSchema, SessionDataSchema, JourneyDataSchema, OidcDataSchema, FlowStateSchema, FlowSummarySchema, FlowExportSchema, OIDC semantic schemas - Rewrite treeshake-check package page with real CLI options and programmatic API: checkPackage, analyzeTreeshakeability, getEntryFromPackageJson, error classes - Rewrite eslint-plugin-treeshake package page with real single rule (no-treeshake-hazard) and its check categories, configs (recommended/strict) - Rewrite DaVinci integration guide: attachDaVinciBridge with Subscribable interface - Rewrite Journey integration guide: attachJourneyBridge with RTK Query state - Rewrite OIDC integration guide: attachOidcBridge with endpoint-to-phase mapping - Fix stale ApiDocs references in contributing docs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Fix treeshake-check CLI syntax (no positional args, use --cwd) - Fix event type examples in devtools-extension.md (use real schema types) - Fix unpacked extension path (manifest.json is in package root) - Fix vscode extension ID and name (oidc-devtools by ryanbasmajian) - Fix createBridge reference to attachDaVinciBridge in vscode docs - Fix test file location (co-located in src/, not in test/) - Fix eslint-plugin docs (add missing Object.defineProperties) - Fix repository-structure.md (correct vscode path, add devtools-core/ui) - Fix tree-shaking.md (remove barrel file claim, accurate tool description) - Remove scaffold leftover routes (Greet, Hello, Blog) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The bridge requires Ping Identity SDK Subscribable interfaces, not arbitrary OIDC clients. Updated callout to list the actual supported SDKs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The elm-pages docs-site contains Elm files and generated JS that the TypeScript ESLint parser cannot handle, causing ESLint to hang indefinitely in CI. Exclude the entire package since it uses Elm (not TypeScript) and has its own tooling. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The docs site is a deployable Elm app, not a publishable TypeScript library. Moving it to apps/ separates it from the package pipeline (lint, test, typecheck) and avoids ESLint/TypeScript tooling conflicts. - Move packages/docs-site → apps/docs - Add apps/* to pnpm-workspace.yaml - Update ESLint ignores, CI workflow paths, and content references Co-Authored-By: Claude Opus 4.6 (1M context) <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
packages/docs-site/Pages
Tech Stack
Test Plan
pnpm buildpasses inpackages/docs-site/🤖 Generated with Claude Code