V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
kaesi0
V2EX  ›  问与答

cursor 中添加自定义 doc 为什么同一个站点的 url 有的能添加上 有的不能?

  •  
  •   kaesi0 · Feb 25, 2025 · 1211 views
    This topic created in 432 days ago, the information mentioned may be changed or developed.
    比如我想把 midwayjs 的官方文档添加到 cursor 的 doc 中,但是同一个站点的不同文档 url ,有的能被索引 有的不同
    比如 axios 的文档[https://midwayjs.org/docs/extensions/axios] 能索引
    但是 i18n 的文档[https://midwayjs.org/docs/extensions/i18n]就不能被索引

    开始我以为是静态与静态网页的问题,但是 midwayjs 的文档其实是动态的
    我还使用了 github pages 将 md 文档使用默认的 Jekyll 转为 html ,我也看了实际请求到的是静态页面,但还是不能索引
    带/结尾也不带/结尾,带.html 结尾都试过了,就是很奇怪,有的文档行,有的文档不行,包括腾讯云官方文档等,都一样
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2566 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:46 · PVG 22:46 · LAX 07:46 · JFK 10:46
    ♥ Do have faith in what you're doing.