Zamil Majdy
|
7ee28197a3
|
docs(gitbook): sync documentation updates with dev branch (#11709)
## Summary
Sync GitBook documentation changes from the gitbook branch to dev. This
PR contains comprehensive documentation updates including new assets,
content restructuring, and infrastructure improvements.
## Changes 🏗️
### Documentation Updates
- **New GitBook Assets**: Added 9 new documentation images and
screenshots
- Platform overview images (AGPT_Platform.png, Banner_image.png)
- Feature illustrations (Contribute.png, Integrations.png, hosted.jpg,
no-code.jpg, api-reference.jpg)
- Screenshots and examples for better user guidance
- **Content Updates**: Enhanced README.md and SUMMARY.md with improved
structure and navigation
- **Visual Documentation**: Added comprehensive visual guides for
platform features
### Infrastructure
- **Cloudflare Worker**: Added redirect handler for docs.agpt.co →
agpt.co/docs migration
- Complete URL mapping for 71+ redirect patterns
- Handles platform blocks restructuring and edge cases
- Ready for deployment to Cloudflare Workers
### Merge Conflict Resolution
- **Clean merge from dev**: Successfully merged dev's major backend
restructuring (server/ → api/)
- **File resurrection fix**: Removed files that were accidentally
resurrected during merge conflict resolution
- Cleaned up BuilderActionButton.tsx (deleted in dev)
- Cleaned up old PreviewBanner.tsx location (moved in dev)
- Synced pnpm-lock.yaml and layout.tsx with dev's current state
## Technical Details
This PR represents a careful synchronization that:
1. **Preserves all GitBook documentation work** while staying current
with dev
2. **Maintains clean diff**: Only documentation-related changes remain
after merge cleanup
3. **Resolves merge conflicts**: Handled major backend API restructuring
without breaking docs
4. **Infrastructure ready**: Cloudflare Worker ready for docs migration
deployment
## Files Changed
- `docs/`: GitBook documentation assets and content
- `autogpt_platform/cloudflare_worker.js`: Docs infrastructure for URL
redirects
## Validation
- ✅ All TypeScript compilation errors resolved
- ✅ Pre-commit hooks passing (Prettier, TypeCheck)
- ✅ Only documentation changes remain in diff vs dev
- ✅ Cloudflare Worker tested with comprehensive URL mapping
- ✅ No non-documentation code changes after cleanup
## Deployment Notes
The Cloudflare Worker can be deployed via:
```bash
# Cloudflare Dashboard → Workers → Create → Paste code → Add route docs.agpt.co/*
```
This completes the GitBook synchronization and prepares for docs site
migration.
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: bobby.gaffin <bobby.gaffin@agpt.co>
Co-authored-by: Bently <Github@bentlybro.com>
Co-authored-by: Abhimanyu Yadav <122007096+Abhi1992002@users.noreply.github.com>
Co-authored-by: Swifty <craigswift13@gmail.com>
Co-authored-by: Ubbe <hi@ubbe.dev>
Co-authored-by: Reinier van der Leer <pwuts@agpt.co>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lluis Agusti <hi@llu.lu>
|
2026-01-07 02:11:11 +00:00 |
|