mirror of
https://gitea.com/gitea/docs.git
synced 2026-11-04 09:15:33 +00:00
43d288b4ab099e003daf0857e8b7e3f6901c0604
Follow #21962 After I eat my own dogfood, I would say that ONLY_SHOW_RELEVANT_REPOS=false is necessary for many private/enterprise instances, because many private repositories do not have "description/topic", users just want to search by their names. This PR also adds `PageIsExploreRepositories` check, to make code more strict, because the `search` template is shared for different purpose. And during the test, I found a bug that the "Search" button didn't respect the "relevant" parameter, so this PR fixes the bug by the way together. I think this PR needs to be backported.
Languages
TypeScript
42%
MDX
31.2%
Astro
7.9%
JavaScript
6.4%
Shell
6.3%
Other
6.2%