diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 00000000..f88a1d85
--- /dev/null
+++ b/.readthedocs.yaml
@@ -0,0 +1,18 @@
+# Read the Docs configuration for the documentation app (apps/documentation).
+# See https://docs.readthedocs.io/en/stable/config-file/v2.html
+#
+# Pull request previews and per-branch builds are project settings on Read
+# the Docs ("Build pull requests" and an "activate" automation rule for
+# branches), not part of this file.
+version: 2
+
+build:
+ os: ubuntu-24.04
+ tools:
+ # Same major version as the docs image (Dockerfile) once #466 is done
+ nodejs: "24"
+ commands:
+ - npm ci --no-audit --no-fund
+ - npx turbo run build --filter=ecc-docs...
+ - mkdir -p $READTHEDOCS_OUTPUT
+ - cp -r apps/documentation/out $READTHEDOCS_OUTPUT/html
diff --git a/apps/documentation/components/common/Footer.tsx b/apps/documentation/components/common/Footer.tsx
index bb6ba67e..14c57857 100644
--- a/apps/documentation/components/common/Footer.tsx
+++ b/apps/documentation/components/common/Footer.tsx
@@ -1,4 +1,5 @@
import Image from 'next/image';
+import { withBasePath } from '@/utils/basePath';
function Footer() {
return (
@@ -6,17 +7,17 @@ function Footer() {