Page is under construction.
Check the github issues for ways to contribute! Or provide your feedback in this quick form
Check the github issues for ways to contribute! Or provide your feedback in this quick form
Provide Feedback
On Any Page
You can provide feedback directly on any documentation page:- Thumbs Up/Down — Quick feedback on whether the page was helpful
- Comments — Share specific feedback, suggestions, or questions
- Issue Reporting — Report errors, outdated information, or broken links
Feedback mechanisms are provided by Mintlify. Look for feedback options at the bottom of pages or in the page header.
General Feedback Channels
If you prefer other channels:- GitHub Issues — Open an issue in the Livepeer Docs repository
- Discord — Share feedback in the Livepeer community Discord
- Email — Contact the documentation team directly
Contributing to the Docs
We welcome contributions from everyone, regardless of technical background!Non-Technical Contributions
You don’t need to know Git or Markdown to contribute:Option 1: Feedback Form
A feedback form is available for non-technical contributions. This allows you to suggest improvements, report issues, or share content ideas without needing to work with code.
Option 2: Content Suggestions
- Identify areas that need clarification
- Suggest new topics or guides
- Report outdated information
- Share use cases or examples
Technical Contributions (Git & Markdown)
If you’re comfortable with Git and Markdown, you can contribute directly:Pull Request Workflow
Step-by-Step Guide
1. Fork the Repository
- Navigate to github.com/livepeer/docs
- Click the “Fork” button in the top right
- This creates your own copy of the repository
2. Clone Your Fork
3. Set Up Remote Tracking
4. Create a Branch
docs/prefix for documentation changes- Use descriptive names:
docs/fix-typo-quickstart-guide - Use kebab-case (lowercase with hyphens)
5. Install Pre-commit Hooks
Pre-commit hooks automatically check your code for style guide violations and syntax errors before you commit.
- Check for deprecated
ThemeDatausage - Warn about hardcoded hex colors
- Validate MDX, JSON, and JavaScript syntax
- Check for relative imports
- Verify absolute import paths
6. Make Your Changes
Edit the relevant files: Where to edit content:- Main documentation pages:
v2/pages/(organized by section) - Components:
snippets/components/ - Data files:
snippets/data/ - Assets:
snippets/assets/
- Use kebab-case for file names:
quickstart-guide.mdx - Use descriptive names that reflect content
- Follow the existing structure in each section
7. Test Locally
http://localhost:3000) where you can preview your changes.
What to check:
- ✅ Pages render correctly
- ✅ No console errors
- ✅ Links work correctly
- ✅ Components display properly
- ✅ Both light and dark modes work
- ✅ Mobile responsiveness
8. Commit Your Changes
- Use prefixes:
docs:,fix:,feat:,chore: - Be descriptive: “docs: add API authentication example”
- Reference issues: “docs: update gateway setup (fixes #123)”
9. Push to Your Fork
10. Create a Pull Request
- Navigate to github.com/livepeer/docs
- You should see a banner suggesting to create a PR from your recent push
- Click “Compare & pull request”
- Fill out the PR template:
- Title: Clear, descriptive title
- Description: Explain what and why you changed
- Related Issues: Link to any related issues
- Type: Mark as documentation change
- Testing: Describe how you tested
11. Address Review Feedback
All PRs require at least one review from a maintainer. See Review Process below for details.
- Respond to comments
- Make requested changes
- Push updates to the same branch (they’ll appear in the PR automatically)
- Mark conversations as resolved when done
12. Merge and Cleanup
Once your PR is approved and merged:- Delete your branch locally:
git branch -d docs/your-branch-name - Delete your branch on GitHub (option available after merge)
- Update your fork:
git checkout docs-v2-preview && git pull upstream docs-v2-preview
Development Setup
Prerequisites
- Node.js (v18 or higher recommended)
- Git
- GitHub account
Installation
Running Locally
Project Structure
Contribution Guidelines
Style Guide
Critical rules:- ✅ Use CSS Custom Properties (
var(--accent)) only - ❌ Never use
ThemeDataor hardcode colors - ✅ Use absolute imports:
/snippets/components/... - ❌ No relative imports for snippets
- ✅ Test in both light and dark modes
Component Usage
- Use components from the Component Library
- Check component documentation before creating new components
- Follow existing patterns and conventions
Content Guidelines
- Be clear and concise — Write for your audience
- Use examples — Show, don’t just tell
- Keep it up-to-date — Remove outdated information
- Link appropriately — Use internal links to related content
- Add keywords — Help with discoverability
Code Examples
- Use proper syntax highlighting
- Include complete, runnable examples when possible
- Explain what the code does
- Show expected output when relevant
Testing Requirements
Before submitting a PR, ensure:- All pages render without errors
- No console errors in browser
- Links work correctly
- Components display properly
- Works in both light and dark modes
- Mobile responsive
- Pre-commit hooks pass
Review Process
Who Reviews What
Documentation changes are reviewed by section owners. See CODEOWNERS for details. General review assignments:- Developers section: Developer relations team
- Gateways section: Gateway team
- Orchestrators section: Orchestrator team
- Delegators section: Delegator team
- Resources section: Documentation team
- General/Cross-cutting: Documentation team
Review Timeline
We aim to review PRs within 48-72 hours during business days.
- Small changes (typos, broken links): Usually reviewed within 24 hours
- Medium changes (content updates, examples): 48-72 hours
- Large changes (new guides, major restructuring): May take longer, discuss in issue first
Review Criteria
Reviewers check for:- ✅ Accuracy and correctness
- ✅ Style guide compliance
- ✅ Proper component usage
- ✅ Working links and examples
- ✅ Appropriate tone and clarity
- ✅ SEO and discoverability
Addressing Feedback
- Respond to all comments
- Make requested changes or explain why not
- Push updates to the same branch
- Mark conversations as resolved
- Request re-review when ready
What to Contribute
We welcome contributions in many areas:Content Improvements
- Fix typos and grammatical errors
- Clarify confusing explanations
- Update outdated information
- Improve code examples
- Add missing information
New Content
- Tutorials and guides
- Quickstarts for new features
- API documentation
- Code examples and snippets
- Component examples
Technical Improvements
- Component enhancements
- Styling improvements
- Automation scripts
- Documentation tooling
Translations
- Help translate content (when multilingual support is ready)
- Improve existing translations
File Structure Guide
Where to Edit Different Types of Content
| Content Type | Location | Example |
|---|---|---|
| Main pages | v2/pages/[section]/ | v2/pages/03_developers/guides-and-resources/ |
| Components | snippets/components/ | snippets/components/primitives/links.jsx |
| Data files | snippets/data/ | snippets/data/gateways/flags.jsx |
| Assets | snippets/assets/ | snippets/assets/logos/ |
| Navigation | docs.json | Root level |
| Styling | style.css | Root level |
Section Organization
Resources for Contributors
Style Guide
Complete styling guidelines, Mintlify gotchas, and best practices.
Component Library
Reference all custom components with live examples and usage instructions.
Mintlify Documentation
Official Mintlify documentation for built-in components and features.
GitHub Repository
Source code and issue tracker for the documentation.
Documentation Guide
Learn how the documentation is structured and organised.
CODEOWNERS
See who reviews changes to each section.
Contribution Workflow Summary
For Small Changes (Typos, Broken Links)
- Fork and create branch
- Make the fix
- Test locally
- Submit PR
- Address any feedback
For Medium Changes (Content Updates, Examples)
- Open an issue to discuss (optional but recommended)
- Fork and create branch
- Make changes
- Test thoroughly
- Submit PR with clear description
- Iterate based on feedback
For Large Changes (New Guides, Major Restructuring)
- Always discuss first — Open an issue or discussion
- Get feedback and approval before starting
- Create a detailed plan
- Fork and create branch
- Work incrementally (consider draft PR)
- Submit PR with comprehensive description
- Iterate based on extensive feedback
Recognition
Contributors are recognised and appreciated! Your contributions help make the Livepeer documentation better for everyone in the community.Questions?
If you have questions about contributing:- Check the Documentation Guide for structure and conventions
- Review the Style Guide for styling guidelines
- Check the Component Library for component usage
- Review CODEOWNERS to see who reviews what
- Open a GitHub issue or discussion
- Ask in the Livepeer Discord community
Non-Technical Contribution Proposal
This section outlines proposed workflows for contributors who don’t use Git, Markdown, or React. These are proposals and may not be fully implemented yet.
Current Options
- GitHub Web Editor — Edit files directly in the browser
- Feedback Forms — Submit suggestions via forms
- Issue Reporting — Open GitHub issues with content suggestions
Proposed Workflows
Option 1: Mintlify Web Editor Integration
Proposal: Integrate Mintlify’s web editor for direct page editing. Workflow:- Click “Edit this page” button on any documentation page
- Opens Mintlify web editor (requires authentication)
- Make edits in visual or markdown mode
- Submit changes which create a GitHub PR automatically
- Mintlify web editor access
- GitHub authentication
- Automatic PR creation
Option 2: Form-Based Submission System
Proposal: Create a form that converts submissions to GitHub issues or PRs. Workflow:- User fills out form with:
- Page URL or section
- Type of change (typo, clarification, new content)
- Current text (if applicable)
- Proposed text
- Reason for change
- Form submission creates GitHub issue
- Maintainer reviews and either:
- Implements the change
- Converts to PR template for user
- Requests more information
- Form creation (Google Forms, Typeform, or custom)
- GitHub API integration
- Issue template automation
Option 3: “Edit This Page” Button with PR Template
Proposal: Add “Edit this page” buttons that link to GitHub’s web editor with pre-filled PR template. Workflow:- Click “Edit this page” button
- Opens GitHub web editor for that file
- User makes changes
- GitHub prompts to create PR with template
- User fills out PR description
- PR is created for review
- Add “Edit this page” buttons to all pages
- Create PR template
- Link to GitHub web editor with correct branch
Option 4: External CMS Integration
Proposal: Integrate with a headless CMS (e.g., Contentful, Strapi) for non-technical editing. Workflow:- Non-technical users edit content in CMS
- CMS webhooks trigger GitHub Actions
- Changes are automatically committed and PR created
- Maintainer reviews PR
- CMS setup and configuration
- GitHub Actions workflow
- Content synchronization
- Authentication and permissions
Recommended Implementation Order
- Phase 1 (Quick Win): Add “Edit this page” buttons linking to GitHub web editor
- Phase 2 (Medium Effort): Create form-based submission system with GitHub issue automation
- Phase 3 (Long-term): Evaluate Mintlify web editor integration or CMS solution
Feedback Welcome
If you have ideas for making non-technical contributions easier, please:- Open a GitHub issue with your suggestion
- Discuss in the Livepeer Discord
- Contact the documentation team