-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 296e811
Showing
519 changed files
with
106,314 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,125 @@ | ||
### Node template | ||
.idea | ||
.DS_Store | ||
dist | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
lerna-debug.log* | ||
.temp | ||
yarn.lock | ||
|
||
# Diagnostic reports (https://nodejs.org/api/report.html) | ||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
*.lcov | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Snowpack dependency directory (https://snowpack.dev/) | ||
web_modules/ | ||
|
||
# TypeScript cache | ||
*.tsbuildinfo | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Microbundle cache | ||
.rpt2_cache/ | ||
.rts2_cache_cjs/ | ||
.rts2_cache_es/ | ||
.rts2_cache_umd/ | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
.env.test | ||
|
||
# parcel-bundler cache (https://parceljs.org/) | ||
.cache | ||
.parcel-cache | ||
|
||
# Next.js build output | ||
.next | ||
out | ||
|
||
# Nuxt.js build / generate output | ||
.nuxt | ||
dist | ||
|
||
# Gatsby files | ||
.cache/ | ||
# Comment in the assets line in if your project uses Gatsby and not Next.js | ||
# https://nextjs.org/blog/next-9-1#public-directory-support | ||
# assets | ||
|
||
# vuepress build output | ||
.vuepress/dist | ||
|
||
# Serverless directories | ||
.serverless/ | ||
|
||
# FuseBox cache | ||
.fusebox/ | ||
|
||
# DynamoDB Local files | ||
.dynamodb/ | ||
|
||
# TernJS port file | ||
.tern-port | ||
|
||
# Stores VSCode versions used for testing VSCode extensions | ||
.vscode-test | ||
|
||
# yarn v2 | ||
.yarn/cache | ||
.yarn/unplugged | ||
.yarn/build-state.yml | ||
.yarn/install-state.gz | ||
.pnp.* | ||
|
||
/.vuepress/dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
import { defineConfig } from "vuepress/config"; | ||
import navbar from "./navbar"; | ||
import sidebar from "./sidebar"; | ||
import footer from "./footer"; | ||
import extraSideBar from "./extraSideBar"; | ||
|
||
const author = "程序员鱼皮"; | ||
const domain = "https://codefather.cn"; | ||
const tags = ["程序员", "编程", "计算机"]; | ||
|
||
export default defineConfig({ | ||
title: "鱼皮的编程宝典", | ||
description: "贴心的编程学习路线,全面的编程知识百科", | ||
head: [ | ||
// 站点图标 | ||
["link", { rel: "icon", href: "/favicon.ico" }], | ||
// SEO | ||
[ | ||
"meta", | ||
{ | ||
name: "keywords", | ||
content: | ||
"程序员鱼皮, 编程学习路线, 编程知识百科, Java, 编程导航, 前端, 开发, 编程分享, 项目, IT, 求职, 面经", | ||
}, | ||
], | ||
// 百度统计 | ||
[ | ||
"script", | ||
{}, | ||
` | ||
var _hmt = _hmt || []; | ||
(function() { | ||
var hm = document.createElement("script"); | ||
hm.src = "https://hm.baidu.com/hm.js?2675818a983a3131404cee835018f016"; | ||
var s = document.getElementsByTagName("script")[0]; | ||
s.parentNode.insertBefore(hm, s); | ||
})(); | ||
`, | ||
], | ||
], | ||
permalink: "/:slug", | ||
|
||
// 监听文件变化,热更新 | ||
extraWatchFiles: [".vuepress/*.ts", ".vuepress/sidebars/*.ts"], | ||
markdown: { | ||
// 开启代码块的行号 | ||
lineNumbers: true, | ||
// 支持 4 级以上的标题渲染 | ||
extractHeaders: ["h2", "h3", "h4", "h5", "h6"], | ||
}, | ||
// @ts-ignore | ||
plugins: [ | ||
["@vuepress/back-to-top"], | ||
// Google 分析 | ||
[ | ||
"@vuepress/google-analytics", | ||
{ | ||
ga: "GTM-WVS9HM6W", // 补充自己的谷歌分析 ID,比如 UA-00000000-0 | ||
}, | ||
], | ||
["@vuepress/medium-zoom"], | ||
// https://github.com/lorisleiva/vuepress-plugin-seo | ||
[ | ||
"seo", | ||
{ | ||
siteTitle: (_, $site) => $site.title, | ||
title: ($page) => $page.title, | ||
description: ($page) => | ||
$page.frontmatter.description || $page.description, | ||
author: (_, $site) => $site.themeConfig.author || author, | ||
tags: ($page) => $page.frontmatter.tags || tags, | ||
type: ($page) => "article", | ||
url: (_, $site, path) => | ||
($site.themeConfig.domain || domain || "") + path, | ||
image: ($page, $site) => | ||
$page.frontmatter.image && | ||
(($site.themeConfig.domain && | ||
!$page.frontmatter.image.startsWith("http")) || | ||
"") + $page.frontmatter.image, | ||
publishedAt: ($page) => | ||
$page.frontmatter.date && new Date($page.frontmatter.date), | ||
modifiedAt: ($page) => $page.lastUpdated && new Date($page.lastUpdated), | ||
}, | ||
], | ||
// https://github.com/ekoeryanto/vuepress-plugin-sitemap | ||
[ | ||
"sitemap", | ||
{ | ||
hostname: domain, | ||
}, | ||
], | ||
// https://github.com/IOriens/vuepress-plugin-baidu-autopush | ||
["vuepress-plugin-baidu-autopush"], | ||
// https://github.com/zq99299/vuepress-plugin/tree/master/vuepress-plugin-tags | ||
["vuepress-plugin-tags"], | ||
// https://github.com/znicholasbrown/vuepress-plugin-code-copy | ||
[ | ||
"vuepress-plugin-code-copy", | ||
{ | ||
successText: "代码已复制", | ||
}, | ||
], | ||
// https://github.com/webmasterish/vuepress-plugin-feed | ||
[ | ||
"feed", | ||
{ | ||
canonical_base: domain, | ||
count: 10000, | ||
// 需要自动推送的文档目录 | ||
posts_directories: [], | ||
}, | ||
], | ||
// https://github.com/tolking/vuepress-plugin-img-lazy | ||
["img-lazy"], | ||
], | ||
// 主题配置 | ||
themeConfig: { | ||
logo: "/logo.png", | ||
nav: navbar, | ||
sidebar, | ||
lastUpdated: "最近更新", | ||
|
||
// GitHub 仓库位置 | ||
repo: "liyupi/codefather", | ||
docsBranch: "master", | ||
|
||
// 编辑链接 | ||
editLinks: true, | ||
editLinkText: "完善页面", | ||
|
||
// @ts-ignore | ||
// 底部版权信息 | ||
footer, | ||
// 额外右侧边栏 | ||
extraSideBar, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/** | ||
* 额外右侧边栏 | ||
*/ | ||
export default [ | ||
{ | ||
title: "手机看", | ||
icon: "/icon/mobile.png", | ||
popoverTitle: "微信扫一扫", | ||
popoverUrl: | ||
"/qrcode-codefather.png", | ||
popoverDesc: "可以手机看或分享至朋友圈", | ||
}, | ||
{ | ||
title: "星球", | ||
icon: "/icon/xingqiu.png", | ||
popoverTitle: | ||
'<span style="font-size:0.8rem;font-weight:bold;"><span style="font-size:8px;color:red;">保姆级实战项目教程</span>、编程学习指南、学习资源、求职指南、技术分享、编程交流</span>', | ||
popoverUrl: | ||
"/qrcode-codenav.png", | ||
popoverDesc: "知识星球:编程导航", | ||
}, | ||
{ | ||
title: "交流群", | ||
icon: "/icon/weixin.png", | ||
popoverTitle: | ||
'<span style="font-size:0.8rem;font-weight:bold;">扫码添加 <span style="font-size:8px;color:red;">编程导航小助手微信</span>,拉你进专属编程学习交流群</span>', | ||
popoverUrl: | ||
"/qrcode-codenavhelper.png", | ||
}, | ||
{ | ||
title: "下资料", | ||
icon: "/icon/xiazai.png", | ||
popoverTitle: | ||
'<span style="font-size:0.8rem;font-weight:bold;">扫码关注站长公众号,回复 <span style="color:red;">学习</span> 获取海量编程学习资源「无任何套路」</span>', | ||
popoverUrl: | ||
"/qrcode-mpcoder_yupi.jpg", | ||
popoverDesc: "公众号: 程序员鱼皮", | ||
}, | ||
{ | ||
title: "支持我", | ||
icon: "/icon/dianzan.png", | ||
popoverTitle: | ||
' <span style="font-size:0.8rem;font-weight:bold;">鼓励和赞赏我</span>', | ||
popoverUrl: | ||
"/qrcode-thumb.jpg", | ||
popoverDesc: | ||
"感谢您的支持,作者头发++", | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/** | ||
* 底部版权信息 | ||
*/ | ||
export default { | ||
friendLinks: [ | ||
{ | ||
label: "站长 - 程序员鱼皮", | ||
// icon: "/icon/user.svg", | ||
href: "https://yuyuanweb.feishu.cn/wiki/Abldw5WkjidySxkKxU2cQdAtnah", | ||
}, | ||
{ | ||
label: "鱼鸢网络", | ||
href: "https://yuyuanweb.com/", | ||
}, | ||
{ | ||
label: "老鱼简历", | ||
href: "https://www.laoyujianli.com/", | ||
}, | ||
{ | ||
label: "鱼聪明 AI", | ||
href: "https://www.yucongming.com/", | ||
}, | ||
{ | ||
label: "编程学习圈", | ||
href: "https://yuyuanweb.feishu.cn/wiki/VC1qwmX9diCBK3kidyec74vFnde", | ||
}, | ||
], | ||
copyright: { | ||
href: "https://beian.miit.gov.cn/", | ||
name: "沪ICP备19026706号-6", | ||
}, | ||
}; |
Oops, something went wrong.