From 73932ae84a81106a8116401763b627ee544396ed Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Sun, 29 Sep 2024 18:36:48 +0200 Subject: [PATCH] MAINT fix the redirection by removing the file suffix --- doc/conf.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index ea81e0772a2f2..65aaf867773e0 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -444,11 +444,11 @@ def add_js_css_files(app, pagename, templatename, context, doctree): "auto_examples/linear_model/plot_bayesian_ridge": ( "auto_examples/linear_model/plot_ard" ), - "auto_examples/model_selection/grid_search_text_feature_extraction.py": ( - "auto_examples/model_selection/plot_grid_search_text_feature_extraction.py" + "auto_examples/model_selection/grid_search_text_feature_extraction": ( + "auto_examples/model_selection/plot_grid_search_text_feature_extraction" ), - "auto_examples/datasets/plot_digits_last_image.py": ( - "auto_examples/exercises/plot_digits_classification_exercises.py" + "auto_examples/datasets/plot_digits_last_image": ( + "auto_examples/exercises/plot_digits_classification_exercises" ), "auto_examples/miscellaneous/plot_changed_only_pprint_parameter": ( "auto_examples/miscellaneous/plot_estimator_representation" @@ -463,14 +463,14 @@ def add_js_css_files(app, pagename, templatename, context, doctree): "auto_examples/decomposition/plot_pca_3d": ( "auto_examples/decomposition/plot_pca_iris" ), - "auto_examples/exercises/plot_cv_digits.py": ( - "auto_examples/model_selection/plot_nested_cross_validation_iris.py" + "auto_examples/exercises/plot_cv_digits": ( + "auto_examples/model_selection/plot_nested_cross_validation_iris" ), - "auto_examples/linear_model/plot_lasso_lars.py": ( - "auto_examples/linear_model/plot_lasso_lasso_lars_elasticnet_path.py" + "auto_examples/linear_model/plot_lasso_lars": ( + "auto_examples/linear_model/plot_lasso_lasso_lars_elasticnet_path" ), - "auto_examples/linear_model/plot_lasso_coordinate_descent_path.py": ( - "auto_examples/linear_model/plot_lasso_lasso_lars_elasticnet_path.py" + "auto_examples/linear_model/plot_lasso_coordinate_descent_path": ( + "auto_examples/linear_model/plot_lasso_lasso_lars_elasticnet_path" ), } html_context["redirects"] = redirects