mirror of
https://github.com/arthurfiorette/axios-cache-interceptor.git
synced 2025-12-08 17:36:16 +00:00
28 lines
625 B
JavaScript
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]
|
|
};
|