1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-22 20:58:34 +01:00
MLEM/Docs/overrides/conceptual.extension.js

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