git: 400d5aab58 - main - Documentation portal: Fix search scope

Sergio Carlavilla Delgado <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=400d5aab58f99f9239a1761e9d121ac1bfcf5747

commit 400d5aab58f99f9239a1761e9d121ac1bfcf5747
Author:     Minsoo Choo <[email protected]>
AuthorDate: 2023-07-22 07:37:35 +0000
Commit:     Sergio Carlavilla Delgado <[email protected]>
CommitDate: 2023-07-22 07:37:35 +0000

    Documentation portal: Fix search scope
    
    PR:                     268894
    Submitted by:           grahamperrin@
    Differential Revision:  https://reviews.freebsd.org/D41094
---
 documentation/themes/beastie/layouts/partials/global-search.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/documentation/themes/beastie/layouts/partials/global-search.html b/documentation/themes/beastie/layouts/partials/global-search.html
index c15844fd1a..414de88b13 100644
--- a/documentation/themes/beastie/layouts/partials/global-search.html
+++ b/documentation/themes/beastie/layouts/partials/global-search.html
@@ -6,7 +6,7 @@
     </a>
   </div>
   <p>{{ i18n "freebsd-documentation-main-desc" }}</p>
-  <form class="search" method="get" id="search-form" action="https://duckduckgo.com/" onsubmit="document.getElementById('global-search-input').value+=' site:FreeBSD.org'" name="search-form">
+  <form class="search" method="get" id="search-form" action="https://duckduckgo.com/" onsubmit="document.getElementById('global-search-input').value+=' site:docs.FreeBSD.org OR site:man.FreeBSD.org OR site:wiki.FreeBSD.org'" name="search-form">
     <input type="hidden" name="ka" value="v">
     <input type="hidden" name="kt" value="v">
     <input type="hidden" name="kh" value="1">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.