diff --git a/README.md b/README.md index 27deba1..5627391 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ # Maska -!> Maska v3 is currently in beta. If you encounter any issues, please [report them](https://github.com/beholdr/maska/issues). +Maska v3 is currently in beta. If you encounter any issues, please [report them](https://github.com/beholdr/maska/issues). ## Support ☕️ diff --git a/docs/docsify-version-plugin.js b/docs/docsify-version-plugin.js new file mode 100644 index 0000000..32f6c17 --- /dev/null +++ b/docs/docsify-version-plugin.js @@ -0,0 +1,14 @@ +;(function () { + function versionPlugin(hook) { + hook.mounted(function () { + document + .getElementById('version-selector') + .addEventListener('change', (e) => { + window.location.href = '../' + e.target.value + '/' + }) + }) + } + + $docsify = $docsify || {} + $docsify.plugins = [].concat($docsify.plugins || [], versionPlugin) +})() diff --git a/docs/v2/README.md b/docs/v2/README.md index 3addda4..f1a4c16 100644 --- a/docs/v2/README.md +++ b/docs/v2/README.md @@ -1,10 +1,6 @@ - - ---- - # Maska -Do you like **Maska**? Please support me via [Boosty](https://boosty.to/beholdr). +> ❤️ [Please support](https://boosty.to/beholdr) Maska development! # Live Demo diff --git a/docs/v2/index.html b/docs/v2/index.html index 50187ca..e1d6545 100644 --- a/docs/v2/index.html +++ b/docs/v2/index.html @@ -11,7 +11,6 @@ -