# Content Feature Configuration - Development Environment
# Settings optimized for local development and testing

[features]
content_db = true

# Content Management - Development
[content]
enabled = true
content_dir = "content"
cache_enabled = false  # Disable caching for development
cache_ttl = 60  # Short TTL for development
max_file_size = 52428800  # 50MB for development
allowed_extensions = ["md", "txt", "html", "json", "yaml", "toml"]
auto_reload = true
enable_drafts = true

# Content Storage - Development
[content.storage]
type = "filesystem"  # "filesystem", "database", "s3"
base_path = "content"
create_directories = true
backup_enabled = false
versioning_enabled = true
max_versions = 10

# Content Processing - Development
[content.processing]
markdown_enabled = true
syntax_highlighting = true
auto_linking = true
enable_math = true
enable_mermaid = true
enable_prism = true
process_includes = true
validate_frontmatter = true

# Content Validation - Relaxed for development
[content.validation]
strict_mode = false
validate_yaml_frontmatter = true
validate_markdown_links = false
validate_images = false
check_broken_links = false
allowed_protocols = ["http", "https", "ftp", "mailto"]

# Content Indexing - Development
[content.indexing]
enabled = true
full_text_search = true
index_content = true
index_metadata = true
rebuild_on_change = true
search_engine = "basic"  # "basic", "elasticsearch", "solr"

# Content Templates - Development
[content.templates]
enabled = true
template_dir = "templates/content"
default_template = "default.hbs"
auto_detect_template = true
template_cache = false  # Disable caching for development

# Content API - Development
[content.api]
enabled = true
base_path = "/api/content"
enable_crud = true
enable_search = true
enable_upload = true
enable_download = true
rate_limit = 1000  # requests per minute
max_query_results = 1000

# Content Security - Relaxed for development
[content.security]
sanitize_html = true
allow_raw_html = true
allow_scripts = false
allow_iframes = false
csrf_protection = false
xss_protection = true

# Content Metadata - Development
[content.metadata]
extract_metadata = true
auto_generate_slug = true
auto_generate_excerpt = true
excerpt_length = 150
auto_generate_toc = true
auto_generate_tags = false

# Content Workflow - Development
[content.workflow]
enabled = false
require_approval = false
auto_publish = true
draft_mode = true
revision_control = true
collaborative_editing = false

# Content Performance - Development
[content.performance]
lazy_loading = false
image_optimization = false
content_compression = false
cdn_enabled = false
cache_static_assets = false

# Development Settings
[content.development]
debug_mode = true
log_queries = true
log_processing = true
enable_content_preview = true
auto_save_drafts = true
show_processing_time = true
enable_hot_reload = true
