Skip to content

Commit

Permalink
chore: add idoc config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Mar 17, 2024
1 parent 2386762 commit b8ec1cf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
22 changes: 22 additions & 0 deletions idoc.yml
Original file line number Diff line number Diff line change
@@ -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: |
<a href="https://wangchujiang.com/#/app" target="_blank">App</a> •
<a href="https://wangchujiang.com/#/projects" target="_blank">Projects</a> •
<a href="https://wangchujiang.com/#/sponsor" target="_blank">Sponsor</a> •
<a href="https://wangchujiang.com/#/app" target="_blank">More Apps</a><br /><br />
Released under the MIT License. Copyright © 2024 <a href="https://wangchujiang.com/#/about" target="_blank">Kenny Wong</a><br />
Generated by <a href="https://github.com/jaywcjlove/idoc" target="_blank">idoc</a> v{{idocVersion}}
14 changes: 2 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}

0 comments on commit b8ec1cf

Please sign in to comment.