This website is built using Docusaurus and contains comprehensive documentation for Windsurf features. The content is organized to provide clear guidance on using Windsurf's powerful capabilities.
- Comprehensive Documentation: Detailed guides for all Windsurf features
- Interactive Quizzes: Test your knowledge with interactive quizzes using the custom Quiz component
- Responsive Design: Optimized for both desktop and mobile viewing
- Searchable Content: Fast and accurate search functionality
/docs: Main documentation content organized by topic/essentials: Documentation for Tab, Command, Cascade, and other core features/model-selection: Guides for selecting appropriate models/productivity-tools: Documentation for workflows, planning mode, and other tools/challenges: Interactive quizzes to test knowledge
/src/components: Custom React components/Quiz: Interactive quiz component/ThreadedQuiz: Enhanced quiz component for continuous question flow
/blog: Blog posts and announcements
npm installnpm run startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
The documentation includes an interactive quiz feature that allows users to test their knowledge. Two quiz implementations are available:
- Standard Quiz: Individual quiz sections with multiple-choice questions
- Threaded Quiz: Continuous quiz experience that flows through all questions while maintaining category organization
To use the quiz component in any markdown page:
<Quiz
title="Quiz Title"
questions={[
{
question: "Question text?",
options: ["Option 1", "Option 2", "Option 3", "Option 4"],
correctAnswer: 0, // Index of correct answer (0-based)
explanation: "Explanation of the correct answer"
}
// More questions...
]}
/>For a threaded quiz experience:
<ThreadedQuiz
title="Quiz Title"
showCategories={true}
questions={[
{
category: "Category Name",
question: "Question text?",
options: ["Option 1", "Option 2", "Option 3", "Option 4"],
correctAnswer: 0,
explanation: "Explanation of the correct answer"
}
// More questions...
]}
/>To deploy to GitHub Pages:
GIT_USER=<Your GitHub username> yarn deployOr using SSH:
USE_SSH=true yarn deployTo deploy to Netlify:
- Create a new site on Netlify
- Connect to your GitHub repository
- Set the build command to
npm run build - Set the publish directory to
build
To deploy to Vercel:
- Import your repository on Vercel
- Set the framework preset to "Docusaurus"
- Deploy
The documentation content is sourced from markdown files in the docs directory. To update the documentation:
- Edit the markdown files in the
docsdirectory - The sidebar navigation is configured in
sidebars.ts - Site configuration is in
docusaurus.config.ts
We welcome contributions to the Windsurf Playbook! Please see CONTRIBUTING.md for details on how to contribute.
This project is licensed under the MIT License - see the LICENSE.md file for details.