Skip to content

Conversation

glemaitre
Copy link
Member

While working on #28478, it seems that Algolia find that the canonical link is http://scikit-learn.org that does not match the landing page.

So I corrected the canonical link in layout.html. In addition, I make the other links in the documentation to match https.

@@ -20,7 +20,7 @@
{% block htmltitle %}
<title>{{ title|striptags|e }}{{ titlesuffix }}</title>
{% endblock %}
<link rel="canonical" href="http://scikit-learn.org/stable/{{pagename}}.html" />
<link rel="canonical" href="https://scikit-learn.org/stable/{{pagename}}.html" />
Copy link
Member Author

Choose a reason for hiding this comment

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

This is actually what seems to bother the Algolia's crawler.

@glemaitre
Copy link
Member Author

ping @adrinjalali @ogrisel

Copy link

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: b629b78. Link to the linter CI: here

Copy link
Member

@ogrisel ogrisel left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@jeremiedbb jeremiedbb left a comment

Choose a reason for hiding this comment

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

LGTM

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