HexCasting/doc/properties.toml

62 lines
1.6 KiB
TOML
Raw Normal View History

modid = "hexcasting"
2023-08-09 04:45:09 +02:00
book = "hexcasting:thehexbook"
2023-09-01 05:39:31 +02:00
fallback_url = "https://gamma-delta.github.io/HexMod"
default_lang = "en_us"
2023-08-09 04:45:09 +02:00
_export_root = "src/hexdoc/_export"
resource_dirs = [ # top takes priority
{ path = "{^_export_root}/resources", reexport = false },
2023-08-09 04:45:09 +02:00
"{_common.src}/main/resources",
"{_common.src}/generated/resources",
"{_fabric.src}/main/resources",
"{_fabric.src}/generated/resources",
"{_forge.src}/main/resources",
"{_forge.src}/generated/resources",
]
export_dir = "{_export_root}/generated"
2023-07-14 05:14:36 +02:00
2023-08-09 04:45:09 +02:00
# NOTE: "!Raw" means "don't apply variable interpolation to this value"
_pattern_regex = { "!Raw" = 'make\(\s*"(?P<name>[a-zA-Z0-9_\/]+)",\s*(?:new )?(?:ActionRegistryEntry|OperationAction)\(\s*HexPattern\.fromAngles\(\s*"(?P<signature>[aqweds]+)",\s*HexDir.(?P<startdir>\w+)\)' }
2023-07-25 04:27:11 +02:00
2023-08-07 01:27:52 +02:00
[[pattern_stubs]]
path = "{^_common.package}/common/lib/hex/HexActions.java"
regex = "{^_pattern_regex}"
2023-08-09 04:45:09 +02:00
[[pattern_stubs]]
path = "{^_fabric.package}/FabricHexInitializer.kt"
regex = "{^_pattern_regex}"
2023-08-23 05:58:03 +02:00
[base_asset_urls]
hexcasting = "https://raw.githubusercontent.com/gamma-delta/HexMod/main/Common/src/main/resources"
[template]
main = "main.html.jinja"
static_dir = "static"
packages = [
"hexdoc",
]
[template.args]
mod_name = "Hex Casting"
2023-07-14 05:14:36 +02:00
author = "petrak@, Alwinfy"
2023-08-07 02:13:34 +02:00
icon_href = "logo.png"
2023-07-14 05:14:36 +02:00
show_landing_text = true
2023-08-07 01:27:52 +02:00
2023-06-20 06:42:49 +02:00
# platforms
2023-08-09 04:45:09 +02:00
[_common]
src = "../Common/src"
package = "{src}/main/java/at/petrak/hexcasting"
2023-08-07 01:27:52 +02:00
2023-08-09 04:45:09 +02:00
[_fabric]
src = "../Fabric/src"
package = "{src}/main/java/at/petrak/hexcasting/fabric"
2023-08-07 01:27:52 +02:00
2023-08-09 04:45:09 +02:00
[_forge]
src = "../Forge/src"
package = "{src}/main/java/at/petrak/hexcasting/forge"