aboutcode icon indicating copy to clipboard operation
aboutcode copied to clipboard

docs: implement persona-based documentation paths (fixes #250)

Open gyanranjanpanda opened this issue 9 months ago • 2 comments

Overview

Implements #250 by creating user-centric documentation paths organized around user goals rather than tools.

Changes

New Persona Landing Pages

Created three persona-specific entry points in docs/source/personas/:

  • Legal/Compliance Professionals (legal-compliance.rst)

    • Non-technical language focused on compliance and business outcomes
    • Workflows: license policies, attribution, supplier SBOMs, CRA compliance
  • Security/SCA Professionals (security-researcher.rst)

    • Security-focused language with CVE and PURL terminology
    • Workflows: vulnerability scanning, database queries, SBOM security analysis
  • Developers/Integrators (developer-integrator.rst)

    • Technical language with code examples (bash, Python, YAML)
    • Workflows: CLI usage, API integration, CI/CD pipelines, SBOM automation

Updated Homepage

  • Added "Choose Your Path" section with persona cards
  • Added new "Persona Paths" toctree section
  • All existing sections preserved

Bug Fix

  • Fixed missing underscore in purldb-project.rst label reference

Design Decisions

  • Additive approach: All existing documentation unchanged
  • Cross-persona navigation: Each page links to other personas where relevant
  • Consistent structure: All three personas follow the same format
  • Persona-appropriate language: Each page uses terminology suited to its audience

Verification

  • ✅ Documentation builds with zero warnings
  • ✅ All link checks pass
  • ✅ All style checks (doc8) pass
  • ✅ All persona paths accessible

Acceptance Criteria (from #250)

  • [x] Documentation mapping table created
  • [x] Proposed site map with personas/ directory
  • [x] User journey documents for all three personas

Files Changed

  • 3 new files: persona landing pages (~540 lines)
  • 2 modified files: homepage + label fix
  • Zero breaking changes

Testing

To view locally:

cd docs
make html
open build/html/index.html

Navigate through the "Choose Your Path" section to explore each persona.

gyanranjanpanda avatar Feb 05 '26 09:02 gyanranjanpanda

I am not sure we are ready to do this. Asking @pombredanne or @AyanSinhaMahapatra to help with the review. @gyanranjanpanda please be patient while we take a deeper look at this, thanks.

DennisClark avatar Feb 05 '26 21:02 DennisClark

Thank you for taking a look. I appreciate the deeper review happy to wait and address any feedback from you, @pombredanne, or @AyanSinhaMahapatra.

gyanranjanpanda avatar Feb 05 '26 21:02 gyanranjanpanda