diff --git a/README_cn.md b/README_cn.md index 87e0a4d..0e25984 100644 --- a/README_cn.md +++ b/README_cn.md @@ -88,7 +88,7 @@ crop_size = [1024, 512]
- :sparkles: 配置文件自动补全 + :sparkles: 配置文件自动补全,类型提示,文档字符串和代码跳转 旧式配置的设计因难以编写(没有自动补全功能)和无法导航到相应的类而饱受诟病。然而语言服务器协议(Language Server Protocol)可用于支持各种代码编辑功能,如自动完成、类型提示和代码导航。通过利用 lsp 和 json_schema,它能够提供自动补全、一些弱类型提示(如果代码注释得很好,如 python 中的标准类型提示,它将实现更多功能)和相应类的文档字符串功能。 diff --git a/docs/package.json b/docs/package.json index 40024c2..5a06b68 100644 --- a/docs/package.json +++ b/docs/package.json @@ -17,11 +17,11 @@ "@docusaurus/core": "3.1.1", "@docusaurus/preset-classic": "3.1.1", "@mdx-js/react": "^3.0.0", + "@vercel/analytics": "^0.1.9", "clsx": "^2.0.0", "prism-react-renderer": "^2.3.0", "react": "^18.0.0", "react-dom": "^18.0.0", - "@vercel/analytics": "^0.1.9", "react-responsive": "^9.0.0-beta.4", "react-typical": "^0.1.3", "rehype-katex": "5",