From 34d19efb754d44bed86ff73398594acc3fefa70e Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Fri, 20 Jun 2025 06:27:23 -0400 Subject: [PATCH] Redirect user defined webpags --- docs/requirements.txt | 1 + docs/source/conf.py | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/docs/requirements.txt b/docs/requirements.txt index bd030fb67044..b1cb76a3cc7e 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -16,6 +16,7 @@ # under the License. sphinx +sphinx-reredirects pydata-sphinx-theme==0.8.0 myst-parser maturin diff --git a/docs/source/conf.py b/docs/source/conf.py index 00037867a092..9e24a0aeaeda 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -52,6 +52,7 @@ 'sphinx.ext.viewcode', 'sphinx.ext.napoleon', 'myst_parser', + 'sphinx_reredirects', ] source_suffix = { @@ -121,3 +122,7 @@ # issue for our documentation. So, suppress these warnings to keep our build # log cleaner. suppress_warnings = ['misc.highlighting_failure'] + +redirects = { + "library-user-guide/adding-udfs": "functions/index.html", +} \ No newline at end of file