Migrate docs to VitePress

This commit is contained in:
MM20
2024-02-05 01:02:32 +01:00
parent 6c4e068fac
commit 78b0822e34
112 changed files with 2011 additions and 23088 deletions
@@ -1,2 +0,0 @@
label: External APIs
position: 2
@@ -2,6 +2,5 @@
Kvaesitso integrates with a number of external APIs. Most of them require some sort of authentication, like an API key. These API keys are not part of the GitHub repository. If you want to build Kvaesitso from source with all features enabled, follow the steps in this chapter.
:::info
Kvaesitso is still buildable even without these steps, but some features will be disabled in the resulting APK. If all you need is a debug build for testing purposes, you can probably skip this chapter.
:::
> [!INFO]
> Kvaesitso is still buildable even without these steps, but some features will be disabled in the resulting APK. If all you need is a debug build for testing purposes, you can probably skip this chapter.
@@ -1,30 +0,0 @@
# Microsoft Graph Services
Microsoft Graph Services are used for OneDrive search. To enable OneDrive integration in your builds, follow these steps:
1. Go to the [Microsoft Azure Portal](https://portal.azure.com)
1. Create a new project.
1. Search for App Registrations
1. Add a new registration
1. Supported account types: Accounts in any organizational directory and personal Microsoft accounts
1. Add an authentication platform
1. Go to Authentication
1. Add a platform > Android
1. Enter the debug package name (de.mm20.launcher2.debug) and the signature hash of your debug key
1. You can use the following command to generate the signature hash:
`keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64`
1. Click Configure > Done
1. In the newly created Android section, click on Add URI
1. Add package name (de.mm20.launcher2.release) and signature hash of your release key
1. Download the client details
1. In the debug client row, click on View
1. Copy the JSON below MSAL Configuration to `ms-services/src/debug/res/raw/msal_auth_config.json` (you'll need to create this file first)
1. Repeat the previous step for the release config
1. Add the required scopes
1. Go to API permissions
1. Add a permission
1. Select Microsoft Graph > Delegated permissions
1. Tick the following scopes:
- Files.Read.All
- User.Read
1. Click Add permissions
@@ -43,6 +43,8 @@ Bright Sky is an API that converts data published by the Deutscher Wetterdienst
to work with JSON format. The API is free to use and requires no additional configuration, however
it only provides weather data for locations in Germany.
---
[^1]:
These weather providers do not provide any means of geocoding or location lookup. Instead, the
Android Geocoder API is used to lookup locations (in fixed location mode) and location names (in