-
Notifications
You must be signed in to change notification settings - Fork 136
/
Copy pathflash.toml
101 lines (86 loc) · 2.24 KB
/
flash.toml
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# Configuration file for the Flash C++ documentation generator.
# https://github.com/geode-sdk/flash
[project]
name = "Geode"
version = "" # dont bother
repository = "https://github.com/geode-sdk/geode"
tree = "https://github.com/geode-sdk/geode/tree/main"
icon = "loader/resources/logos/geode-circle.png"
[tutorials]
dir = "docs"
assets = [
"docs/assets/*.png",
"docs/assets/settings/*.png",
"docs/assets/handbook/vol1/*.png",
"docs/assets/handbook/vol2/*.png",
]
[[external-libs]]
pattern = "matjson"
repository = "https://github.com/geode-sdk/json"
[[external-libs]]
pattern = "Result.hpp"
repository = "https://github.com/geode-sdk/result"
[[sources]]
name = "Geode"
dir = "loader/include"
include = [
"Geode/**/*.hpp",
"Geode/**/*.h",
]
exclude = [
"Geode/modify/Comparer.hpp",
"Geode/platform/*.hpp",
"Geode/c++stl/*.hpp",
# All of the relevant cocos headers are included through Geode headers
"Geode/cocos/**/*.h"
]
[[sources]]
name = "Bindings"
dir = "build-docs/bindings/bindings"
include = [
"Geode/binding/*.hpp"
]
# Bindings are generated at compile time
exists-online = false
[ignore]
patterns-name = [
# anything that starts with a double underscore
# shouldnt be included
"^__",
"^tinyxml2$",
"^format_as$",
# operator overloads
"^operator\\W"
]
patterns-full = [
"^geode::modifier",
"^geode::prelude",
"^geode::stl",
"^geode::geode_internal"
]
# CMake options
[cmake]
config-args = [
"-G", "Ninja",
"-DCMAKE_CXX_COMPILER=Clang",
"-DCMAKE_C_COMPILER=Clang",
"-DGEODE_BUILDING_DOCS=On",
"-DGEODE_PLATFORM_NAME=Win64",
"-DGEODE_CODEGEN_CMAKE_ARGS=-DCMAKE_CXX_COMPILER=Clang;-DCMAKE_C_COMPILER=Clang",
"-DWIN32=On"
]
build-dir = "build-docs"
# The file we use to get all the include paths and such
infer-args-from = "loader/src/load.cpp"
[[scripts.css]]
name = "default.css"
content = "docs/flash-template/default.css"
[[scripts.css]]
name = "nav.css"
content = "docs/flash-template/nav.css"
[[scripts.css]]
name = "content.css"
content = "docs/flash-template/content.css"
[[scripts.css]]
name = "themes.css"
content = "docs/flash-template/themes.css"