HexCasting/doc/properties.toml

63 lines
1.6 KiB
TOML

modid = "hexcasting"
book = "hexcasting:thehexbook"
url = "https://gamma-delta.github.io/HexMod"
default_lang = "en_us"
resource_dirs = [ # top takes priority
{ path = "src/hexdoc/_export/resources", reexport = false },
"{_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 = "src/hexdoc/_export/generated"
# 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+)\)' }
[[pattern_stubs]]
path = "{^_common.package}/common/lib/hex/HexActions.java"
regex = "{^_pattern_regex}"
[[pattern_stubs]]
path = "{^_fabric.package}/FabricHexInitializer.kt"
regex = "{^_pattern_regex}"
[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]
title = "Hex Book"
mod_name = "Hex Casting"
author = "petrak@, Alwinfy"
description = "The Hex Book, all in one place."
icon_href = "logo.png"
is_bleeding_edge = true
show_landing_text = true
# platforms
[_common]
src = "../Common/src"
package = "{src}/main/java/at/petrak/hexcasting"
[_fabric]
src = "../Fabric/src"
package = "{src}/main/java/at/petrak/hexcasting/fabric"
[_forge]
src = "../Forge/src"
package = "{src}/main/java/at/petrak/hexcasting/forge"