Skip to content

Commit 340531e

Browse files
committed
📄 update license and readme file
1 parent 643299f commit 340531e

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021-present, Craig Hart
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Nobelium 是一个使用 NextJS + Notion 第三方 API 实现的,部署在 Ver
1010

1111
- 部署在 Vercel,配合 NextJS,实现超快的相应速度
1212
- 使用 NextJS 实现,配合 ISG,更新 Notion 文章无需重新部署
13+
- 使用 Tailwind CSS 实现样式,方便二次定制
1314
- 响应式设计,移动端友好
1415
- 支持搜索,单独筛选页面
1516
- Tag 标签、RSS feed… 还有更多!
@@ -20,9 +21,9 @@ Nobelium 是一个使用 NextJS + Notion 第三方 API 实现的,部署在 Ver
2021
-[此 Notion 模版](https://www.notion.so/68be9021bca34b8e89f0246f27e608df)在你的工作区制作副本,并确保此页面是公开分享的
2122
- 修改 `blog.config.js` 文件,定义你的内容
2223
- 替换 `/public` 下的头像和 Logo
23-
- 使用 vercel 部署,并定义以下两个环境变量:
24-
- `NOTION_API_ENDPOINT`:Notion 第三方 API 地址,可以使用 `https://notion.craigary.net/api`,也可以 [参考此处](https://github.com/splitbee/notion-api-worker) 自行部署,请不要使用 `/` 结尾
24+
- 使用 vercel 部署,并定义以下环境变量:
2525
- `NOTION_PAGE_ID` :此前你公开分享的 Notion 页面的 ID,通常为你的工作区地址后面的 32 位字符。
26+
- That's it, 要不加星关注一下?
2627

2728
## Roadmap
2829

@@ -39,7 +40,7 @@ Nobelium 是一个使用 NextJS + Notion 第三方 API 实现的,部署在 Ver
3940

4041
## 特别感谢
4142

42-
[Notion 中文社区](https://notion.so/cnotion)
43+
[Notion 中文社区的小伙伴们](https://notion.so/cnotion)
4344

4445
[Lee Rob](https://leerob.io/)
4546

0 commit comments

Comments
 (0)