docs: Improve README for local development and standardize tab usage (#11865)

## Problem statement

- `<Tabs>` were not rendered in docs
- Missing steps in README for local dev

## How it was solved

- Enhance the README to better describe local development setup and
clean up formatting.
- Standardize the use of tabs across various components for consistency.

## Additional info

To not cause merge conflicts with
https://github.com/zitadel/zitadel/pull/11729 changes in
`/self-hosting/manage/configure/configure.mdx` were skipped
This commit is contained in:
Silvan
2026-03-23 14:39:07 +00:00
committed by GitHub
parent 70adaff793
commit 4bc899d052
9 changed files with 110 additions and 111 deletions
@@ -10,20 +10,16 @@ export default function AuthMethods(props) {
<div>
<Tabs
groupId="auth-type"
default="pkce"
values={[
{ label: "PKCE", value: "pkce" },
{ label: "Basic Auth", value: "basic" },
{ label: "JWT with Private Key", value: "jwtpk" },
]}
defaultIndex={0}
items={["PKCE","Basic Auth","JWT with Private Key"]}
>
<Tab value="pkce">
<Tab value="PKCE">
<PKCE components={props.components} />
</Tab>
<Tab value="basic">
<Tab value="Basic Auth">
<Basic components={props.components} />
</Tab>
<Tab value="jwtpk">
<Tab value="JWT with Private Key">
<JWTPrivateKey components={props.components} />
</Tab>
</Tabs>
@@ -31,26 +27,23 @@ export default function AuthMethods(props) {
) : props.selected == "native" ? (
<Tabs
groupId="auth-type"
default="pkce"
values={[{ label: "PKCE", value: "pkce" }]}
defaultIndex={0}
items={["PKCE"]}
>
<Tab value="pkce">
<Tab value="PKCE">
<PKCE components={props.components} Native />
</Tab>
</Tabs>
) : props.selected == "spa" ? (
<Tabs
groupId="auth-type"
default="pkce"
values={[
{ label: "PKCE", value: "pkce" },
{ label: "Implicit", value: "implicit" },
]}
defaultIndex={0}
items={["PKCE","Implicit"]}
>
<Tab value="pkce">
<Tab value="PKCE">
<PKCE components={props.components} />
</Tab>
<Tab value="implicit">
<Tab value="Implicit">
<Implicit components={props.components} />
</Tab>
</Tabs>
@@ -53,14 +53,10 @@ This will start a wizard asking you for an application name and a type.
<Tabs
groupId="app-type"
default="web"
values={[
{'label': 'Web Application', 'value': 'web'},
{'label': 'Native Application', 'value': 'native'},
{'label': 'Single Page Application', 'value': 'spa'},
]}
defaultIndex={0}
items={['Web Application','Native Application','Single Page Application']}
>
<Tab value="web">
<Tab value="Web Application">
#### Authentication method
@@ -73,7 +69,7 @@ Please change the authentication method here as well, if you did so in the wizar
<AuthMethods components={props.components} selected="web" />
</Tab>
<Tab value="native">
<Tab value="Native Application">
#### Authentication method
@@ -82,7 +78,7 @@ When selecting Native the authentication method always needs to be PKCE.
<AuthMethods components={props.components} selected="native" />
</Tab>
<Tab value="spa">
<Tab value="Single Page Application">
#### Authentication method