Docs: (test) link settings page via deep link

This commit is contained in:
MM20
2024-08-13 19:00:25 +02:00
parent 84a62ae8e0
commit c2a82778f9
4 changed files with 634 additions and 177 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ or install them manually as APK files.
### Activation
After the plugin has been installed, it needs to be activated in the launcher settings. To do this,
go to settings > plugins, tap on the plugin you want to activate, and enable it. The plugin will
go to <a href="/in-app?route=settings/plugins">settings > plugins</a>, tap on the plugin you want to activate, and enable it. The plugin will
show a permission dialog. Tap on "Allow" to give the launcher the necessary permission to access
the plugin's data.
+24
View File
@@ -0,0 +1,24 @@
<script setup>
import { useRoute } from 'vitepress'
import { ref, onMounted } from 'vue'
import QRCode from 'qrcode'
import {VPButton} from 'vitepress/theme'
const route = useRoute()
const canvas = ref(null)
const qrcode = ref(null)
onMounted(async () => {
qrcode.value = await QRCode.toDataURL(window.location.href)
})
</script>
# Open settings page
Scan this code to view the linked settings page in Kvaesitso.
<img :src="qrcode">
+608 -176
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -5,6 +5,7 @@
"docs:preview": "vitepress preview ."
},
"devDependencies": {
"qrcode": "^1.5.4",
"sass": "^1.70.0",
"vitepress": "^1.0.0-rc.41",
"vue": "^3.4.15"