Clarify in the docs that you need to be logged in to use code search (#37454)

Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
This commit is contained in:
Sarita Iyer 2023-06-07 09:38:56 -04:00 коммит произвёл GitHub
Родитель 4708c5b122
Коммит a89d5478ef
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
4 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -14,6 +14,8 @@ topics:
Code search is integrated with features in the search interface on {% data variables.product.prodname_dotcom_the_website %}, such as suggestions, completions, and the ability to save your searches. For more information, see "[AUTOTITLE](/search-github/github-code-search/using-github-code-search)."
{% data reusables.search.code-search-login-requirement %}
{% data reusables.search.non-code-search-explanation %}
## Limitations

Просмотреть файл

@ -1,6 +1,6 @@
---
title: GitHub Code Search
intro: 'You can use a wide range of syntax to search {% data variables.product.product_name %}. You can adjust the scope of your search, build and troubleshoot queries, and narrow down search results with qualifiers.'
intro: 'Learn how to use code search to find, navigate, and understand code across {% data variables.product.prodname_dotcom %}.'
allowTitleToDifferFromFilename: true
versions:
feature: code-search-code-view

Просмотреть файл

@ -14,6 +14,8 @@ topics:
Not all code is indexed, and you can currently only search the default branches of repositories. For more information on known limitations, see "[AUTOTITLE](/search-github/github-code-search/about-github-code-search#limitations)."
{% data reusables.search.code-search-login-requirement %}
## Using the search bar
You can search using the search interface on {% data variables.product.prodname_dotcom_the_website %}. Using suggestions, completions, and saved searches, you can quickly find what you are looking for, often without having to fully type a query or view the search results page.

Просмотреть файл

@ -0,0 +1 @@
You must be logged in to a {% data variables.product.prodname_dotcom %} account to use code search, including for searching code in public repositories.