Skip to content

Documentation: documentation of unstable things #1819

Open
@steveklabnik

Description

@steveklabnik

RFC 1636 is wonderful, but its first attempt at being followed has brought up an interesting procedural issue, which has brought up a broader weakness in our documentation strategy, and that's documentation of unstable things.

Historically, we've taken this strategy:

  1. Prioritize documenting stable things over unstable things.
  2. API docs have a stability marker placed next to them, so it's clear what's stable and what's not.
  3. The book has a section on "Nightly Rust", which is for long-form documentation for unstable things.

That's it. But RFC 1636 will involve lots of things landing in the reference, which has no capacity for stable vs. unstable things. And nightly Rust, while it's in a section titled that, doesn't necessarily do a good job of showing that stuff is nightly only.

So this question is this: how do we plan on tackling this problem?

My first instinct is to have some kind of "aside" box, like you might see in other kinds of docs. Here's the W3C:

cxakpnxuuaeipwl jpg large

This would work, but then it's unclear that, when removing the gate, this stuff will be updated.

Thoughts?

And of course, anyone else 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-compilerRelevant to the compiler team, which will review and decide on the RFC.T-docRelevant to the documentation team, which will review and decide on the RFC.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions