提交 c79ee00b authored 作者: 徐立's avatar 徐立

中台开发文档

上级
File added
node_modules/
.env
.idea/
.tags
npm-debug.log
build/
build_lib/
package-lock.json
.idea
language: node_js
node_js: stable
# S: Build Lifecycle
install:
- npm install cnpm -g
- cnpm install
#before_script:
# - npm install -g gulp
script:
- npm run build
after_script:
- cd ./docs/.vuepress/dist
- git init
- git config user.name "poetries"
- git config user.email "jingguanliuye@gmail.com"
- git add -A
- git commit -m "Update docs"
- git push --force --quiet "https://${GH_TOKEN}@${GH_REF}" master:gh-pages
# E: Build LifeCycle
branches:
only:
- dev
env:
global:
- GH_REF: github.com/poetries/FE-Interview-Questions.git
> 基于vuepress构建
\ No newline at end of file
#!/usr/bin/env sh
# 确保脚本抛出遇到的错误
set -e
# 生成静态文件
npm run build
# 进入生成的文件夹
cd docs/.vuepress/dist
# 如果是发布到自定义域名
echo 'blog.poetries.top' > CNAME
git init
git remote add origin https://github.com/poetries/FE-Interview-Questions.git
git add -A
git commit -m 'deploy'
# 如果发布到 https://<USERNAME>.github.io
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
# 如果发布到 https://<USERNAME>.github.io/<REPO>
git push -f master:gh-pages
\ No newline at end of file
module.exports = {
base:'/zhiyong/',
// dest:'public', //指定 vuepress build 的输出目录
title: '知用科技中台系统',
description: '知用科技中台系统',
// 为每个代码块显示行号
markdown: {
lineNumbers: false
},
themeConfig: {
nav: [
{ text: '模板设计器', link: '/improve/' },
{ text: '场景设计器', link: '/base/' },
{ text: '场景组件介绍', link: '/advance/' },
{ text: '模板组件介绍', link: '/computed-base/' },
{ text: '场景配置流程', link: '/excellent/' },
{ text: '模板配置流程', link: '/simply/' },
// { text: '综合', link: '/comprehensive/' },
// { text: '其他', link: '/review/' },
// { text: 'QA', link: '/qa/' },
//{ text: 'Blog', link: 'http://blog.poetries.top/' },
//{ text: 'Github', link: 'https://github.com/poetries/' },
],
sidebar: [
{
title: '模板设计器',
collapsable: false,
children: [
'/improve/'
]
},
{
title: '模板组件介绍',
children: [
'/computed-base/'
]
},
{
title: '模板配置流程',
children: [
'/simply/'
]
},
{
title: '场景设计器',
children: [
'/base/'
]
},
{
title: '场景组件介绍',
children: [
'/advance/'
]
},
{
title: '场景配置流程',
children: [
'/excellent/'
]
},
{
title: '中台系统说明',
children: [
'/comprehensive/'
]
},
// {
// title: '其他',
// children: [
// '/review/'
// ]
// },
// {
// title: 'QA',
// children: [
// '/qa/'
// ]
// }
],
// lastUpdated: 'Last Updated',
// // 假定是 GitHub. 同时也可以是一个完整的 GitLab URL
// repo: 'poetries/FE-Interview-Questions/tree/dev',
// // 自定义仓库链接文字。默认从 `themeConfig.repo` 中自动推断为
// // "GitHub"/"GitLab"/"Bitbucket" 其中之一,或是 "Source"。
// repoLabel: '查看源码',
// // 以下为可选的编辑链接选项
// // 假如你的文档仓库和项目本身不在一个仓库:
// // docsRepo: 'poetries/FE-Interview-Questions',
// // 假如文档不是放在仓库的根目录下:
// docsDir: 'docs',
// // 假如文档放在一个特定的分支下:
// docsBranch: 'dev',
// // 默认是 false, 设置为 true 来启用
// editLinks: true,
// // 默认为 "Edit this page"
// editLinkText: '帮助我们改善此页面!'
}
}
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>FE-Interview</title>
<meta name="description" content="前端面试题整理">
<link rel="preload" href="/FE-Interview-Questions/assets/css/0.styles.826b6fd6.css" as="style"><link rel="preload" href="/FE-Interview-Questions/assets/js/app.988874f4.js" as="script"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/10.5fa31a90.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/11.5bcfe1b7.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/2.8a56b217.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/3.25bd3157.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/4.9fba53f9.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/5.2c24076d.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/6.02410588.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/7.726d87b3.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/8.4f8e9f80.js"><link rel="prefetch" href="/FE-Interview-Questions/assets/js/9.0d0e8e6c.js">
<link rel="stylesheet" href="/FE-Interview-Questions/assets/css/0.styles.826b6fd6.css">
</head>
<body>
<div id="app" data-server-rendered="true"><div class="theme-container"><div class="content"><h1>404</h1> <blockquote>Looks like we've got some broken links.</blockquote> <a href="/FE-Interview-Questions/" class="router-link-active">Take me home.</a></div></div></div>
<script src="/FE-Interview-Questions/assets/js/app.988874f4.js" defer></script>
</body>
</html>
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" width="12" height="13"><g stroke-width="2" stroke="#aaa" fill="none"><path d="M11.29 11.71l-4-4"/><circle cx="5" cy="5" r="4"/></g></svg>
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论