Skip to content

[UI/UX support for attestations] Improving the RubyGems documentation #81

@nlhkabu

Description

@nlhkabu

Improving the RubyGems Documentation - DRAFT (v 0.1)

Goals

The goals of the OSSF attestations project include:

  • Helping users to understand attestations, including what they are, how they work and what their limitations are
  • Helping users to understand attestations within the context of other security features
  • (slightly out of scope - bonus objective) Directing maintainers towards workflows that generate attestations (i.e. by using Trusted Publishing)

For new security documentation to be successful, it should be contained within an overall structure that allows users to find and understand the content they need. On auditing the existing RubyGems documentation, we found that its structure and clarity could be improved. Therefore, we extended our goals for the RubyGems documentation to also include:

  • Reorganising the documentation to help users better find the content they are looking for
  • Differentiating between content for consumers and producers

Summary of recommendations

We recommend updating the RubyGems documentation to:

  1. Improve the structure (information architecture) to help users differentiate between documentation for gem consumers and documentation for gem authors
  2. Update the "What is a gem" and "RubyGems basics" content to enhance the documentation introduction for end users (especially beginners)
  3. Add a new "gem security" page to explain security concepts (including attestations) in easy to understand terms
  4. Update gem publishing and security guides to prioritize Trusted Publishing
  5. Add search functionality (e.g "search docs" or "search guides")
  6. Enhance the reading experience of each guide / page, by exposing heading hyperlinks and providing a table of contents

The rest of this document addresses points 1-4.
Points 5 & 6 can/should be included in UI recommendations (to be made during the design phase), if determined to be within the project scope.

Recommendations

See https://docs.google.com/document/d/1WN33a4uV-YZs8Xh37_T2m3Nt_aH3T7aY21ZJQtKugh4/edit?usp=sharing

(Content has been moved to GoogleDocs to allow for easier commenting/feedback/collaboration. Once recommendations are finalised, they will be re-published here.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions