Skip to main content
Configure Windsurf’s Cascade AI assistant to help you write and maintain documentation with mint-tsdocs. This guide shows how to set up Windsurf to leverage your generated API reference and maintain documentation consistency.

Prerequisites

  • Windsurf editor installed
  • Access to your documentation repository

Why use Windsurf with mint-tsdocs?

Windsurf’s Cascade AI can help you:
  • Navigate your API: Search through hundreds of generated API reference pages
  • Write consistently: Match the style and structure of your existing documentation
  • Link accurately: Get help finding correct paths to API reference pages
  • Customize templates: Get context-aware assistance when modifying Liquid templates
Windsurf doesn’t currently support MCP integration like Claude Code and Cursor, but it can still access your documentation through its codebase indexing feature and by reading your local MDX files.

Workspace rules

Create workspace rules that provide Windsurf with context about your documentation project and standards. Create .windsurf/rules.md in your project root:

Using your generated API reference

Once you’ve generated your API documentation with mint-tsdocs generate, Windsurf’s Cascade can help you navigate and use your reference pages through its codebase indexing:

Enable codebase indexing

Windsurf automatically indexes your documentation files. Ensure your docs/reference/ folder is included:
  1. Open Windsurf settings
  2. Verify that your docs folder is not excluded from indexing
  3. Let Windsurf complete the initial index

Quick lookups while editing

Ask Cascade about your API while writing documentation:
When writing MDX files, Cascade can help complete links:
Then ask Cascade:

Verify API references

Template development

When customizing Liquid templates:
Point Cascade to your docs/reference/ folder explicitly in queries for faster results: “Check the reference folder for…”

Common workflows

Learning mint-tsdocs

When getting started:

Writing documentation

When creating guides:

Maintaining consistency

Troubleshooting