From a171c701c4ce6415e74142794e61e84b0a38d42c 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 eca3047f25..171ee13e6d 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 d6e0f711de..09dfed5fc3 100644 --- a/monodocs-environment.lock.yaml +++ b/monodocs-environment.lock.yaml @@ -18088,6 +18088,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 82ce9868f1..988086cd0f 100644 --- a/monodocs-environment.yaml +++ b/monodocs-environment.yaml @@ -76,6 +76,7 @@ dependencies: - ray==2.6.3 - duckdb - aioboto3>=12.3.0 # aws sagemaker inference + - sphinx-new-tab-link platforms: - linux-64