Link Search Menu Expand

Documentation Maintenance Guide

This guide helps maintainers keep the ButterStack documentation up-to-date and high-quality.

Table of contents

  1. Quick Reference
    1. Common Tasks
  2. Content Guidelines
    1. Writing Style
    2. Integration Documentation Template
    3. Screenshot Updates
    4. Search Index
  3. Version Management
    1. Documentation Versions
    2. Deprecation Process
  4. Team Training
    1. New Contributor Onboarding
    2. Documentation Reviews
  5. Performance Optimization
    1. Page Load Speed
    2. Search Performance
  6. Feedback Loop
    1. User Feedback Integration
    2. Success Metrics
  7. Emergency Procedures
    1. Rollback Process
    2. Critical Updates
  8. Resources
    1. Tools
    2. Style Guides
    3. Contact

Quick Reference

Common Tasks

Update Integration Guide

When API changes occur

docs/integrations/{name}.md

Add New Integration

Use the template below

_integrations/{name}.md

Fix Broken Links

Run link checker

bundle exec htmlproofer

Update Screenshots

Replace in assets folder

assets/docs/

Content Guidelines

Writing Style

ButterStack Documentation Principles

  • Clear - Use simple, direct language
  • Actionable - Focus on what users need to do
  • Visual - Include screenshots and diagrams
  • Complete - Cover all common scenarios

Integration Documentation Template

---
layout: default
title: [Integration Name]
parent: Integrations
nav_order: [number]
---

# [Integration Name]
{: .no_toc }

Brief description of what this integration does.
{: .fs-6 .fw-300 }

## Table of contents
{: .no_toc .text-delta }

1. TOC
{:toc}

---

## Overview

Detailed explanation of the integration's purpose and benefits.

## Prerequisites

<div class="callout callout-info">
  <h4>Before you begin</h4>
  <ul>
    <li>Requirement 1</li>
    <li>Requirement 2</li>
  </ul>
</div>

## Setup Steps

### Step 1: [Action]
{: .text-blue-300 }

Detailed instructions...

### Step 2: [Action]
{: .text-blue-300 }

More instructions...

## Configuration

| Setting | Description | Default |
|---------|-------------|---------|
| option_1 | What it does | value |

## Testing

How to verify the integration is working.

## Troubleshooting

### Common Issues

<details>
<summary>Issue: [Problem description]</summary>
Solution steps...
</details>

## API Reference

### Webhooks

```json
{
  "event": "example",
  "data": {}
}

## Metrics and Analytics

### Documentation Health Dashboard

Access metrics at: `/docs/metrics` (internal only)

Key metrics tracked:
- **Page Views** - Most visited pages
- **Search Queries** - What users are looking for
- **Time on Page** - Content engagement
- **Scroll Depth** - How much users read
- **Feedback Score** - Helpful vs not helpful
- **404 Errors** - Broken links

### Monthly Review Checklist

<div class="callout callout-warning">
  <h4>Monthly Tasks</h4>
  <ul>
    <li>Review top search queries without results</li>
    <li>Update screenshots for UI changes</li>
    <li>Check for outdated version numbers</li>
    <li>Review and respond to feedback</li>
    <li>Update integration status (new/deprecated)</li>
  </ul>
</div>

## Automation Tools

### Link Checker

```bash
# Check all internal links
bundle exec jekyll build
bundle exec htmlproofer ./_site --disable-external

# Check external links (slower)
bundle exec htmlproofer ./_site

Screenshot Updates

# Automated screenshot capture
npm run capture-docs-screenshots

# Compare with existing
npm run diff-screenshots

Search Index

# Rebuild search index
bundle exec jekyll algolia

# Test search locally
bundle exec jekyll serve --livereload

Version Management

Documentation Versions

Keep documentation in sync with ButterStack releases:

  1. Major Release (v2.0)
    • Create version branch
    • Update all integration guides
    • Add migration guide
  2. Minor Release (v1.5)
    • Update affected pages
    • Add changelog entry
  3. Patch Release (v1.4.1)
    • Update only if docs affected

Deprecation Process

When deprecating features:

<div class="callout callout-warning">
  <h4>Deprecation Notice</h4>
  This feature will be removed in v3.0. Please use [alternative] instead.
</div>

Team Training

New Contributor Onboarding

  1. Setup Environment
    cd docs
    bundle install
    bundle exec jekyll serve
    
  2. Make First Contribution
    • Fix a typo or broken link
    • Review PR process
    • Understand style guide
  3. Learn Advanced Features
    • Custom includes
    • Layout system
    • Search configuration

Documentation Reviews

All documentation changes require:

  • Technical accuracy review
  • Style guide compliance
  • Screenshot verification
  • Link validation

Performance Optimization

Page Load Speed

Target metrics:

  • First Contentful Paint: < 1.5s
  • Time to Interactive: < 3.5s
  • Lighthouse Score: > 90

Optimization techniques:

<!-- Lazy load images -->
<img src="placeholder.jpg" data-src="actual.jpg" loading="lazy">

<!-- Preload critical assets -->
<link rel="preload" href="/assets/css/main.css" as="style">

Search Performance

# _config.yml optimizations
search:
  tokenizer_separator: /[\s/]+/
  rel_url: true
  button: true
  focus_shortcut_key: 'k'

Feedback Loop

User Feedback Integration

  1. Collect Feedback
    • Page-level feedback widget
    • GitHub issues
    • Support tickets
  2. Analyze Patterns
    • Common confusion points
    • Missing information
    • Feature requests
  3. Implement Changes
    • Prioritize by impact
    • Test with users
    • Measure improvement

Success Metrics

Track improvement over time:

  • Support ticket reduction
  • Time to first integration
  • User satisfaction score
  • Documentation coverage

Emergency Procedures

Rollback Process

If documentation breaks:

# Revert to last known good
git revert HEAD
git push origin main

# Or restore from backup
git checkout <last-good-commit> -- .

Critical Updates

For security or breaking changes:

  1. Update affected pages immediately
  2. Add banner notification
  3. Email registered users
  4. Update changelog

Resources

Tools

Style Guides

Contact


Back to top

Copyright © 2026 ButterStack. All rights reserved.