- Updated the documentation API endpoints to dynamically set the documentation directory based on the NODE_ENV variable, improving compatibility between development and production environments. - Enhanced error handling for file retrieval to ensure proper responses when files are not found or invalid. - Standardized import statements for consistency across the documentation files.