Skip to content

Commit

Permalink
introduction (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akiq2016 authored Sep 11, 2021
1 parent 4e89542 commit 08565ec
Show file tree
Hide file tree
Showing 47 changed files with 427 additions and 156 deletions.
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# 小册开发必看

<!--
已知掘金小册的编辑器使用标准 markdown 语法。所以等我们在 GitHub 上迭代完小册第一版内容后,再统一搬运去掘金。以下截图是掘金小册的编辑器:
![image](https://user-images.githubusercontent.com/17002181/124560094-04e84880-de6f-11eb-90cb-564076152927.png) -->

1. 为了方便多人协作编写小册内容,所以使用 Git 仓库来进行管理。
2. 为了方便本地环境预览小册的 markdown 内容,所以使用 gitbook 工具进行文件结构管理。
2. 为了方便本地环境预览小册的 markdown 内容,所以使用 docusaurus 工具进行文件结构管理。

## 内容选题

Expand All @@ -28,3 +23,14 @@ npm start
共 5 套模拟题,每套 12 题。按****开分支,需要提交 PR,review 通过后 merge 进 main 分支。

请基于 `.template` 中的内容模板进行写作。不硬性规定格式必须完全一致,但请在参考和贴近模板的前提下进行拓展。

## 部署流程

目前的方法是手动执行以下命令,触发部署流程。部署前请在群里先同步,也确保你的开发环境中没有其他未 push/Verified 的内容。

```bash
# Akiq2016 换成你的 GitHub 名称
# 执行以下这条命令后,会将构建出的build目录下的内容,强推到开源库(https://github.com/HZFE/awesome-interview)
# 对应的静态页面(https://hzfe.github.io/awesome-interview)也会更新
export GIT_USER=Akiq2016 && npm run deploy
```
47 changes: 0 additions & 47 deletions SUMMARY.md

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion docs/book1/algorithm-balanced-binary-trees.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【算法】平衡二叉树
sidebar_label: 算法:平衡二叉树
sidebar_position: 11
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book1/browser-cross-origin.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 浏览器浏览器跨域
sidebar_label: 浏览器浏览器跨域
sidebar_position: 1
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book1/browser-repain-reflow.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 浏览器浏览器的重排重绘
sidebar_label: 浏览器浏览器的重排重绘
sidebar_position: 2
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book1/coding-promise.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【编码】实现一个 Promises/A+
sidebar_label: 编码:实现一个 Promises/A+
sidebar_position: 10
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book1/css-bfc.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【样式】BFC 的形成和作用
sidebar_label: 样式:BFC 的形成和作用
sidebar_position: 8
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book1/engineer-webpack-workflow.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
sidebar_label: 工程化Webpack 工作流程
sidebar_label: 工程化Webpack 工作流程
sidebar_position: 3
---
2 changes: 1 addition & 1 deletion docs/book1/frame-vue-computed-watch.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【框架】Vue 的 computed 和 watch 的区别
sidebar_label: 框架:Vue 的 computed 和 watch 的区别
sidebar_position: 5
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book1/frame-vue-data-binding.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【框架】Vue 的数据绑定机制
sidebar_label: 框架:Vue 的数据绑定机制
sidebar_position: 4
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book1/js-closures.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【基础】闭包的作用和原理
sidebar_label: 基础:闭包的作用和原理
sidebar_position: 6
---

Expand Down
5 changes: 3 additions & 2 deletions docs/book1/js-module-specs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【基础】前端模块化规范
sidebar_label: 基础:前端模块化规范
sidebar_position: 7
---

Expand Down Expand Up @@ -115,7 +115,8 @@ define("hzfe", [], function () {
});

// index.js
require(["hzfe"], function (hzfe) { // 依赖前置
require(["hzfe"], function (hzfe) {
// 依赖前置
console.log(hzfe.getHZFEMember()); // HZFE Member: 17
});
```
Expand Down
2 changes: 1 addition & 1 deletion docs/book1/network-security.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【网络】前端安全
sidebar_label: 网络:前端安全
sidebar_position: 9
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book1/topic-enter-url-display-xx.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【综合】浏览器从输入网址到页面展现的过程
sidebar_label: 综合:浏览器从输入网址到页面展现的过程
sidebar_position: 12
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/algorithm-reverse-linked-list.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【算法】反转链表
sidebar_label: 算法:反转链表
sidebar_position: 11
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/browser-garbage.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 浏览器垃圾回收机制
sidebar_label: 浏览器垃圾回收机制
sidebar_position: 2
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/browser-render-mechanism.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 浏览器浏览器渲染机制
sidebar_label: 浏览器浏览器渲染机制
sidebar_position: 1
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/coding-throttle-debounce.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【编码】实现节流去抖函数
sidebar_label: 编码:实现节流去抖函数
sidebar_position: 10
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/css-preprocessor.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【样式】谈谈 CSS 预处理器
sidebar_label: 样式:谈谈 CSS 预处理器
sidebar_position: 8
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/engineer-babel.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 工程化Babel 的原理
sidebar_label: 工程化Babel 的原理
sidebar_position: 3
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/frame-react-fiber.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【框架】React Fiber 的作用和原理
sidebar_label: 框架:React Fiber 的作用和原理
sidebar_position: 4
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/frame-react-hoc-hooks.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【框架】HOC vs Render Props vs Hooks
sidebar_label: 框架:HOC vs Render Props vs Hooks
sidebar_position: 5
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/js-inherite.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【基础】ES5、ES6 如何实现继承
sidebar_label: 基础:ES5、ES6 如何实现继承
sidebar_position: 6
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/js-new.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【基础】New 操作符的原理
sidebar_label: 基础:New 操作符的原理
sidebar_position: 7
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/network-http-cache.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【网络】HTTP 缓存机制
sidebar_label: 网络:HTTP 缓存机制
sidebar_position: 9
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book2/topic-multi-pics-site-optimize.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【综合】多图站点性能优化
sidebar_label: 综合:多图站点性能优化
sidebar_position: 12
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book3/algorithm-binary-tree-k.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【算法】二叉搜索树的第 k 个结点
sidebar_label: 算法:二叉搜索树的第 k 个结点
sidebar_position: 11
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book3/browser-event-loop.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 浏览器浏览器事件循环
sidebar_label: 浏览器浏览器事件循环
sidebar_position: 1
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book3/browser-memory-leaks.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 浏览器如何定位内存泄露
sidebar_label: 浏览器如何定位内存泄露
sidebar_position: 2
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book3/coding-arr-to-tree.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【编码】将列表还原为树状结构
sidebar_label: 编码:将列表还原为树状结构
sidebar_position: 10
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book3/css-mobile-adaptive.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【样式】移动端自适应的常见手段
sidebar_label: 样式:移动端自适应的常见手段
sidebar_position: 8
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book3/engineer-webpack-loader.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
sidebar_label: 工程化谈下 webpack loader 的机制
sidebar_label: 工程化谈下 webpack loader 的机制
sidebar_position: 3
---
2 changes: 1 addition & 1 deletion docs/book3/frame-diff.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【框架】常见框架的 Diff 算法
sidebar_label: 框架:常见框架的 Diff 算法
sidebar_position: 5
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book3/frame-react-hooks.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【框架】React Hooks 实现原理
sidebar_label: 框架:React Hooks 实现原理
sidebar_position: 4
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book3/js-async.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【基础】JavaScript 异步编程
sidebar_label: 基础:JavaScript 异步编程
sidebar_position: 6
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book3/js-ts-interface-type.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【基础】TypeScript 中的 Interface 和 Type Alias
sidebar_label: 基础:TypeScript 中的 Interface 和 Type Alias
sidebar_position: 7
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book3/network-http-1-2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【网络】HTTP2 和 HTTP1.1 的对比
sidebar_label: 网络:HTTP2 和 HTTP1.1 的对比
sidebar_position: 9
---

Expand Down
2 changes: 1 addition & 1 deletion docs/book3/topic-white-screen-optimization.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_label: 【综合】如何减少白屏的时间
sidebar_label: 综合:如何减少白屏的时间
sidebar_position: 12
---

Expand Down
Loading

0 comments on commit 08565ec

Please sign in to comment.