From 2b17faf90e3861ceed1d0a7f18ac9be259a4bcd7 Mon Sep 17 00:00:00 2001 From: Chi-Sheng Liu Date: Wed, 28 Feb 2024 00:21:50 +0800 Subject: [PATCH] docs: Open external links in new tab Resolves: flyteorg/flyte#4909 Signed-off-by: Chi-Sheng Liu --- docs/conf.py | 1 + monodocs-environment.lock.yaml | 22 ++++++++++++++++++++++ monodocs-environment.yaml | 1 + 3 files changed, 24 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 00c82afd2a9..688286c2601 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -75,6 +75,7 @@ # custom extensions "auto_examples", "import_projects", + "sphinx_new_tab_link" ] source_suffix = { diff --git a/monodocs-environment.lock.yaml b/monodocs-environment.lock.yaml index 9348bb40f66..fbee6827dd3 100644 --- a/monodocs-environment.lock.yaml +++ b/monodocs-environment.lock.yaml @@ -17391,6 +17391,28 @@ package: sha256: 2bd0c30779653e4dd120300cbd9ca412c480738cc2241f6dea477a883f299e04 category: main optional: false +- name: sphinx-new-tab-link + version: 0.2.3 + manager: pip + platform: linux-64 + dependencies: + sphinx: '*' + url: https://files.pythonhosted.org/packages/23/b4/8269282568ac9e26dbefdbdb642e89b8f2b211ef9f5f00f50a466c05f0b6/sphinx_new_tab_link-0.2.3-py3-none-any.whl + hash: + sha256: 2321b633170d8e33acae8afb96b3d7d9a8b3f081271987ae12a53151e2a0ab56 + category: main + optional: false +- name: sphinx-new-tab-link + version: 0.2.3 + manager: pip + platform: osx-arm64 + dependencies: + sphinx: '*' + url: https://files.pythonhosted.org/packages/23/b4/8269282568ac9e26dbefdbdb642e89b8f2b211ef9f5f00f50a466c05f0b6/sphinx_new_tab_link-0.2.3-py3-none-any.whl + hash: + sha256: 2321b633170d8e33acae8afb96b3d7d9a8b3f081271987ae12a53151e2a0ab56 + category: main + optional: false - name: sphinxcontrib-video version: 0.2.0 manager: pip diff --git a/monodocs-environment.yaml b/monodocs-environment.yaml index 140552aa2d6..4e627ec2ac7 100644 --- a/monodocs-environment.yaml +++ b/monodocs-environment.yaml @@ -74,6 +74,7 @@ dependencies: - whylabs-client # whylogs - ray==2.6.3 - duckdb + - sphinx-new-tab-link platforms: - linux-64