Update all inputs, rename the KDE platform, and apply formatter changes
by running the following commands:
biome check --unsafe --write
pre-commit run --all-files
Rename the KDE platform, following local commit f47c0edcf7 ("treewide:
remove Plasma 5 support dropped upstream (#1860)") and upstream commits
[1] ("nixos/treewide: clean up some more references to deleted qt5
things") and [2] ("qt: deprecate kde6").
[1]: 31d5c4e753
[2]: 1e759786e5
Closes: https://github.com/nix-community/stylix/issues/1865
Link: https://github.com/nix-community/stylix/pull/1866
Link: https://github.com/nix-community/stylix/pull/1881
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Co-authored-by: Samuel Meenzen <samuel@meenzen.net>
Co-authored-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
Reviewed-by: Daniel Thwaites <danth@danth.me>
21 lines
611 B
JavaScript
21 lines
611 B
JavaScript
(() => {
|
|
// A table of paths to redirect from, mapped to the new location.
|
|
// NOTE: This script doesn't run on 404.html, so the old page must still exist.
|
|
const redirects = {
|
|
"/configuration.html#standalone-nixvim":
|
|
"./options/modules/neovim.html#standalone-mode",
|
|
};
|
|
|
|
const fullPath = window.location.pathname + window.location.hash;
|
|
|
|
// Remove baseHref
|
|
const path =
|
|
fullPath.indexOf("/stylix/") === 0 ? fullPath.substring(7) : fullPath;
|
|
|
|
const target = redirects[path];
|
|
|
|
if (target) {
|
|
console.log(`Redirecting to ${target}`);
|
|
window.location.replace(target);
|
|
}
|
|
})();
|