当你更改 docs 文件夹中文件的路径时,该页面的 URL 也会随之更改。这通常发生在重组文档或更改侧边栏标题时。Documentation Index
Fetch the complete documentation index at: https://omer-914cc1c6.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
失效链接
重定向
docs.json 文件中添加 redirects 字段来设置 301 重定向。
/source/path 永久重定向到 /destination/path,从而保留原页面既有的 SEO(搜索引擎优化)权重。
要匹配通配路径,请在参数后使用 *。在此示例中,/beta/:slug* 会匹配 /beta/introduction,并将其重定向到 /v2/introduction。