From b8ec1cfb2b81b6e5cb48890e2f151a18220fdb50 Mon Sep 17 00:00:00 2001
From: jaywcjlove <398188662@qq.com>
Date: Sun, 17 Mar 2024 14:19:14 +0800
Subject: [PATCH] chore: add idoc config.
---
idoc.yml | 22 ++++++++++++++++++++++
package.json | 14 ++------------
2 files changed, 24 insertions(+), 12 deletions(-)
create mode 100644 idoc.yml
diff --git a/idoc.yml b/idoc.yml
new file mode 100644
index 0000000..b216390
--- /dev/null
+++ b/idoc.yml
@@ -0,0 +1,22 @@
+site: Nginx 入门学习笔记
+logo: "./favicon.svg"
+favicon: "./favicon.svg"
+
+homepage: https://wangchujiang.com/nginx-tutorial/
+
+menus:
+ Home: index.html
+ Sponsor:
+ url: https://wangchujiang.com/#/sponsor
+ target: __blank
+
+editButton:
+ label: Edit this page on GitHub
+ url: https://github.com/jaywcjlove/nginx-tutorial/tree/master/
+footer: |
+ App •
+ Projects •
+ Sponsor •
+ More Apps
+ Released under the MIT License. Copyright © 2024 Kenny Wong
+ Generated by idoc v{{idocVersion}}
\ No newline at end of file
diff --git a/package.json b/package.json
index bd30fb5..2c759d5 100644
--- a/package.json
+++ b/package.json
@@ -16,20 +16,10 @@
"keywords": [
"nginx",
"tutorial",
- "centos"
+ "centos",
+ "Nginx 入门学习笔记"
],
"dependencies": {
"idoc": "^1"
- },
- "idoc": {
- "logo": "./favicon.svg",
- "favicon": "./favicon.svg",
- "menus": {
- "Home": "index.html"
- },
- "Sponsor": {
- "url": "https://wangchujiang.com/#/sponsor",
- "target": "__blank"
- }
}
}
\ No newline at end of file