Browse Source

Lower docs search ranking for release notes (#12586)

Except for the 'upgrading' section, as it's still generally useful
Sage Abdullah 4 months ago
parent
commit
ae1dab03ab
3 changed files with 6 additions and 0 deletions
  1. 4 0
      .readthedocs.yml
  2. 1 0
      CHANGELOG.txt
  3. 1 0
      docs/releases/6.3.1.md

+ 4 - 0
.readthedocs.yml

@@ -12,3 +12,7 @@ python:
 formats: all
 sphinx:
   fail_on_warning: True
+search:
+  ranking:
+    releases/*: -1
+    releases/upgrading.html: 0

+ 1 - 0
CHANGELOG.txt

@@ -61,6 +61,7 @@ Changelog
  * Docs: Reword `BlogTagIndexPage` example for clarity (Clifford Gama)
  * Docs: Change title of blog index page in tutorial to avoid slug issues (Thibaud Colas)
  * Docs: Fix `wagtailcache` and `wagtailpagecache` examples to not use quotes for the `fragment_name` (Shiv)
+ * Docs: Lower search result ranking for release notes on readthedocs search (Sage Abdullah)
 
 
 6.3 LTS (01.11.2024)

+ 1 - 0
docs/releases/6.3.1.md

@@ -25,3 +25,4 @@ depth: 1
  * Reword `BlogTagIndexPage` example for clarity and several other tweaks (Clifford Gama)
  * Change title of blog index page in tutorial to avoid slug issues (Thibaud Colas)
  * Fix `wagtailcache` and `wagtailpagecache` examples to not use quotes for the `fragment_name` (Shiv)
+ * Lower search result ranking for release notes on readthedocs search (Sage Abdullah)