zlataovce / takenaka

A Kotlin library for reconciling multiple obfuscation mapping files from multiple versions of Minecraft: JE.
Apache License 2.0
51 stars 3 forks source link

fix(generator-web): improve base URL logic #18

Closed zlataovce closed 1 year ago

zlataovce commented 1 year ago

Currently, the site searches for dotted segments in the URL, signifying a version, to determine the base URL of the class search index. The aim is to retain the configuration-agnostic nature of this logic.

This will break in a site build with snapshot or beta/alpha versions.

zlataovce commented 1 year ago

Relative links should also be used wherever possible to allow for deployment with a custom root path (e.g. /mappings in https://zlataovce.github.io/mappings).