-
Notifications
You must be signed in to change notification settings - Fork 21
Description
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:
- Improve the structure (information architecture) to help users differentiate between documentation for gem consumers and documentation for gem authors
- Update the "What is a gem" and "RubyGems basics" content to enhance the documentation introduction for end users (especially beginners)
- Add a new "gem security" page to explain security concepts (including attestations) in easy to understand terms
- Update gem publishing and security guides to prioritize Trusted Publishing
- Add search functionality (e.g "search docs" or "search guides")
- 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.)