Skip to content

Commit 2a98277

Browse files
authored
Merge pull request #893 from supertokens/fix/spacing
Fix spacing inside the doc layout
2 parents 722ee9e + f9b5e4c commit 2a98277

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed

v3/docs/authentication/unified-login/use-cases/reuse-website-login.mdx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ We recommend using a generic **OICD** or **OAuth** library in order to do this.
133133

134134
<MobileFrameworksCard>
135135

136-
<MobileFrameworksCard.Content value="react-native">
136+
<MobileFrameworksCard.Content value="reactnative">
137+
138+
<MobileFrameworksCard.Section>
137139

138140
You can use the [react-native-app-auth](https://commerce.nearform.com/open-source/react-native-app-auth/) library.
139141
Just follow [the instructions](https://commerce.nearform.com/open-source/react-native-app-auth/docs/usage/config) to setup your application.
@@ -149,10 +151,14 @@ You will also need to set the `additionalParameters` property with the following
149151
- `max_age: 0` This will force a new authentication flow once the user ends up on the **Authorization Service** frontend.
150152
- `tenant_id: <TENANT_ID>` Optional, in case you are using a multi tenant setup. Set this to the actual tenant ID.
151153

154+
</MobileFrameworksCard.Section>
155+
152156
</MobileFrameworksCard.Content>
153157

154158
<MobileFrameworksCard.Content value="android">
155159

160+
<MobileFrameworksCard.Section>
161+
156162
You can use the [AppAuth-Android](https://github.com/openid/AppAuth-Android) library.
157163
Just follow [the instructions](https://github.com/openid/AppAuth-Android?tab=readme-ov-file#authorization-service-configuration) to setup your application.
158164

@@ -165,10 +171,14 @@ You will need to set additional query parameters by calling the `setAdditionalPa
165171
- `max_age: 0` This will force a new authentication flow once the user ends up on the **Authorization Service** frontend.
166172
- `tenant_id: <TENANT_ID>` Optional, in case you are using a multi tenant setup. Set this to the actual tenant ID.
167173

174+
</MobileFrameworksCard.Section>
175+
168176
</MobileFrameworksCard.Content>
169177

170178
<MobileFrameworksCard.Content value="ios">
171179

180+
<MobileFrameworksCard.Section>
181+
172182
You can use the [AppAuth-iOS](https://github.com/openid/AppAuth-Android) library.
173183
Just follow [the instructions](https://github.com/openid/AppAuth-iOS?tab=readme-ov-file#auth-flow) to setup your application.
174184

@@ -184,10 +194,14 @@ You will also need to set extra query parameters, when instantiating the `OIDAut
184194
- `max_age: 0` This will force a new authentication flow once the user ends up on the **Authorization Service** frontend.
185195
- `tenant_id: <TENANT_ID>` Optional, in case you are using a multi tenant setup. Set this to the actual tenant ID.
186196

197+
</MobileFrameworksCard.Section>
198+
187199
</MobileFrameworksCard.Content>
188200

189201
<MobileFrameworksCard.Content value="flutter">
190202

203+
<MobileFrameworksCard.Section>
204+
191205
You can use the [AppAuth](https://github.com/MaikuB/flutter_appauth) library.
192206
Just follow [the instructions](https://github.com/MaikuB/flutter_appauth/tree/master/flutter_appauth) to setup your application.
193207

@@ -202,6 +216,8 @@ You will also need to set the `additionalParameters` property with the following
202216
- `max_age: 0` This will force a new authentication flow once the user ends up on the **Authorization Service** frontend.
203217
- `tenant_id: <TENANT_ID>` Optional, in case you are using a multi tenant setup. Set this to the actual tenant ID.
204218

219+
</MobileFrameworksCard.Section>
220+
205221
</MobileFrameworksCard.Content>
206222

207223
</MobileFrameworksCard>

v3/docusaurus.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@ const config: Config = {
3838
sidebarPath: "./sidebars.ts",
3939
exclude: ["**/_*", "**/_*/**"],
4040
breadcrumbs: false,
41-
// Please change this to your repo.
42-
// Remove this to remove the "edit this page" links.
43-
editUrl:
44-
"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/",
41+
editUrl: "https://github.com/supertokens/docs/tree/master/v3/",
4542
beforeDefaultRemarkPlugins: [
4643
remarkDocItemContextValues,
4744
remarkRemoveCodeTypeCheckingCommentsAndRows,

v3/src/css/custom.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@
3333
--ifm-toc-border-color: #ffffff1a;
3434
--ifm-navbar-height: 100px;
3535

36+
// Spacing
37+
--ifm-container-width-xl: 1200px;
38+
--ifm-container-max-width: 1000px;
39+
3640
// Navbar customization
3741
--ifm-navbar-background-color: #191a1c;
3842
--ifm-navbar-height: 110px;

0 commit comments

Comments
 (0)