Skip to content

Document every published crate - #284

Merged
soareschen merged 1 commit into
mainfrom
docs/crate-docs
Nov 7, 2026
Merged

soareschen merged 1 commit into
mainfrom
docs/crate-docs

Conversation

@soareschen

Copy link
Copy Markdown
Collaborator

Overview

[deepseek-v4.1-flash] Every published crate now opens with a doc that says what it provides and links the reference page for its constructs, and each carries its own description. A crates.io or docs.rs visitor previously found an empty page for 25 of the 29 published crates.

Motivation

Only four crates included a README as their crate doc, and the other 25 inherited one workspace description, so the landing page of most crates said nothing about the crate. The website documents the constructs, but a reader who arrives from crates.io had no route from the crate to the page that explains it.

Impact

Each crate doc states the crate's role in one line and then links the particular reference page for each construct it provides, such as HasField and Index for cgp-field, or the seven error providers for cgp-error-extra. The main cgp crate keeps the workspace description, which is the project's tag line, and the two test crates keep it because they are not published.

The docs build with warnings denied, which surfaced three broken intra-doc links in cgp-macro-core and cgp-base-types; those are fixed here too. The cgp README's note about sparse docs.rs pages now says each page describes its crate while the per-item documentation is still being filled in.

A crates.io or docs.rs visitor found an empty page for 25 of the 29
published crates, because only four included a README as their crate doc
and the rest inherited one workspace description. Each crate now opens
with a doc that states what it provides and links the reference page for
its constructs, and each carries its own description.

The docs build with warnings denied, which surfaced three broken
intra-doc links in `cgp-macro-core` and `cgp-base-types`; those are
fixed here too.
@soareschen
soareschen marked this pull request as ready for review November 7, 2026 21:01
@soareschen
soareschen merged commit 7650dac into main Nov 7, 2026
3 checks passed
@soareschen
soareschen deleted the docs/crate-docs branch November 7, 2026 21:02
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