Django Cast Documentation Tasks
Tracks a multi-phase plan to fill documentation gaps and restructure 33 RST files for Django Cast.
What this file does
Tracks a multi-phase plan to fill documentation gaps and restructure 33 RST files for Django Cast.
When to use it
- You need a structured checklist for auditing and improving project documentation
- You plan to reorganize a flat docs folder into topic-based subdirectories
- You want to merge small related RST files without deleting content
- You are coordinating a documentation overhaul across multiple contributors
Assumes this stack
Django Cast Documentation Tasks
Overview
This file tracks the documentation improvement plan for Django Cast. The goal is to address major documentation gaps identified through analysis of the codebase vs existing docs.
Current Documentation Gaps
- No architectural overview
- Missing REST API documentation
- Incomplete model documentation (only 2 of 15+ models documented)
- No StreamField blocks documentation
- Missing advanced features (spam filtering, repository pattern, media handling)
- No performance optimization guide
- Missing frontend/JavaScript documentation
Implementation Plan
Phase 1: Foundation (High Priority)
- Create ARCHITECTURE.rst with high-level overview
- Page hierarchy and inheritance model
- Repository pattern explanation
- Performance architecture
- Media handling pipeline
- Frontend/backend integration
- Create api.rst documenting REST API and Wagtail API
- Endpoint documentation
- Authentication and permissions
- Example requests/responses
- Enhance models.rst to document all 15+ models
- Complete model reference
- Model relationships
- Custom managers and methods
Phase 2: Core Features (Medium Priority)
- Create streamfield.rst documenting all block types
- Available blocks (CodeBlock, ImageChooserBlock, etc.)
- Creating custom blocks
- Overview vs Detail sections
- Create media.rst for image/audio/video handling
- Renditions and responsive images
- Audio/video processing
- Storage backends
- Update settings.rst with missing settings
- CAST_GALLERY_IMAGE_SLOT_DIMENSIONS
- Repository configuration options
- All other undocumented settings
Phase 3: Developer Experience
- Enhance development.rst
- Add testing documentation
- JavaScript development workflow
- Build system details (uv_build)
- Create customization.rst
- Template customization
- Creating custom themes
- Overriding default behavior
- Create performance.rst
- Database query optimization
- Caching strategies
- Bulk operations
Phase 4: Operations
- Create deployment.rst
- Production deployment checklist
- Environment variables
- Security best practices
- Document management commands
- media_backup, media_restore
- sync_renditions
- recalc_video_posters
- Add troubleshooting guides
Phase 5: Final Updates
- Update index.rst table of contents
- Cross-reference all documentation
- Add code examples throughout
- Review and polish all docs
Progress Tracking
Updated: 2025-07-11
Completed
- Create ARCHITECTURE.rst with high-level overview
- Update index.rst table of contents (added Architecture section)
- Create api.rst documenting REST API and Wagtail API
- Enhance models.rst to document all 15+ models
- Create streamfield.rst documenting all block types
- Create media.rst for image/audio/video handling
In Progress
- Documentation Restructuring (see plan below)
Notes
- Starting with ARCHITECTURE.rst provides the best foundation
- Each completed task should be marked with [x] and moved to Completed section
Documentation Restructuring Plan
Goal
Reorganize documentation for better discoverability and logical flow while preserving ALL existing content.
Principles
- NO CONTENT DELETION - All existing documentation must be preserved
- Merge related content - Combine small related files into coherent sections
- Improve navigation - Clear progression from beginner to advanced
- Better grouping - Related topics should be together
Phase 1: Content Inventory and Analysis
- List all files in docs/ directory (33 RST files total)
- Identify which files can be merged
- Map current location → new location for each file
- Ensure no content will be lost
Findings:
- All feature docs are in main docs/ directory (no features/ subdirectory)
- Existing feature files (image.rst, audio.rst, etc.) are brief user guides
- New comprehensive docs (media.rst, models.rst, etc.) are technical references
- Both types of content are valuable and should be preserved
Phase 2: Create New Structure
- Update index.rst with new organization
- Create new section files that will contain merged content
- Add proper cross-references between related topics
Phase 3: Content Migration (NO DELETION)
Getting Started Section
- Merge quickstart.rst and integrate.rst into installation.rst
- Create tutorial.rst (replaced placeholder howto/first-cast.rst)
- Create index_new.rst with new structure
Content Management Section
- Merge blog.rst + post.rst → content/blogs-and-posts.rst
- Merge podcast.rst + episode.rst → content/podcasts-and-episodes.rst
- Move streamfield.rst → content/streamfield.rst
- Create content/organization.rst from tags.rst
Media Section
- Keep media.rst as media/overview.rst
- Merge image.rst + gallery.rst + responsive-images.rst → media/images-and-galleries.rst
- Merge audio.rst + transcript.rst → media/audio-and-transcripts.rst
- Move video.rst → media/video.rst
Features Section
- Move comments.rst → features/comments.rst
- Move themes.rst → features/themes.rst
- Move social-media.rst → features/social-media.rst
- Move frontend.rst → features/frontend.rst
- Move feeds.rst → features/feeds.rst
- Move performance.rst → features/performance.rst
API & Configuration Section
- Move api.rst → reference/api.rst
- Move models.rst → reference/models.rst
- Move settings.rst → reference/settings.rst
- Move context-processors.rst → reference/context-processors.rst
- Move django-admin.rst → reference/django-admin.rst
Operations Section
- Move backup.rst → operations/backup.rst
- Move management-commands.rst → operations/management-commands.rst
- Extract migration content from howto/index.rst → operations/migrations.rst
Phase 4: Verification
- Check all original files are accounted for
- Verify no content was deleted
- Test all internal links still work
- Build docs and check for warnings
Files to Process from features/
Based on features.rst toctree:
- audio.rst - Merge with transcript.rst
- blog.rst - Merge with post.rst
- backup.rst - Move to operations
- categories.rst - Merge with tags.rst
- chaptermarks.rst - Include in audio section
- comments.rst - Move to features
- custom_homepage.rst - Move to features
- django-admin.rst - Move to reference
- episode.rst - Merge with podcast.rst
- external-comments.rst - Include in comments.rst
- faceted-search.rst - Move to features
- feeds.rst - Move to features
- first-cast.rst - Move to tutorial
- frontend.rst - Move to features
- gallery.rst - Merge with image.rst
- image.rst - Merge with gallery.rst and responsive-images.rst
- management-commands.rst - Move to operations
- models.rst - Already enhanced, move to reference
- performance.rst - Move to features
- podcast.rst - Merge with episode.rst
- post.rst - Merge with blog.rst
- responsive-images.rst - Merge with image.rst
- social-media.rst - Move to features
- tags.rst - Merge with categories.rst
- themes.rst - Move to features
- transcript.rst - Merge with audio.rst
- video.rst - Move to media section
Migration Strategy
- Create new directory structure first
- Copy (not move) content to new locations
- Merge content where appropriate
- Update all cross-references
- Only after verification, remove old files
- Add specific PR numbers or commits when tasks are completed
What's inside
5 phases of documentation tasks, a progress tracker, and a 4-phase restructuring plan with 33 file mappings.
Change this for your project
- Replace
ephes/django-castwith your own repository name - Replace file paths like
docs/quickstart.rstwith your actual docs directory - Replace project-specific model counts like
15+ modelswith your own numbers - Replace feature names like
CAST_GALLERY_IMAGE_SLOT_DIMENSIONSwith your settings
Where it goes
Keep it in your repository where the agent or team that needs it will read it.
Worth borrowing
- Phase-based task breakdown with priority labels and checkboxes for incremental progress
- Content inventory and mapping before any file moves to prevent data loss
- Separating user guides from technical references while preserving both
Related Documents
CMU Advanced NLP Assignment 2: End-to-end NLP System Building
Guides students through building a retrieval-augmented generation system for Pittsburgh/CMU question answering, from data collection to report writing.
Koatty Monorepo 迁移任务清单
Breaks a monorepo migration into 33 sequential, independently testable tasks with rollback steps for each.
ClockRoss - AI-Powered Analog Clock
Renders an analog clock with AI-generated backgrounds using local Stable Diffusion, ControlNet, and GPT-2 prompt enhancement.
Flex.IA Platform - Remaining Tasks
Lists over 100 remaining tasks to move a claims platform from MVP to production-ready, covering backend, frontend, testing, deployment, mobile, and compliance.