Skip to content

Commit

Permalink
fix: hexo 深度优化
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Aug 29, 2023
1 parent fffdaad commit 4c84d5e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 31 deletions.
18 changes: 2 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,9 @@ Publish articles from siyuan-note to platforms such as Yuque, Notion, Cnblogs, W

Support features such as fast publishing, image bed management, platform expansion, smart labels, etc.

**Front Row Announcement: the first AI-integrated version `1.10.0` of the Publish Tool is released!**
**Facing issues or have suggestions? Please join QQ group `895063267` for discussion. Alternatively, refer to the online documentation below:**

Attention:

Note:

1. GitHub and related platforms specifically emphasize: Only support source code deployment, only support source code deployment, only support source code deployment. Important matters are stated three times.

2. This plugin undergoes frequent iterations. To prevent unpredictable errors caused by program caching, please use the method of `uninstalling` first and then `reinstalling` for updates.

3. **If the configuration is abnormally set, causing this plugin to be completely unusable**, please backup `[workspace]/data/storage/syp/sy-p-plus-cfg.json`, and then delete it. This configuration file will be automatically initialized on first use.

**When performing this operation, it is best to close Joplin first, then delete the configuration, and then open it again. This is to prevent data from being read while open, leading to overwrite and save.**

**Please avoid performing this operation if the plugin is functioning properly.**

> Do you have other questions or suggestions? Please join QQ group `895063267` for discussion.
> [Click here](https://blog.terwer.space/s/20230810132040-nn4q7vs) to view the latest help documentation.
## Update history

Expand Down
16 changes: 2 additions & 14 deletions README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,9 @@

将思源笔记的文章发布到语雀、Notion、Cnblogs、WordPress、Typecho、Hexo、知乎 等平台,支持极速发布、图床管理、平台扩展、智能标签等特色功能。

> **前排公告:发布工具首个AI集成版本 `1.10.0` 发布!**
**遇到问题或者需求建议?请加QQ群 `895063267` 讨论。或者查看下面的在线文档:**

注意:

1、Github相关平台特别提示:只支持源码部署,只支持源码部署,只支持源码部署。重要的事情说三遍。

2、本插件迭代频繁,为了防止程序缓存导致不可预知的错误,请采用先 `卸载` 然后 `重新安装`的方式进行更新。

3、**如果配置异常导致本插件完全不可用时**,请备份 `[workspace]/data/storage/syp/sy-p-plus-cfg.json` ,然后删除,这个配置文件会在第一次使用时自动初始化。

**进行这个操作时,最好先关闭思源笔记,然后删除配置,再打开。防止打开状态下数据已经读取到了,导致覆盖保存。**

**能用的情况下请勿进行此操作。**

> 还有其他问题或者需求建议?请加QQ群 `895063267` 讨论。
> [猛击这里](https://blog.terwer.space/s/20230810132040-nn4q7vs),查看最新帮助文档。
## 更新历史

Expand Down
2 changes: 1 addition & 1 deletion src/composables/usePublish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ const usePublish = () => {
mergedPost.mt_keywords = mergedKeywords.join(",")

// 合并并去重分类
const mergedCategories = [...new Set([...post.categories, ...newPost.categories])]
const mergedCategories = [...new Set([...(post?.categories ?? []), ...(newPost?.categories ?? [])])]
mergedPost.categories = mergedCategories

return mergedPost
Expand Down

0 comments on commit 4c84d5e

Please sign in to comment.