FakeDataDSL Documentation

Welcome to the FakeDataDSL documentation! This directory contains comprehensive guides and references for using the FakeDataDSL gem.

📚 Quick Access

After Generating YARD Docs

Once you've run bundle exec yard doc, access documentation via:

  1. Documentation Index (Recommended):

    open docs/index.html
    

    Or if copied to doc folder:

    open doc/docs_index.html
    
  2. YARD File List:

    open doc/file_list.html
    

    Then click on any guide (files starting with file.)

  3. Direct Links:

    open doc/file.getting_started.html
    open doc/file.dsl_reference.html
    open doc/file.type_reference.html
    

📖 Documentation Files

Getting Started

Reference Guides

Feature Guides

Integration & Export

Export Formats

Testing

Production Features

Rails-Level Features 🚀 NEW

Examples & Best Practices

Additional Resources

🔄 Generating Documentation

# Generate YARD documentation (includes all markdown files)
bundle exec yard doc

# View documentation
open doc/index.html

📝 File Structure

docs/
├── README.md                      # This file
├── getting_started.md             # Quick start
├── dsl_reference.md               # DSL syntax
├── type_reference.md              # All types
├── behaviors.md                   # Behaviors guide
├── generation_modes.md            # Generation modes
├── advanced_features.md           # Advanced topics
├── examples.md                    # Usage examples
├── api_reference.md               # API docs
├── best_practices.md              # Best practices
├── troubleshooting.md             # Troubleshooting
├── QUICK_REFERENCE.md             # Quick reference
├── HOW_TO_GENERATE_DOCS.md        # Doc generation guide
│
├── # Integration
├── FACTORY_BOT.md                 # Factory Bot integration
├── RAILS_INTEGRATION.md           # Rails features
├── CONFIG_FILE.md                 # YAML configuration
├── LSP.md                         # IDE integration
├── NATIVE_ENGINE.md               # Rust engine
│
├── # Export Formats
├── GRAPHQL_EXPORT.md              # GraphQL SDL
├── OPENAPI_EXPORT.md              # OpenAPI 3.0
├── PROTOBUF_EXPORT.md             # Protocol Buffers
│
├── # Testing
├── PROPERTY_TESTING.md            # Property-based testing
├── SNAPSHOT_TESTING.md            # Snapshot testing
├── SECURITY_TESTING.md            # Security testing
├── ENHANCED_REPL.md               # REPL debugging
├── REPL_QUICK_REFERENCE.md        # REPL cheat sheet
│
├── # Production
├── API_SERVER.md                  # REST API server
├── MOCK_SERVER.md                 # Mock server
├── DATA_CONTRACTS.md              # Schema versioning
├── PERFORMANCE_MODE.md            # High-performance generation
│
├── # Rails-Level Features (NEW)
├── RAILS_ENGINE.md                # Rails Engine
├── ACTIVERECORD_INFERENCE.md      # Model inference
├── SCENARIOS.md                   # Test scenarios
├── TIME_TRAVEL.md                 # Time travel
├── PERSONAS.md                    # Data personas
├── QUALITY_METRICS.md             # Quality analysis
├── GRAPHQL_FEDERATION.md          # GraphQL Federation
├── WEBHOOK_SIMULATOR.md           # Webhook simulation
├── MIGRATION_GENERATOR.md         # Migration generation
├── TERRAFORM_EXPORT.md            # Terraform/IaC
├── GITHUB_ACTION.md               # GitHub Action
│
└── index.html                     # Documentation hub (HTML)

Contributing

See CONTRIBUTING.md for guidelines on contributing to FakeDataDSL.