Skip to content

Documentation Cleanup Summary

This document summarizes the cleanup of outdated and inconsistent documentation files.

Files Removed

Outdated Documentation (4 files)

  1. docs/FIRESTORE.md - Replaced by FIRESTORE_SCHEMA.md

    • Was marked as outdated with a deprecation notice
    • Content was superseded by the more comprehensive schema documentation
  2. UNUSED_FILES_ANALYSIS.md - Temporary analysis report

    • Analysis completed and files were already removed
    • No longer needed
  3. DELETED_FILES_SUMMARY.md - Temporary summary

    • Summary of deleted files, no longer needed after cleanup
  4. scripts/unused-files-report.md - Duplicate analysis report

    • Duplicate of the analysis report, redundant

Files Updated

1. docs/API.md

  • Changed: References to FIRESTORE.mdFIRESTORE_SCHEMA.md
  • Reason: FIRESTORE.md was removed, FIRESTORE_SCHEMA.md is the current documentation

2. docs/ARCHITECTURE.md

  • Removed: Reference to non-existent unused/ folder
  • Reason: The folder doesn't exist in the codebase

3. README.md

  • Removed: Duplicate and outdated Firestore structure section (lines 29-178)
  • Replaced with: Brief reference to docs/FIRESTORE_SCHEMA.md
  • Reason: The detailed structure documentation belongs in the dedicated schema documentation file

Current Documentation Structure

The docs/ directory now contains:

  • API.md - API usage (no custom API, uses Firestore)
  • ARCHITECTURE.md - Project architecture and folder structure
  • CONTRIBUTING.md - Contribution guidelines
  • DEPLOYMENT.md - Deployment instructions
  • ENV_VARIABLES.md - Local environment variables setup
  • ENVIRONMENTS.md - Deployment environments (dev/prod)
  • FIRESTORE_SCHEMA.md - Complete Firestore schema documentation (source of truth)
  • ROUTING.md - Routing system documentation
  • SECRETS.md - Secrets management
  • SERVICE_ACCOUNT_PERMISSIONS.md - Service account permissions
  • STATE_MANAGEMENT.md - State management patterns
  • TESTING.md - Testing strategy
  • THEMING.md - Theming and styling

Notes

  • ENV_VARIABLES.md and ENVIRONMENTS.md serve different purposes:
    • ENV_VARIABLES.md: Local development environment variables setup
    • ENVIRONMENTS.md: Deployment environments (dev/prod configurations)
  • Both files are needed and serve complementary purposes
  • The authoritative source for Firestore schema is src/schema/firestoreSchema.ts
  • docs/FIRESTORE_SCHEMA.md is generated/updated from the schema file

Internal docs — access restricted via Cloudflare Zero Trust.