Skip to content

Replace outdated daal4py docs with redirect to scikit-learn-intelex#10

Merged
napetrov merged 3 commits into
IntelPython:masterfrom
maria-Petrova:mariapet-daal4py-redirect
Jun 12, 2026
Merged

Replace outdated daal4py docs with redirect to scikit-learn-intelex#10
napetrov merged 3 commits into
IntelPython:masterfrom
maria-Petrova:mariapet-daal4py-redirect

Conversation

@maria-Petrova

@maria-Petrova maria-Petrova commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

daal4py is now part of the scikit-learn-intelex package and has been deprecated in favor of sklearnex. The documentation has moved to: https://uxlfoundation.github.io/scikit-learn-intelex/latest/about_daal4py.html

This change removes all outdated daal4py documentation and replaces it with a simple redirect page that automatically sends users to the new location in the scikit-learn-intelex documentation.

daal4py is now part of the scikit-learn-intelex package and has been
deprecated in favor of sklearnex. The documentation has moved to:
https://uxlfoundation.github.io/scikit-learn-intelex/2025.5/about_daal4py.html

This change removes all outdated daal4py documentation and replaces it
with a simple redirect page that automatically sends users to the new
location in the scikit-learn-intelex documentation.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Comment thread daal4py/index.html Outdated

<meta charset="utf-8">
<title>Redirecting to daal4py documentation</title>
<link rel="canonical" href="https://uxlfoundation.github.io/scikit-learn-intelex/2025.5/about_daal4py.html">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use 'latest' instead of a fixed version number.

@david-cortes-intel

Copy link
Copy Markdown

@maria-Petrova Can you try deploying this in a GH pages of your fork to see if it works as intended before merging?

@napetrov

Copy link
Copy Markdown
Contributor

My understanding is that each html should get redirect, not only main index.htm - example here - https://github.com/intel/intel.github.io/tree/main/scikit-learn-intelex

maria-Petrova and others added 2 commits June 12, 2026 13:36
Instead of removing all old pages and redirecting only the index,
this creates specific redirect pages for each major documentation
section, improving user experience and maintaining backward
compatibility:

- algorithms.html -> daal4py.html (API reference)
- sklearn.html -> patching.html (sklearnex integration)
- model-builders.html -> model_builders.html
- streaming.html -> about_daal4py.html#streaming-mode
- scaling.html -> distributed_daal4py.html
- data.html -> daal4py.html (API reference)
- examples.html -> about_daal4py.html#using-daal4py
- contents.html -> about_daal4py.html
- genindex.html -> daal4py.html (API reference)
- search.html -> about_daal4py.html

Benefits:
- Preserves bookmarks and external links
- Better SEO (search engines can update indexes properly)
- Users land on the most relevant content for their original intent
- Each redirect uses canonical links and meta refresh tags

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@david-cortes-intel

Copy link
Copy Markdown

I created a fork of this branch and deployed the docs here:
https://david-cortes-intel.github.io/intelpython.github.io

From what I can see, the redirections do not work from the main link, but work from this one:
https://david-cortes-intel.github.io/intelpython.github.io/daal4py/

Redirections from specific pages also work:
https://david-cortes-intel.github.io/intelpython.github.io/daal4py/model-builders.html

But I'm not sure if this means it will work in the current docs, since they are already under one redirection level - i.e.

https://intelpython.github.io/daal4py

not

https://intelpython.github.io/intelpython.github.io/daal4py

Guess we'll only find out after deploying.

@maria-Petrova

Copy link
Copy Markdown
Contributor Author

@napetrov, any objections to merge and try the deployments?

@napetrov napetrov merged commit bcfe3c5 into IntelPython:master Jun 12, 2026
@david-cortes-intel

Copy link
Copy Markdown

@maria-Petrova @napetrov It didn't work:
image

@maria-Petrova

Copy link
Copy Markdown
Contributor Author

There's never been any index.html file in the root of intelpython.github.io. So, I assume this is how the things have been working all the time.

@david-cortes-intel

Copy link
Copy Markdown

Ok, guess that should be enough. At least other sites like PyPI are pointing to that sublink:
https://pypi.org/project/daal4py/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants