Skip to content

Conversation

ayuspin
Copy link
Contributor

@ayuspin ayuspin commented Jan 16, 2025

This explicitly sets the current_version in conf.py.

The current_version is used in the Algolia search filter to search only within the displayed documentation version, rather than across all versions.

Here is the link to the specific line in the layout.html file of the sphinx_rtd_theme: repository: https://github.com/cilium/sphinx_rtd_theme/blob/cilium/rebase-2023-09/sphinx_rtd_theme/layout.html#L361

However, it seems that the readthedocs build no longer passes the current_version into the sphinx html_context. This is likely due to changes in the builder, as described here: https://github.com/readthedocs/sphinx-build-compatibility

As a result, the search functionality is currently broken.

Screenshot 2025-01-16 at 10 19 46

Signed-off-by: Andrii Iuspin <andrii.iuspin@isovalent.com>
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Jan 16, 2025
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Jan 16, 2025
@ayuspin ayuspin marked this pull request as ready for review January 16, 2025 09:55
@ayuspin ayuspin requested a review from a team as a code owner January 16, 2025 09:55
@ayuspin ayuspin requested a review from qmonnet January 16, 2025 09:55
@qmonnet qmonnet added area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. release-note/misc This PR makes changes that have no direct user impact. labels Jan 16, 2025
@maintainer-s-little-helper maintainer-s-little-helper bot removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jan 16, 2025
@qmonnet qmonnet added needs-backport/1.14 needs-backport/1.16 This PR / issue needs backporting to the v1.16 branch needs-backport/1.17 This PR / issue needs backporting to the v1.17 branch labels Jan 16, 2025
Copy link
Member

@qmonnet qmonnet left a comment

Choose a reason for hiding this comment

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

I'm not familiar with how the Algolia search works, but I trust you on that and the change looks OK. Thanks!

@qmonnet
Copy link
Member

qmonnet commented Jan 16, 2025

/test

@qmonnet qmonnet enabled auto-merge January 16, 2025 10:34
@qmonnet qmonnet added this pull request to the merge queue Jan 16, 2025
Merged via the queue into cilium:main with commit d51ab66 Jan 16, 2025
65 checks passed
@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Jan 16, 2025
@rastislavs rastislavs mentioned this pull request Jan 21, 2025
45 tasks
@rastislavs rastislavs added backport-pending/1.17 The backport for Cilium 1.17.x for this PR is in progress. and removed needs-backport/1.17 This PR / issue needs backporting to the v1.17 branch labels Jan 21, 2025
@github-actions github-actions bot added backport-done/1.17 The backport for Cilium 1.17.x for this PR is done. and removed backport-pending/1.17 The backport for Cilium 1.17.x for this PR is in progress. labels Jan 22, 2025
@rastislavs rastislavs mentioned this pull request Jan 22, 2025
19 tasks
@rastislavs rastislavs added backport-pending/1.16 The backport for Cilium 1.16.x for this PR is in progress. and removed needs-backport/1.16 This PR / issue needs backporting to the v1.16 branch labels Jan 22, 2025
@rastislavs rastislavs mentioned this pull request Jan 22, 2025
6 tasks
@rastislavs rastislavs added backport-pending/1.15 The backport for Cilium 1.15.x for this PR is in progress. and removed needs-backport/1.15 labels Jan 22, 2025
@rastislavs rastislavs mentioned this pull request Jan 22, 2025
4 tasks
@rastislavs rastislavs added backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. and removed needs-backport/1.14 labels Jan 22, 2025
@github-actions github-actions bot added backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. backport-done/1.15 The backport for Cilium 1.15.x for this PR is done. backport-done/1.16 The backport for Cilium 1.16.x for this PR is done. and removed backport-pending/1.14 The backport for Cilium 1.14.x for this PR is in progress. backport-pending/1.15 The backport for Cilium 1.15.x for this PR is in progress. backport-pending/1.16 The backport for Cilium 1.16.x for this PR is in progress. labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Impacts the documentation, including textual changes, sphinx, or other doc generation code. backport-done/1.14 The backport for Cilium 1.14.x for this PR is done. backport-done/1.15 The backport for Cilium 1.15.x for this PR is done. backport-done/1.16 The backport for Cilium 1.16.x for this PR is done. backport-done/1.17 The backport for Cilium 1.17.x for this PR is done. kind/community-contribution This was a contribution made by a community member. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants