Skip to content

language reference should be standalone; external links should not be considered as documentation coverage #1666

Description

@binary132

Imagine if the GNU C manual had links to Github. This seems silly to me. The worst is when people link to Wikipedia articles in their official docs, but I don't think you guys are doing that, at least! :)

Examples I was able to find:
https://ziglang.org/documentation/master/#This
https://ziglang.org/documentation/master/#Source-Encoding
https://ziglang.org/documentation/master/#Errors
https://ziglang.org/documentation/master/#Await

Activity

  1. thejoshwolfe commented on Oct 23, 2018

    @thejoshwolfe
    SponsorContributor

    Fwiw, the Rust manual has links to github: https://doc.rust-lang.org/book/2018-edition/ch00-00-introduction.html Also, Zig is not stable yet.

    The Zig docs are not linking to github because the docs are incomplete. The "This", "Errors", and "Await" sections link to proposals to change the documented behavior. What do you propose instead of linking to those issues?

    The Source-Encoding section links to an issue where I explain the decision to specify the source encoding as it is. The docs contain the specification, and the issue contains the rationale. I suppose we could put the rationale in the official docs, but it's not necessary for anyone creating or consuming Zig code, so I don't think it belongs in the official docs. If people are curious why the decision was made or would like to contribute their own opinion, the docs give a link to follow to read more and post comments.

  2. andrewrk commented on Oct 23, 2018

    @andrewrk
    Member

    Let's revisit this when the language is complete and the docs are done. It's way too early for an issue like this.

  3. added this to the 1.0.0 milestone on Oct 24, 2018
  4. changed the title [-]I think docs shouldn't have links to Github[/-] [+]language reference should be standalone; external links should not be considered as documentation coverage[/+] on Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions