Merge pull request #23692 from waldirmontoya25/waldir-docs

BEP Describe personas and separate portal and framework docs
This commit is contained in:
Patrik Oldsberg
2024-05-20 13:31:20 +02:00
committed by GitHub
@@ -0,0 +1,347 @@
---
title: Improved Backstage Documentation with Personas
status: provisional
authors:
- '@waldirmontoya25'
- '@aramissennyeyd'
owners:
project-areas:
- core
creation-date: 2024-03-18
---
# BEP: Enhancing Backstage Documentation: Personas, Framework, and Developer Portal
[**Discussion Issue**](https://github.com/backstage/backstage/issues/23689)
- [BEP: Enhancing Backstage Documentation: Personas, Framework, and Developer Portal](#bep-enhancing-backstage-documentation-personas-framework-and-developer-portal)
- [Summary](#summary)
- [Motivation](#motivation)
- [Goals](#goals)
- [Non-Goals](#non-goals)
- [Proposal](#proposal)
- [Design Details](#design-details)
- [Personas](#personas)
- [User](#user)
- [Documentation Style](#documentation-style)
- [Administrator](#administrator)
- [Documentation Style](#documentation-style-1)
- [Integrator](#integrator)
- [Documentation Style](#documentation-style-2)
- [Contributor](#contributor)
- [Documentation Style](#documentation-style-3)
- [Business Stakeholder](#business-stakeholder)
- [Documentation Style](#documentation-style-4)
- [Release Plan](#release-plan)
- [Dependencies](#dependencies)
- [Example Table of Contents](#example-table-of-contents)
## Summary
This BEP proposes restructuring the Backstage documentation to emphasize the dual nature of Backstage as both a framework for building developer portals and a fully functional developer portal out of the box, as demonstrated by the demo site. The documentation will be divided into two main sections: One focusing on the developer portal that users get with the core plugins, and another on the framework that allows integrators and builders to create their own developer portal. The goal is to improve clarity, navigation, and adoption of Backstage by positioning it as both a ready-to-use developer portal and a framework for building custom developer portals.
## Motivation
The current Backstage documentation has been reported to be difficult to navigate, making it challenging for different personas across the DevEx ecosystem to extract value. The CNCF [**assessment**](https://github.com/cncf/techdocs/tree/main/assessments/0008-backstage/) and the resulting [**issues**](https://github.com/backstage/backstage/issues/21893) highlight the need for improvement in the documentation structure.
### Goals
- Divide the documentation into two section: Framework and Developer Portal
- Define the personas Backstage is targeting
- Structure the documentation to cater the different personas
- Move the existing content to the appropriate section
### Non-Goals
- Rewrite the entire documentation from scratch
- Write additional content beyond the scope of the existing documentation
## Proposal
The proposed restructuring of the Backstage documentation revolves around two core ideas:
1. Positioning Backstage as both a framework to build developer portals and a developer portal itself, and splitting the documentation into two main sections:
- Developer Portal: Focusing on the features, configuration, and usage of the developer portal that users get out of the box with the core plugins.
- Framework: Covering the aspects of Backstage as a framework, including guides for integrators and builders who want to create their own developer portal using Backstage.
2. Defining the personas participating in Backstage adoption journeys to improve documentation navigation. The identified personas are:
- **End User**: A person who uses Backstage to find information, use plugins, and consume the developer portal.
- **Administrator/Operator**: A person who configures, secures, and deploys the developer portal, manages plugins, and oversees the general administration of the developer portal.
- **Integrator/Builder**: A person who builds plugins, customizes the code and design, and creates custom-built developer portals based on the Backstage framework. This includes developers and designers and anyone adding new functionality to their own Backstage instance.
- **Product Manager/Business stakeholders**: A person who defines the strategy for adopting Backstage, identifies use cases, communicates the value proposition for adopting Backstage and connects the developer portal to the business strategy.
- **Contributor**: A person who contributes to the Backstage upstream ecosystem.
The adoption strategy would be as follows:
- Create a dedicated page describing the personas Backstage is targeting and the documentation sections that cater to each persona.
- Restructure the documentation into the two new sections (Framework and Developer Portal) and redistribute the existing content accordingly.
- Publish a blog post announcing the changes, highlighting Backstage's positioning as both a framework and a developer portal, and explaining the benefits of the restructured documentation.
The benefits of restructuring the documentation according to these ideas include:
1. Easier navigation and discoverability of information for different personas and use cases.
2. Clear separation of runtime and development documentation.
3. Simplified process for contributors to determine the appropriate location for new documentation.
4. Streamlined Backstage adoption process for new adopters.
## Design Details
- The Docs section of the microsite will be divided into two top-level sections: Framework and Developer Portal.
- The structure of the Table of Contents will align with the outline proposed in https://github.com/backstage/backstage/issues/21946.
### Personas
#### User
Users navigate the developer portal to access tools, information, and plugins essential for their daily tasks. They rely on Backstage to effortlessly find resources, utilize integrations, and connect with other tools and services within their ecosystem. Their interaction is predominantly with the frontend of the portal, where ease of use, accessibility, and relevant content discovery are critical.
##### Documentation Style
Documentation for this persona should be about usability of the portal once it is running. For example:
- Understanding the mechanics of the Software Catalog
- Registering components
- Deleting components
- How the source of truth is the external tool linked through the plugins
- Understand dependencies relations and the overall schema of the catalog
- Using available scaffolder actions
- Customizing new workflows with available actions
- Searching
- Using available plugins
- Step by step tutorials
#### Administrator
Administrators are responsible for the behind-the-scenes technical setup and maintenance of the Backstage portal. This includes deploying the portal, configuring plugins, managing user access, and ensuring the security and performance of the system. They interact with both the frontend and backend, often using command-line tools, administrative dashboards, and configuration files to perform their tasks.
##### Documentation Style
Documentation written for this persona should be DevOps technical, assuming a strong DevOps background. The goal with administrator documentation is to give administrators a strong understanding of how to deploy and manage a Backstage Developer Portal, best practices. For example:
- Installing and upgrading
- Configuring
- Authentication
- Plugins
- Ingesting data (users/groups/components, etc)
- Installing plugins
- Implement Git Flows for the Developer portal
- Creating Pipelines for Docs generation
- Troubleshooting
#### Integrator
Integrators actively work on extending and customizing Backstage. This includes developing new plugins, customizing the UI/UX, and integrating external services or data sources. Their work is deeply technical, involving coding, and engaging with the Backstage community for support and collaboration. They need a deep understanding of the Backstage architecture and APIs, working closely with both the framework's backend and frontend aspects.
##### Documentation Style
Documentation written for this persona should be software technical, assuming a strong software background. While we can assume an overall technical knowledge, where possible we should link out to useful guides for the technologies we use, ex: Node.js, express.js, React, etc. The goal with documentation written for integrators is to give them a strong understanding of how to use the Backstage framework to build/evolve a company's Backstage Developer Portal, orient them to get support from the open source community, and prepare them for continuing to deliver value for their Backstage Developer Portal. For example:
- API references
- Frontend and Backend systems
- Package architecture
- Extending the Software Catalog
- Creating custom themes
- Integrating new react components
- Building custom authentication providers/strategies
- Accessibility
#### Contributor
Contributors are involved in the development of the Backstage framework itself. They contribute to the core codebase, develop new features, fix bugs, create documentation and maintain the overall health of the project. They are deeply involved in the open-source community, collaborating with maintainers and other contributors to improve the framework and its ecosystem.
##### Documentation Style
The goal with documentation written for contributors is to give them a strong understanding of how to contribute to the Backstage framework, orient them to get support from the open source community, and prepare them for continuing to deliver value for the Backstage framework. For example:
- Contributing to the Backstage framework
- Setting up a development environment
- Writing tests
- Writing documentation
#### Business Stakeholder
Business stakeholders use Backstage to align technical capabilities with business goals, monitoring how features and plugins support operational efficiency, developer satisfaction, and strategic objectives. They are involved in defining the strategy and measuring the impact of the developer portal on the organization. They need to navigate through dashboards, reports, and analytics within Backstage to gather insights and make informed decisions.
##### Documentation Style
Documentation written for this persona should be strategic, assuming a strong background in business development and strategy. The goal for business documentation is to give a strong understanding of what Backstage Developer Portal can do for their company, how to deliver value quickly and continuously and guides for pitching or driving Backstage adoption. For example:
- Adoption use cases
- Adoption strategies
- Measuring success
- Case studies
## Release Plan
- Release the BEP by 03/24/2024.
- Discuss the changes with the community and gather feedback by 04/24/2024.
- Implement the changes by 04/30/2024.
## Dependencies
None
## Example Table of Contents
- Overview
- "The overview should introduce users to the concept of Backstage, what an IDP is, how to deliver value, why you should care about DevEx, etc."
- What is Backstage?
- Roadmap
- Vision
- Release and Versioning Policy
- Backstage Threat Model
- Logo assets
- Support and community
- Framework
- Architecture Overview
- "The arch overview should explain how the framework is structured, where plugins and instances fit in and how to understand the current design of Backstage."
- Getting Started
- Integrator/Builder Guides
- Local Development
- "Prepare users for how to develop locally, debug problems, run tests, etc."
- CLI
- Linking in local packages
- Debugging Backstage
- Backstage core framework
- "Internal documentation."
- Systems
- Frontend
- Old
- New
- Backend
- Old
- New
- API Reference
- "Internal documentation"
- Building plugins
- "How to build a plugin, how to integrate it with other plugins, how to deploy and monitor it, and how to iterate on plugin development."
- Intro to plugins
- Existing plugins
- Creating a new plugin
- Plugin development
- Structuring a plugin
- Integrating with other systems
- Integrating with the Catalog
- Integrating Search
- Composability system
- Internationalization
- Plugin analytics
- Feature flags
- OpenAPI
- Backends and APIs
- Testing
- Publishing
- Core Plugins
- "How to leverage the existing plugins for your new plugin or customization options."
- Home Page
- Customizing the home page
- Software Catalog
- Extending the model
- External integrations
- Catalog Customization
- API
- Software Templates
- Writing custom actions
- Writing tests for actions
- Writing custom field extensions
- Writing custom step layouts
- Authorizing parameters, steps and actions
- Migrating to react-jsonschema-form@v5
- Migrating to v1beta3 templates
- Search
- Overview
- Getting Started with search
- Search concepts
- Search architecture
- Search Engines
- How to Guides
- TechDocs
- Customizing TechDocs
- TechDocs add-ons
- Kubernetes
- Customizing the kubernetes plugin
- Authentication
- Proxy
- Permissions
- Overview
- Concepts
- Getting Started
- Writing a permission policy
- Frontend integration
- Defining custom permission rules
- Using permissions in plugins
- Designing for Backstage
- ADRs
- Accessibility
- References
- Contributor Guides
- "How to get started contributing to OSS."
- Contributing to Backstage
- Reference
- Developer Portal
- Architecture Overview
- Getting Started
- Administrator Guides
- Developer Portal
- "How do I deploy, monitor, configure and verify my Backstage Developer Portal?"
- Installing and Configuring
- Database
- Authentication
- Installing plugins
- Customize the design
- Securing
- Deploying in Production
- Integrating with other systems
- Managing
- Monitoring
- Troubleshooting
- Upgrading
- Keeping backstage up to date
- Customizing
- Core Plugins
- "How do I install and configure Backstage Developer Portal with plugins."
- Home Page
- Installing and Configuring
- Software Catalog
- Overview
- The life of an Entity
- Catalog Configuration
- System Model
- YAML file format
- Entity Reference
- Well Known annotations
- Well known relations
- Well known statuses
- Creating the catalog graph
- Software Templates
- Overview
- Configuring
- Adding a new template
- Writing a template
- Built in actions
- TechDocs
- Overview
- Getting Started
- Architecture
- Installing and configuring
- Using Cloud Storage for TechDocs generated files
- Configuring CI/CD to generate and publish TechDocs sites
- TechDocs CLI
- Troubleshooting
- Kubernetes
- Installing and Configuring
- Authentication
- Troubleshooting
- Search
- Product Manager Guides
- "How do I present Backstage to leadership, what are the benefits, why should I care, etc."
- Strategies for adopting
- Use cases
- User Guides
- "How do I use the default OSS Backstage"
- Logging in
- Registering a component
- Creating a new component
- Reference