Skip to main content

๐Ÿ‘ฅ 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โ€‹

โœจ Perfect for quick edits and content updates

  1. ๐Ÿ“„ Find the page you want to edit on the documentation site
  2. โœ๏ธ Click "Edit this page" link at the bottom of any page
  3. ๐Ÿ”ง Make your changes directly in GitHub's web editor
  4. ๐Ÿ’พ Commit changes with a descriptive message
  5. ๐Ÿš€ Auto-deploys within 2-5 minutes!
Pro Tip

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

  1. ๐ŸŒ Go to: GitHub Repository
  2. ๐Ÿ“ Navigate to: new-docs/ folder
  3. โœ๏ธ Click the pencil icon (โœ๏ธ) on any .md file
  4. ๐Ÿ”ง Make your changes
  5. ๐Ÿ“ 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

๐Ÿ‘ฅ 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โ€‹

TaskHow ToTime to Live
Fix typoEdit this page โ†’ Commit2-5 minutes
Update contentEdit this page โ†’ Commit2-5 minutes
Add new pageCreate new .md file2-5 minutes
Major restructurePull request workflowAfter 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:

  1. ๐Ÿงช Try it out - Find a page and click "Edit this page"
  2. ๐Ÿ“ Make a small change - Fix a typo or update content
  3. โฑ๏ธ Watch it deploy - See your changes live in minutes
  4. ๐ŸŽฏ Share with team - Help others discover how easy it is

Questions? Drop a message in Slack or create an issue in the GitHub repository!

๐Ÿš€ Pro Tip

Bookmark this guide and share it with new team members. The easier we make documentation updates, the better our team knowledge becomes!