1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-06-09 16:19:16 +02:00
MLEM/Docs/overrides/conceptual.extension.js

7 lines
276 B
JavaScript
Raw Normal View History

exports.preTransform = function (model) {
// point to the release branch in the readme when on the website
if (model._path.includes("index"))
model.conceptual = model.conceptual.replaceAll(/\/MLEM(\/[^/]+)?\/main\//g, "/MLEM$1/release/");
return model;
};