-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetting.py
More file actions
52 lines (46 loc) · 1.53 KB
/
Copy pathsetting.py
File metadata and controls
52 lines (46 loc) · 1.53 KB
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
import os
class OutputFlag:
TEST = 1 << 1
SIYUAN = 1 << 2
siyuan_doc_path = "b:/data/note/Siyuan" # 填写实际的思源文本路径,
# siyuan_doc_path = r"C:\Users\Administrator\Desktop\新建文件夹" # 填写实际的思源文本路径,
siyuan_doc_path_test = "./output/" # 测试输出路径
conf_path_postfix = "data/snippets/conf.json"
siyuan_conf_path = os.path.join(siyuan_doc_path, conf_path_postfix)
test_conf_path = os.path.join(siyuan_doc_path_test, conf_path_postfix)
# 这里增加屏蔽的代码片段文件
# 也可以将不要的代码片段文件添加到 just_collection 中 也不会生成
ban_snippets = {
# "blocking-arsi_behavior-color",
# "blocking-arsi_behavior-content_block",
# "blocking-arsi_behavior-file_tree",
# "blocking-arsi_behavior-tab_bar",
# "main-background",
# "main-doc_title",
# "main-editor_area",
# "main-main",
# "main-status_bar",
# "main-toolbar",
# "markdown-code",
# "markdown-comment",
# "markdown-content",
# "markdown-label",
# "markdown-line_code",
# "markdown-link",
# "markdown-list",
# "markdown-photo",
# "markdown-refference",
# "markdown-table",
# "markdown-title",
# "markdown-siyuan-block_refenerce",
# "markdown-siyuan-database",
# "markdown-siyuan-super_block",
# "miscellaneous-plugin",
# "miscellaneous-search",
# "pop_window-color_choice",
# "pop_window-emoji",
# "pop_window-slash_menu",
# "sidebar-filetree",
# "sidebar-main",
# "sidebar-outline"
}