11 Star 30 Fork 3

小弟调调 / idoc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
idoc.yml 3.18 KB
一键复制 编辑 原始数据 按行查看 历史
小弟调调 提交于 2024-03-25 22:35 . feat: add html meta config.
# yaml-language-server: $schema=./schema
## directory of document source files
## defalut: `docs`
# -----------------------
# dir: docs
## output directory of generated documents
## defalut: `dist`
# -----------------------
output: dist
## site name
# -----------------------
site: iDoc {{version}}
cacheFileStat: true
homepage: https://wangchujiang.com/idoc/
## Customize theme settings.
## defalut: `default`
# -----------------------
theme: default
## Website logo icon
## defalut: `data:image/png;base64,iVBOR......`
# -----------------------
logo: ./logo.png
## Website favicon icon
## defalut: `data:image/png;base64,iVBOR......`
# -----------------------
favicon: ./logo.png
## The keywords of your website. Supports multiple values
# -----------------------
keywords: idoc,document,doc
## Show open source button
# -----------------------
openSource: https://github.com/jaywcjlove/idoc
## Display the edit button.
# -----------------------
editButton:
label: Edit this page on GitHub
url: https://github.com/jaywcjlove/idoc/blob/master/
## chapters scopes
# -----------------------
scope:
- introduce
- markdown
## Template Data
# -----------------------
data:
# 向 meta 配置模板中添加模板数据
site_name: idoc
meta:
- <meta name="author" content="Kenny Wong">
- <meta property="og:site_name" content="<%= data.site_name %>">
- <meta property="og:url" content="<%=homepage%><%=RESOLVE_PATH%>">
- <meta property="og:image" content="<%=homepage%>logo.png">
- <meta property="og:type" content="website">
- <meta property="og:title" content="<%= title %> - idoc">
- <meta property="og:description" content="<%= description%>">
- <meta property="twitter:image:src" content="<%=homepage%>assets/banner.png">
- <meta property="twitter:site" content="@jaywcjlove">
- <meta property="twitter:creator" content="jaywcjlove">
- <meta property="twitter:card" content="summary_large_image">
- <meta property="twitter:title" content="<%= title %>">
- <meta property="twitter:description" content="<%= description%>">
## Copy Assets
# -----------------------
# https://github.com/micromatch/micromatch
#
# copyAssets: '**/assets/*.{mp3,ogm}'
copyAssets:
- '*/assets/*.(png|jpg)'
## Navigation Menu.
# -----------------------
menus:
Home: index.html
# Label: <URL> [scope]
Docs: introduce/getting-started/installation.html
Markdown: markdown/basic-syntax.html
About: about.html
# Github:
# url: https://github.com/jaywcjlove/idoc
# target: __blank
footer: |
Released under the MIT License. Copyright © {{idocYear}} Kenny Wong<br />
Generated by <a href="https://github.com/jaywcjlove/idoc" target="_blank">idoc</a> v{{idocVersion}}
## Add Markdown files that are not in the specified directory.
# -----------------------
# sideEffectFiles:
# - README.zh.md
giscus:
src: https://giscus.app/client.js
data-repo: jaywcjlove/idoc
data-repo-id: MDEwOlJlcG9zaXRvcnk0MjM4MTA2Nw==
data-category: Q&A
data-category-id: DIC_kwDOAoavC84CZOtP
data-mapping: pathname
data-strict: 0
data-reactions-enabled: 1
data-emit-metadata: 0
data-input-position: top
data-theme: dark
data-lang: zh-CN
data-loading: lazy
crossorigin: anonymous
async: true
NodeJS
1
https://gitee.com/jaywcjlove/idoc.git
git@gitee.com:jaywcjlove/idoc.git
jaywcjlove
idoc
idoc
master

搜索帮助