Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
whinc committed Apr 8, 2024
1 parent 159f834 commit 3715351
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 14 deletions.
6 changes: 6 additions & 0 deletions website/docs/showcase/apisharp/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# ApiSharp

2019 年开发的一个 H5 Web 端网络请求库,类似 axios,但加了一些实用的功能(如重试、日志、缓存等),2021 年由于重心变化,已停止维护。

代码放在 [Github 仓库](https://github.com/whinc/api-sharp)

4 changes: 2 additions & 2 deletions website/docs/showcase/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# 介绍
# 说明

工作这么多年大大小小经过了不少项目,但很多都是工作中开发的项目,处于法律和职业操守这些不会列出,此处仅列出一些开源的、业余写的、不涉及工作的可公开的项目
工作这么多年大大小小主导或参与了不少项目,但很多都是工作中开发的项目,出于商业保密要求无法分享,所以这里仅列出个人的开源项目
19 changes: 12 additions & 7 deletions website/docs/showcase/ucalc/index.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,20 @@
# 小而美工具

一款基于 Taro 开发的微信小程序,包含日常生活实用的小工具
始于 2023 年开发的一款微信小程序,最初只包含计算器功能,后续不断迭代增加多个实用生活工具,目标是成为一个实用的生活工具箱,目前依然处于活跃的开发状态

![微信搜一搜:小而美工具](qrcode_soso.png)
技术栈:Taro + React + Nutui

该项目小程序源码暂时未开源,但官网是开源的,代码放在 [Github 仓库](https://github.com/whinc/ucalc-website)

一些界面截图
- 官网(国际):https://whinc.github.io/ucalc-website/
- 官网(国内):https://xiaohui_hubei.gitee.io/ucalc-website/

![微信搜一搜:小而美工具](qrcode_soso.png)

![科学计算器](screenshot1.png)
部分页面截图

![成人肥胖评估](screenshot2.png)
![万年历](https://xiaohui_hubei.gitee.io/ucalc-website/assets/screenshots/calendar.PNG)

![儿童生长评估](screenshot3.png)
![亲戚称呼](https://xiaohui_hubei.gitee.io/ucalc-website/assets/screenshots/relationship.PNG)

![亲戚称呼](screenshot4.png)
![儿童生长评估](https://xiaohui_hubei.gitee.io/ucalc-website/assets/screenshots/bmi_child.PNG)
Binary file removed website/docs/showcase/ucalc/screenshot1.png
Binary file not shown.
Binary file removed website/docs/showcase/ucalc/screenshot2.png
Binary file not shown.
Binary file removed website/docs/showcase/ucalc/screenshot3.png
Binary file not shown.
Binary file removed website/docs/showcase/ucalc/screenshot4.png
Binary file not shown.
2 changes: 1 addition & 1 deletion website/docs/showcase/webconsole/demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ export default function Demo() {
return s1 === "loading" || s2 === "loading"
? "Demo 加载中..."
: s1 === "ready" && s2 === "ready"
? "Demo 加载完毕,请看页面右下角!"
? ""
: "Demo 加载失败";
}
8 changes: 6 additions & 2 deletions website/docs/showcase/webconsole/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# WebConsole - 网页调试工具
# WebConsole

[WebConsole](https://github.com/whinc/web-console) 是基于 H5 的移动端网页调试工具,类似于 chrome devtools
2018 年开发的一款移动端 web 调试工具,类似 vConsole,2019 年换工作后暂停维护了。

技术栈:基于 Vue 编写,支持插件

代码放在[Github 仓库](https://github.com/whinc/web-console) ,当前页面也提供了在线的 Demo 体验(见右下角图标)。

import Demo from './demo'

Expand Down
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const config = {
type: "docSidebar",
sidebarId: "showcase",
position: "left",
label: "作品",
label: "个人项目",
},
{
to: "/tools",
Expand Down
7 changes: 6 additions & 1 deletion website/sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
const sidebars = {
// By default, Docusaurus generates a sidebar from the docs folder structure
frontend: [{ type: 'autogenerated', dirName: 'frontend' }],
showcase: [{ type: 'autogenerated', dirName: 'showcase' }],
showcase: [
'showcase/index',
'showcase/ucalc/index',
'showcase/webconsole/index',
'showcase/apisharp/index'
],

// But you can create a sidebar manually
/*
Expand Down

0 comments on commit 3715351

Please sign in to comment.