Results 42 comments of Charles7c

任务优先级估计不会太高,可参考 [我的配置](https://github.com/Charles7c/charles7c.github.io/blob/main/docs/.vitepress/config/sidebar.ts)

> @Dpeish > 大佬,algoliasearch是如何配置的?我在algolia 开通了一个服务,有了API Key, indexName, 在themeConfig.algolia 做了相应的配置。但是查询不到结果。 indexName 中的Data 有导入了几条查询的数据。 站点是外网可以访问的; 实际上,这是 algolia 提供的一个叫 [docsearch](https://docsearch.algolia.com/docs/what-is-docsearch/) 的服务,为开源项目提供爬虫和在线文档搜索服务。 ![图片](https://user-images.githubusercontent.com/25446948/198523044-0be21c31-fda9-4375-971e-93c42ede392c.png) --- 可以适当参考一下之前我写的流程:https://github.com/vuejs/vitepress/discussions/1154 ![](https://user-images.githubusercontent.com/25446948/195987313-026811fd-7a4a-4d7d-a809-4e6bcb9225df.png) 不过最近听说 docsearch 服务好像申请流程有些改动,具体可以看看官方文档或最新百度。

良言一句三冬暖,恶语伤人六月寒。

> > ```js > import fs from 'node:fs/promises' > import matter from 'gray-matter' > import removeMd from 'remove-markdown' > > const articles = await fs.readdir('./blog/') > > const data =...

```js // article.data.js import fs from 'node:fs'; import path from 'node:path'; import parseFrontmatter from 'gray-matter'; const excludedFiles = ['index.md', 'tags.md', 'archives.md', 'me.md']; export default { watch: ['./docs/**/*.md'], load(watchedFiles) { //...

https://doc.charles7c.top/admin/intro/require.html 没问题,需求墙有这需求计划。 ![image](https://github.com/Charles7c/continew-admin/assets/25446948/e833d8a3-c7ca-4c71-ad3d-ad7aa201099a)

感谢支持,文档我也有在加哈,时间有限,目前一周至少加一篇或更新一篇。 非常欢迎提交 PR 啊,只要不是代码爆炸的 PR 我都接受了,因为如果不合理,我会重构改掉部分代码的。