blob: 4453c987e1481ed49026eb4b45f2a34d78c47314 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# My note
## Commands
Generate the site.
```
$ ./nuldoc build
```
Create a new post.
```
$ ./nuldoc new post
```
Create a new slide.
```
$ ./nuldoc new slide
```
Update PDF.js.
```
$ curl -o static/pdf.min.mjs https://unpkg.com/pdfjs-dist@4.3.136/build/pdf.min.mjs
$ curl -o static/pdf.worker.min.mjs https://unpkg.com/pdfjs-dist@4.3.136/build/pdf.worker.min.mjs
```
## Structure
```
public
├── sitemap.xml
├── 404.html
├── posts
│ ├── 2021-03-05
│ │ └── my-first-post
│ │ └── index.html
│ ├── feed.xml
│ ├── _page
│ │ ├── 1.html
│ │ └── 2.html
└── tags
├── index.html
└── vim
├── feed.xml
└── index.html
```
|