๐ฅ Team Collaboration Guide
Welcome to the UAGC DX Documentation collaboration workflow! This guide shows you how to easily edit and contribute to our documentation using our enhanced GitHub-based system.
๐ Quick Start: Editing Documentationโ
Method 1: "Edit this Page" Links (Recommended)โ
โจ Perfect for quick edits and content updates
- ๐ Find the page you want to edit on the documentation site
- โ๏ธ Click "Edit this page" link at the bottom of any page
- ๐ง Make your changes directly in GitHub's web editor
- ๐พ Commit changes with a descriptive message
- ๐ Auto-deploys within 2-5 minutes!
For small changes (typos, content updates, links), you can commit directly to main. For larger changes, create a pull request for review.
Method 2: GitHub Repository Editingโ
๐ง For more complex edits or multiple files
- ๐ Go to: GitHub Repository
- ๐ Navigate to:
new-docs/folder - โ๏ธ Click the pencil icon (โ๏ธ) on any
.mdfile - ๐ง Make your changes
- ๐ Commit or create pull request
๐ Documentation Standardsโ
โ๏ธ Writing Guidelinesโ
- Format: Use Markdown with Docusaurus extensions
- Style: Follow existing patterns and tone
- Links: Use relative links for internal pages (
/getting-started) - Images: Store in
static/img/directory - Code: Use syntax highlighting with language specifications
๐ Content Structureโ
---
title: Your Page Title
description: Brief description for SEO
sidebar_position: 1
---
# Your Page Title
Brief introduction paragraph.
## Main Section
Content here...
:::tip[Helpful Tip]
Use callouts for important information!
:::
๐จ Available Calloutsโ
:::tip[Success]
For positive outcomes and helpful tips
:::
:::warning[Important]
For important information that needs attention
:::
:::danger[Critical]
For critical warnings or breaking changes
:::
:::info[Note]
For general information and context
:::
๐ Team Workflow Optionsโ
Option A: Direct Editing (Simple)โ
๐ฅ Best for: Content updates, fixes, small changes
See issue โ Click "Edit this page" โ Make changes โ Commit โ โ
Live in 2-5 minutes
Option B: Pull Request Workflow (Recommended)โ
๐ฅ Best for: New sections, major changes, team review
Create branch โ Make changes โ Submit PR โ Review โ Merge โ โ
Live
๐ค What Happens Automaticallyโ
โ When You Make Changes:โ
- ๐ Automatic validation of your changes
- ๐๏ธ Build testing to ensure nothing breaks
- ๐ก๏ธ Security scanning for dependencies
- ๐ Link checking to prevent broken links
- ๐ Performance monitoring of build times
- ๐ Automatic deployment to the live site
โ When You Create a Pull Request:โ
- ๐งช Comprehensive testing of your changes
- ๐ Automatic preview builds
- ๐ฌ Status updates posted as comments
- ๐ Detailed validation reports
- ๐ท๏ธ Automatic labeling and categorization
โ Weekly Maintenance:โ
- ๐ Automated dependency updates every Monday
- ๐ก๏ธ Security patches applied automatically
- ๐ Auto-generated pull requests for updates
- ๐งช Full testing before any updates go live
๐จโ๐ป For Technical Team Membersโ
Local Development Setupโ
# One-time setup
git clone https://github.com/omac049/uagc-dx-documentation.git
cd DX-Documentation-New
npm install
# For each editing session
npm start # Live preview at localhost:3000
# Edit files in new-docs/ folder
# Commit and push changes
Advanced Workflow Commandsโ
# Test your changes locally
npm run build # Build production version
npm run serve # Serve built version locally
# Documentation maintenance
npm run updates # Generate recent updates page
npm run check-dates # Validate all timestamps
npm run docs-health # Full documentation health check
๐ Getting Help & Supportโ
๐ Quick Referenceโ
- Documentation Issues: Create issue in GitHub repository
- Urgent Content: Use direct editing for immediate fixes
- Major Changes: Use pull request workflow for review
- Technical Problems: Contact development team
๐ง Common Tasksโ
| Task | How To | Time to Live |
|---|---|---|
| Fix typo | Edit this page โ Commit | 2-5 minutes |
| Update content | Edit this page โ Commit | 2-5 minutes |
| Add new page | Create new .md file | 2-5 minutes |
| Major restructure | Pull request workflow | After review |
๐จ Troubleshootingโ
โ "Edit this page" not working?
- Check if you have repository access
- Try refreshing the page
- Contact admin for permissions
โ Changes not appearing?
- Wait 2-5 minutes for deployment
- Check GitHub Actions for build status
- Clear browser cache
โ Build failing?
- Check GitHub Actions logs
- Verify markdown syntax
- Ask development team for help
๐ฏ Best Practicesโ
โ Do'sโ
- ๐ Write clear commit messages describing what you changed
- ๐ Preview your changes before committing (if editing locally)
- ๐ฑ Consider mobile users when formatting content
- ๐ Test internal links after making changes
- ๐ Follow existing content patterns and structure
โ Don'tsโ
- ๐ซ Don't commit broken markdown - it will fail the build
- ๐ซ Don't delete critical files without team discussion
- ๐ซ Don't make major structural changes without review
- ๐ซ Don't forget to update navigation when adding new sections
๐ Success Metricsโ
Our Goal: โ time-to-answer, โ QA slips, โ Slack back-and-forth; โ first-call resolution.
๐ฏ How This Workflow Helps:โ
- โก Faster updates - Documentation stays current with minimal effort
- ๐ฅ Team ownership - Everyone can contribute directly
- ๐ Quality assurance - Automated testing prevents issues
- ๐ Better coverage - Easier contribution = more comprehensive docs
๐ Ready to Contribute?โ
Your documentation contribution workflow is now enterprise-grade and team-friendly!
Next Steps:
- ๐งช Try it out - Find a page and click "Edit this page"
- ๐ Make a small change - Fix a typo or update content
- โฑ๏ธ Watch it deploy - See your changes live in minutes
- ๐ฏ Share with team - Help others discover how easy it is
Questions? Drop a message in Slack or create an issue in the GitHub repository!
Bookmark this guide and share it with new team members. The easier we make documentation updates, the better our team knowledge becomes!