Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hojas committed Dec 6, 2023
1 parent 873472f commit 213605a
Show file tree
Hide file tree
Showing 13 changed files with 165 additions and 198 deletions.
7 changes: 3 additions & 4 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { sidebar } from './sidebar'
export default withMermaid({
base: '/frontend-guide/',
lang: 'zh-Hans',
title: 'Frontend Guide',
title: 'FrontendGuide',
description: '分享前端开发技术和 Node.js 开发技术',
titleTemplate: '分享前端开发技术和 Node.js 开发技术 - Frontend Guide',
titleTemplate: '分享前端开发技术和 Node.js 开发技术 - FrontendGuide',
srcDir: 'src/docs',
markdown: { lineNumbers: true },
lastUpdated: true,
Expand All @@ -21,8 +21,7 @@ export default withMermaid({
socialLinks: [{ icon: 'github', link: 'https://github.com/hojas' }],
lastUpdatedText: '最后更新',
footer: {
message: 'Frontend Guide',
copyright: 'Copyright © 2023-present frontend-guide',
copyright: 'Copyright © 2023-present FrontendGuide',
},
},
})
26 changes: 11 additions & 15 deletions .vitepress/nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import type { DefaultTheme } from 'vitepress'

export const nav: DefaultTheme.NavItem[] = [
{ text: '首页', link: '/' },
{ text: '前端基础', link: '/basic' },
{ text: '前端框架', link: '/frameworks' },
{ text: '前端测试', link: '/testing' },
// { text: '前端基础', link: '/basic' },
// { text: '前端测试', link: '/testing' },
{ text: '浏览器原理', link: '/browser' },
{ text: '前端工程化', link: '/engineering' },
// { text: '前端框架', link: '/frameworks' },
// { text: '前端工程化', link: '/engineering' },
// {
// text: '性能优化',
// link: '/performance',
Expand All @@ -15,14 +15,14 @@ export const nav: DefaultTheme.NavItem[] = [
// text: '移动端',
// link: '/mobile',
// },
{ text: 'Node.js', link: '/nodejs' },
{
text: '编程思想',
link: '/thinking',
},
// { text: 'Node.js', link: '/nodejs' },
// {
// text: '编程思想',
// link: '/thinking',
// },
{
text: '个人项目',
link: '/project',
text: '学习资源',
link: '/resource',
},
{
text: '计算机基础',
Expand All @@ -32,8 +32,4 @@ export const nav: DefaultTheme.NavItem[] = [
text: '算法',
link: 'https://www.programmercarl.com/',
},
{
text: '工具推荐',
link: '/tools',
},
]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Frontend Guide
# FrontendGuide

Full Frontend Development Guide.
30 changes: 0 additions & 30 deletions src/docs/basic.md

This file was deleted.

63 changes: 0 additions & 63 deletions src/docs/engineering.md

This file was deleted.

34 changes: 0 additions & 34 deletions src/docs/frameworks.md

This file was deleted.

20 changes: 10 additions & 10 deletions src/docs/index.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
---
layout: home
hero:
name: Frontend Guide
text: 分享前端开发技术和 Node.js 开发技术
tagline: 包括前端基础,浏览器原理,前端工程化,Node.js开发等
name: FrontendGuide
# text: 分享前端开发技术和 Node.js 开发技术
tagline: 分享前端开发技术和 Node.js 开发技术
image:
src: /home.gif
alt: 前端开发知识体系
actions:
- theme: brand
text: 关于我
link: about
text: 开始阅读
link: browser
- theme: alt
text: 本站源码
link: https://github.com/hojas/frontend-guide
features:
- title: 前端基础知识
details: HTML、CSS、JavaScript、TypeScript...
- title: 浏览器原理
details: 浏览器架构、Blink 渲染引擎、V8 引擎...
details: 事件循环、浏览器渲染原理...
- title: 前端框架
details: 框架实现原理...
- title: 前端工程化
details: 构建工具、代码质量工具、依赖管理工具、测试工具...
details: 项目构建、代码质量、测试...
- title: Node.js 开发
details: 模块化原理、事件循环、Web 框架...
details: 模块化原理、事件循环...
---
7 changes: 0 additions & 7 deletions src/docs/network.md

This file was deleted.

8 changes: 0 additions & 8 deletions src/docs/nodejs.md

This file was deleted.

9 changes: 0 additions & 9 deletions src/docs/project.md

This file was deleted.

Loading

0 comments on commit 213605a

Please sign in to comment.