File tree 1 file changed +21
-4
lines changed
1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change 4
4
5
5
---
6
6
7
- ## How to read this book?
7
+ ## 1. How to read this book?
8
8
9
9
This book is officially deployed at [ https://hedgehog-book.github.io ] ( https://hedgehog-book.github.io ) with interactive examples.
10
10
11
- ## How to build this book locally?
11
+ ## 2. How to build this book locally?
12
12
13
13
1 . Clone this repository to your local hard drive:
14
14
15
15
```
16
16
git clone https://github.com/Hedgehog-Computing/docs.git
17
17
```
18
18
19
- 2 . Install next.js and its dependencies:
19
+ 2 . Install next.js and its dependencies via ` yarn install ` :
20
20
21
21
```
22
+ yarn install
23
+ ```
24
+
25
+ 3 . Serve a local next.js server:
26
+
27
+ ```
28
+ yarn next
29
+ ```
30
+
31
+ 4 . If you want to build the book as a static HTML website locally, run ` yarn next build ` and ` yarn next export ` :
32
+
33
+ ```
34
+ yarn next build
35
+ yarn next export
36
+ ```
37
+
38
+ ## 3. How to contribute to this book?
22
39
23
- ```
40
+ s
You can’t perform that action at this time.
0 commit comments