A comprehensive documentation site for the Lingvanex Translator API built with React, TypeScript, and Tailwind CSS.
- 📱 Responsive design with mobile-friendly sidebar
- 🔍 Full-text search across all documentation
- 🌙 Dark/light theme toggle
- 📖 Complete API reference with code examples
- 🔄 Migration guide from Google Translate
- 💻 Code examples in 15+ programming languages
- Node.js 16+
- npm or yarn
# Clone the repository
git clone <YOUR_GIT_URL>
cd <YOUR_PROJECT_NAME>
# Install dependencies
npm install
# Start development server
npm run devnpm run buildsrc/
├── components/ # React components
│ ├── ThemeProvider.tsx
│ ├── DocumentationSidebar.tsx
│ ├── SearchBar.tsx
│ └── MarkdownRenderer.tsx
├── data/ # Documentation content
│ ├── documentation.ts
│ ├── reference-docs.ts
│ └── migration-docs.ts
└── pages/
└── Index.tsx # Main documentation page
- Add new markdown content to the appropriate data file
- Update the sidebar structure in
DocumentationSidebar.tsx - Add search entries in
SearchBar.tsx
- Store API keys as environment variables
- Make API calls from your backend server
- Never commit API keys to version control
- React 18
- TypeScript
- Tailwind CSS
- React Markdown
- Fuse.js (search)
- React Syntax Highlighter
MIT License