Skip to content

Commit

Permalink
docs: 发布工具 1.0.0 设计思路
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed May 12, 2023
1 parent 3360531 commit cf97cf2
Show file tree
Hide file tree
Showing 8 changed files with 46 additions and 37 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ on:
push:
branches:
- main
- dev

name: release-please
jobs:
Expand All @@ -17,7 +16,7 @@ jobs:
release-type: node
package-name: release-please-action
## branch to open pull release PR against (detected by default)
default-branch: dev
default-branch: main
## Should breaking changes before 1.0.0 produce minor bumps? Default false
bump-minor-pre-major: false
## Should feat changes before 1.0.0 produce patch bumps instead of minor bumps? Default false
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ Names not listed in order
| Name | version | vendor |
|:-----------:|:-------:|:-----------:|
| turbo | 1.9+ | Vercel |
| esbuild | 0.17+ | evanw |
| vite | 4.2+ | Evan You |
| Svelte | 3.57+ | Rich Harris |
| TypeScript | 5.0+ | Microsoft |
Expand Down
1 change: 0 additions & 1 deletion README_zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
| Name | version | vendor |
|:-----------:|:-------:|:-----------:|
| turbo | 1.9+ | Vercel |
| esbuild | 0.17+ | evanw |
| vite | 4.2+ | Evan You |
| Svelte | 3.57+ | Rich Harris |
| TypeScript | 5.0+ | Microsoft |
Expand Down
44 changes: 44 additions & 0 deletions apps/zhi-docs/blog/publisher-1-0-0-desgin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: 思源笔记发布工具 1.0.0 设计思路
authors: [terwer]
tags: [siyuan, plugin, design]
---

# 发布工具设计思路

## 菜单

```
发布到...
博客园
WordPress
Typecho
------
语雀
------
Hexo
------
图床管理
------
发布设置
```

## 设置页面

```
发布设置(API地址、Token等、可以探索一下Cookie模拟登陆的方案)
平台开关
平台管理(新增平台)
多语言设置
浅色暗色切换
```

## 自定义发布页面(可选)

- 开启了极速发布,可使用最小化配置发布,不显示自定义页面
- 未开启极速发布,点击发布到对应平台之后显示自定义发布页面
- 修改标题
- 自动生成别名slug、自动提取摘要、智能标签
- 支持拉取平台已有标签,主要与智能标签合并,不能替换,支持标签二次修改
- 支持拉取平台分类、支持修改分类
- 支持使用图床
Binary file not shown.
25 changes: 0 additions & 25 deletions apps/zhi-docs/blog/welcome/index.md

This file was deleted.

7 changes: 0 additions & 7 deletions apps/zhi-docs/blog/zhi-0-1-0-is-on-the-way.md

This file was deleted.

2 changes: 1 addition & 1 deletion plugins/publisher-main/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
## Deps

```
## Congregations! zhi-env need no deps, it is just pure js code 🎉
## Congregations! publisher-main need no deps, it is just pure js code 🎉
```

## Dev
Expand Down

0 comments on commit cf97cf2

Please sign in to comment.