Skip to content

Commit cac523d

Browse files
authored
## Issue - `:doc:` references for intersphinx (disabled by default in Sphinx 5.0+) ## Changes - Fix sphinx interlinking for external projects to allow `:doc:` ## Testing - Check that links to doc work in the following demo in [PR preview](https://qml-build-previews.pennylane.ai/pull_request_build_preview/1426/qml/demos/tutorial_qubit_rotation#optimization) which is broken in [production](https://pennylane.ai/qml/demos/tutorial_qubit_rotation) ## Snaps ### PR preview ![Screenshot 2025-07-07 at 1 43 24 PM](https://github.com/user-attachments/assets/cbc43942-b3a9-476c-bbd0-cf2868f11e72) ### Live ![Screenshot 2025-07-07 at 1 43 39 PM](https://github.com/user-attachments/assets/e97680f6-3067-42db-aaad-ba40e8489e62)
1 parent b9f7e0c commit cac523d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,6 @@
213213
"pennylane": ("https://docs.pennylane.ai/en/stable/", None),
214214
"catalyst": ("https://docs.pennylane.ai/projects/catalyst/en/stable", None)
215215
}
216+
217+
# Enable :doc: references for intersphinx (disabled by default in Sphinx 5.0+)
218+
intersphinx_disabled_reftypes = []

0 commit comments

Comments
 (0)