forked from IrishBruse/LDtkMonogame
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
34 lines (34 loc) · 996 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
window.$docsify = {
alias: {},
homepage:
"https://raw.githubusercontent.com/IrishBruse/LDtkMonogame/main/README.md",
copyCode: {
buttonText: "",
errorText: "Error",
successText: "Copied",
},
subMaxLevel: 2,
routerMode: "history",
topMargin: 70,
loadSidebar: true,
loadNavbar: true,
notFoundPage: "_notfound.md",
search: "auto",
auto2top: true,
relativePath: true,
plugins: [
function myPlugin1(hook, vm) {
// Invoked on each page load after new HTML has been appended to the DOM
hook.doneEach(function () {
if (location.pathname == "/Documentation/") {
let test = document.querySelector(
".sidebar-nav a[title=Documentation]"
);
setTimeout(() => {
test.click();
}, 0);
}
});
},
],
};