-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yml
68 lines (56 loc) · 1.89 KB
/
Taskfile.yml
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# https://taskfile.dev
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"
tasks:
build_book_ja:
desc: Build the Japanese version of the book
cmds:
- uv run jupyter-book build docs/ja
build_book_ja_all:
desc: Build the Japanese version of the book (force rebuild all notebooks)
cmds:
- uv run jupyter-book build docs/ja --all
open_book_ja:
desc: Open the Japanese version of the book
cmds:
- uv run python -m webbrowser file:///$(pwd)/docs/ja/_build/html/index.html
watch_book_ja:
desc: Watch Japanese notebooks and auto-rebuild of the book
cmds:
- fswatch -o docs/ja/**/*.ipynb | xargs -n1 -I{} jupyter-book build docs/ja
book_ja:
desc: Build and open the Japanese version of the book
cmds:
- task: build_book_ja
- task: open_book_ja
book_ja_all:
desc: Build and open the Japanese version of the book (force rebuild all notebooks)
cmds:
- task: build_book_ja_all
- task: open_book_ja
build_book_en:
desc: Build the English version of the book
cmds:
- uv run jupyter-book build docs/en
build_book_en_all:
desc: Build the English version of the book (force rebuild all notebooks)
cmds:
- uv run jupyter-book build docs/en --all
open_book_en:
desc: Open the English version of the book
cmds:
- uv run python -m webbrowser file:///$(pwd)/docs/en/_build/html/index.html
watch_book_en:
desc: Watch English notebooks and auto-rebuild of the book
cmds:
- fswatch -o docs/en/**/*.ipynb | xargs -n1 -I{} jupyter-book build docs/en
book_en:
desc: Build and open the English version of the book
cmds:
- task: build_book_en
- task: open_book_en
book_en_all:
desc: Build and open the English version of the book (force rebuild all notebooks)
cmds:
- task: build_book_en_all
- task: open_book_en