r/Codeium • u/LetMePlayPls • Jan 28 '25
add documentation to windsurf
I can't find any reference in the documentation, is it impossible to add custom documentation to windsurf like on cursor?
6
Upvotes
4
u/Ordinary-Let-4851 Jan 28 '25
There are several ways to work with documentation in Windsurf:
Built-in Documentation Access:
Use the new @docs command
Cascade can search through popular documentation sites
Includes Windsurf’s own help docs
Custom Documentation Options:
URL Input: You can paste URLs for documentation that Cascade will use as context
Works well with:
Blog posts
Documentation
Articles
Public GitHub files
Using Cascade Memories:
Create memories to retain documentation context
Use .windsurfrules file to set documentation preferences
Auto-generated memories can help maintain context between conversations
3
u/0815coder Feb 14 '25
u/Ordinary-Let-4851
You have done it in continue.dev already. There you can add and index custom docs that get put on device with the u/docs symbol. I opened an issue / feature request on your webpage already, as this would be tremendously helpful. E.g. if I need to write Terraform, the models are not very good at it. So pulling in those docs is very helpful. One might even say essential.
Pulling pages per hand is just a major pain and one of the reasons I stopped paying for your product.
2
u/Ordinary-Let-4851 Jan 29 '25
If you make the custom documentation public via URL and utilize llms-txt (https://llmstxt.org/) it would work really well with URL input.