diff --git a/.readthedocs.yaml b/.readthedocs.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..bdc414e710142576fe6c5c8c8dd713ddacee80b5
--- /dev/null
+++ b/.readthedocs.yaml
@@ -0,0 +1,17 @@
+# SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute <contact@idiap.ch>
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+version: 2
+
+build:
+  os: "ubuntu-22.04"
+  tools:
+    python: "3.11"
+
+python:
+  install:
+    - method: pip
+      path: .
+      extra_requirements:
+        - doc
diff --git a/README.md b/README.md
index 12c83b1393e9f9cebecf4cc80e2a0cd0b77a2993..31ec415437ab011ef6dd051f5b6a96ee23e7c248 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ SPDX-FileCopyrightText: Copyright © 2023 Idiap Research Institute <contact@idia
 SPDX-License-Identifier: GPL-3.0-or-later
 -->
 
-[![latest-docs](https://img.shields.io/badge/docs-latest-orange.svg)](https://www.idiap.ch/software/biosignal/docs/biosignal/software/mednet/main/sphinx/index.html)
+[![latest-docs](https://img.shields.io/badge/docs-latest-orange.svg)](https://mednet.readthedocs.io/en/latest/)
 [![build](https://gitlab.idiap.ch/biosignal/software/mednet/badges/main/pipeline.svg)](https://gitlab.idiap.ch/biosignal/software/mednet/commits/main)
 [![coverage](https://gitlab.idiap.ch/biosignal/software/mednet/badges/main/coverage.svg)](https://www.idiap.ch/software/biosignal/docs/biosignal/software/mednet/main/coverage/index.html)
 [![repository](https://img.shields.io/badge/gitlab-project-0000c0.svg)](https://gitlab.idiap.ch/biosignal/software/mednet)
diff --git a/pyproject.toml b/pyproject.toml
index 395e560ec5a7afb48d54ea9d6e625f2e25c0b276..e18ec7a86d540d686d7a1e98d54691660e16a6ac 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -52,7 +52,7 @@ dependencies = [
 ]
 
 [project.urls]
-documentation = "https://www.idiap.ch/software/biosignal/software/docs/biosignal/software/mednet/main/sphinx/"
+documentation = "https://mednet.readthedocs.io/en/latest/"
 homepage = "https://pypi.org/project/mednet"
 repository = "https://gitlab.idiap.ch/biosignal/software/mednet"
 changelog = "https://gitlab.idiap.ch/biosignal/software/mednet/-/releases"