From f1b5e69e043732c2d3b15b874597d9ed07f89fda Mon Sep 17 00:00:00 2001
From: aeneasr <3372410+aeneasr@users.noreply.github.com>
Date: Tue, 18 Mar 2025 12:41:40 +0100
Subject: [PATCH 1/2] fix: hydra quickstart
---
docs/hydra/self-hosted/quickstart.mdx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/docs/hydra/self-hosted/quickstart.mdx b/docs/hydra/self-hosted/quickstart.mdx
index a6b8715c6..8cddfd900 100644
--- a/docs/hydra/self-hosted/quickstart.mdx
+++ b/docs/hydra/self-hosted/quickstart.mdx
@@ -13,6 +13,7 @@ You do not want to self-host? Try
```mdx-code-block
import CodeFromRemote from "@theme/CodeFromRemote"
+import { useLatestRelease } from '@site/src/hooks'
```

@@ -25,9 +26,11 @@ import CodeFromRemote from "@theme/CodeFromRemote"
To get started, clone the Ory Hydra locally:
-```
+```mdx-code-block
+{`
git clone https://github.com/ory/hydra.git
cd hydra
+git checkout ${useLatestRelease('hydra')}`}
```
Run the following command(s) to start the OAuth2 server:
From 0d8b0ada4b345e25b930c054421e887d35b773d7 Mon Sep 17 00:00:00 2001
From: vinckr
Date: Wed, 9 Apr 2025 09:33:15 -0300
Subject: [PATCH 2/2] fix: missing import
---
docs/hydra/self-hosted/quickstart.mdx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/docs/hydra/self-hosted/quickstart.mdx b/docs/hydra/self-hosted/quickstart.mdx
index 8cddfd900..24c9dc113 100644
--- a/docs/hydra/self-hosted/quickstart.mdx
+++ b/docs/hydra/self-hosted/quickstart.mdx
@@ -27,10 +27,13 @@ import { useLatestRelease } from '@site/src/hooks'
To get started, clone the Ory Hydra locally:
```mdx-code-block
+import CodeBlock from '@theme/CodeBlock'
+
{`
git clone https://github.com/ory/hydra.git
cd hydra
-git checkout ${useLatestRelease('hydra')}`}
+git checkout ${useLatestRelease('hydra')}`}
+
```
Run the following command(s) to start the OAuth2 server: