Skip to content

Suggestion: Full documentation via mdbook #654

Closed

Description

@tgross35

Have you considered adding some documentation outside of the readme, potentially with mdbook?

I ask because the readme page is getting quite lengthy, but could probably use some more detail in places like error code descriptions, command line arguments/config files (with examples) and use with editors.

A structure like rustc_error_codes crate might be good to start building. This would enable something like ruff --explain E123 in the future as well

Is there any interest? If so, I would be willing to get a PR together

Activity

  1. charliermarsh commented on Nov 8, 2022

    @charliermarsh
    Member

    Yeah this is extremely important! I've been putting it off, but the docs are falling way behind the scope of the project.

    I want to be fairly intentional about creating proper docs (need to think on the exact structure and setup a bit more), but I think creating dedicated descriptions for error codes like you've described above (something could power --explain) would be a great start. In other words: I don't know exactly where I want the docs to live etc., but something like the rustc_error_codes setup looks like it could plug in to a variety of options? I would be happy to start with mdBook too with the caveat that I might move to a different system somewhere down the line (TBD).

    PR welcome!

  2. tgross35 commented on Nov 8, 2022

    @tgross35
    ContributorAuthor

    Sounds great! I'll get something going

  3. charliermarsh commented on Feb 7, 2023

    @charliermarsh
    Member
  4. tgross35 commented on Feb 8, 2023

    @tgross35
    ContributorAuthor

    Oh hey, that's awesome! Sorry I never got around to this, but glad it worked out

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

    documentationImprovements or additions to public-facing documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions