Skip to content

docs: keep the mkdocs site to the public API — scrub internal tooling references#10

Merged
happycodelucky merged 3 commits into
mainfrom
happycodelucky/crazy-gould-f4aac0
Jun 11, 2026
Merged

docs: keep the mkdocs site to the public API — scrub internal tooling references#10
happycodelucky merged 3 commits into
mainfrom
happycodelucky/crazy-gould-f4aac0

Conversation

@happycodelucky

Copy link
Copy Markdown
Owner

What changed

The mkdocs site named internal tooling and files that consumers can't act on. This PR rewrites those passages to describe the behavior of the published API instead of the mechanism behind it:

  • index, installation, platforms, recipes, concepts — SKIE attributions replaced with behavior-level descriptions (Kotlin enums arrive as exhaustive Swift enums, StateFlow<T> bridges as AsyncSequence<T>, close() keeps its name). The Kotlin floor row no longer claims its upper bound "tracks SKIE".
  • platforms/ios.md, platforms/macos.md — dropped internal source paths (Reachability+Shared.swift, Reachability.apple.kt) alongside the tool naming.
  • installation.md — the SPM roadmap note says "an XCFramework hosted on GitHub Packages" rather than "KMMBridge-style XCFramework".
  • mkdocs.yml — removed comments referencing internal files and a sibling project.

Why

The docs are consumer-facing; they should document the public API contract, not the toolchain. Behavior-level phrasing also future-proofs the pages — a change in the Swift-interop toolchain wouldn't invalidate them.

Notes for review

  • contributing.md deliberately keeps its toolchain mentions: that page documents build prerequisites for contributors, where the toolchain is the subject. The README is similarly out of scope here.
  • No rendered page mentioned LLMs or AI assistants, so nothing needed generalizing on that front.
  • Verified with mise run docs:build (strict mode) and docs/check.py — both pass.

🤖 Generated with Claude Code

happycodelucky and others added 3 commits June 11, 2026 02:15
The mkdocs site is consumer-facing and should only discuss the public
API. Remove internal mechanism names from user-facing pages:

- SKIE attributions on index, installation, platforms, recipes, and
  concepts pages — rephrased to describe the observable Swift surface
  (exhaustive enums, AsyncSequence bridging, close() name preservation)
  instead of the tool that produces it
- Internal source paths (Reachability+Shared.swift,
  Reachability.apple.kt) that consumers cannot act on
- KMMBridge naming in the SPM roadmap note
- CLAUDE.md and sibling-project references in mkdocs.yml comments

contributing.md keeps its toolchain mentions — that page documents
build prerequisites for contributors, where the toolchain is the
subject.

mise run docs:build (strict) and docs/check.py pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ing names

main's SPM distribution rewrote the installation page; resolve by taking
the new shipped-SPM content and applying the docs policy from this
branch — describe the prebuilt XCFramework and Swift bridging by
behavior, without naming the toolchain that produces it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Dokka renders this KDoc into the public API reference on the docs site;
describe the Swift bridging by behavior per the docs policy.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@happycodelucky happycodelucky merged commit 9a98afa into main Jun 11, 2026
2 checks passed
@happycodelucky happycodelucky deleted the happycodelucky/crazy-gould-f4aac0 branch June 11, 2026 15:04
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.

1 participant