From b02937eebc2be379f739d4ac1179b57da2e21232 Mon Sep 17 00:00:00 2001 From: Kevin McKee Date: Mon, 7 Jul 2025 14:28:10 -0700 Subject: [PATCH] GrantType doc fixes and theme settings --- .../OAuthKit/OAuthKit.docc/Extensions/GrantType.md | 10 +++++----- Sources/OAuthKit/OAuthKit.docc/theme-settings.json | 12 ++++++++++++ 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 Sources/OAuthKit/OAuthKit.docc/theme-settings.json diff --git a/Sources/OAuthKit/OAuthKit.docc/Extensions/GrantType.md b/Sources/OAuthKit/OAuthKit.docc/Extensions/GrantType.md index e850044..14004e5 100644 --- a/Sources/OAuthKit/OAuthKit.docc/Extensions/GrantType.md +++ b/Sources/OAuthKit/OAuthKit.docc/Extensions/GrantType.md @@ -10,11 +10,11 @@ ## Overview A GrantType is used to define how an application obtains an access token from an OAuth 2.0 server. OAuthKit supports all major OAuth 2.0 grant types: -- [Authorization Code](``authorizationCode(_:)``) -- [Client Credentials](``clientCredentials``) -- [Device Code](``deviceCode``) -- [Proof Key for Code Exchange (PKCE)](``pkce(_:)``) -- [Refresh Token](``refreshToken``) +- [Authorization Code](authorizationCode(_:)) +- [Client Credentials](clientCredentials) +- [Device Code](deviceCode) +- [Proof Key for Code Exchange (PKCE)](pkce(_:)) +- [Refresh Token](refreshToken) > Important: For apps that don't have access to a web browser (like tvOS or watchOS), you'll need to start diff --git a/Sources/OAuthKit/OAuthKit.docc/theme-settings.json b/Sources/OAuthKit/OAuthKit.docc/theme-settings.json new file mode 100644 index 0000000..a8f7109 --- /dev/null +++ b/Sources/OAuthKit/OAuthKit.docc/theme-settings.json @@ -0,0 +1,12 @@ +{ + "theme": { + "aside": { + "border-radius": "8px", + "border-width": "3px" + }, + "color": { + "aside-tip-border": "rgb(106, 162, 148)", + "aside-important-border": "rgb(244, 184, 66)" + } + } +}