2022-01-17 16:53:50 -03:00

28 lines
625 B
JavaScript

function editThisPage(_, vm) {
var btn = document.getElementById('edit-this-page');
btn.onclick = function (event) {
event.preventDefault();
window.open(
'https://github.com/arthurfiorette/axios-cache-interceptor/tree/main/docs/' +
vm.route.file,
'_blank'
);
};
}
window.$docsify = {
name: '🚀 Axios Cache Interceptor',
coverpage: 'config/cover.md',
loadSidebar: 'config/sidebar.md',
notFoundPage: 'config/404.md',
homepage: 'pages/homepage.md',
themeColor: 'hsl(275, 100%, 50%)',
subMaxLevel: 2,
search: 'auto',
plugins: [editThisPage, window.runkitDocsify]
};