1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-05-18 23:21:22 +02:00
MLEM/Docs/overrides/conceptual.extension.js

7 lines
276 B
JavaScript

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;
};