diff --git a/content/search-github/github-code-search/about-github-code-search.md b/content/search-github/github-code-search/about-github-code-search.md index aa4acc65e4..07695a8bf4 100644 --- a/content/search-github/github-code-search/about-github-code-search.md +++ b/content/search-github/github-code-search/about-github-code-search.md @@ -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 diff --git a/content/search-github/github-code-search/index.md b/content/search-github/github-code-search/index.md index d8277fb418..4afb41d3fb 100644 --- a/content/search-github/github-code-search/index.md +++ b/content/search-github/github-code-search/index.md @@ -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 diff --git a/content/search-github/github-code-search/using-github-code-search.md b/content/search-github/github-code-search/using-github-code-search.md index 419a5439ee..aeb0ab03f9 100644 --- a/content/search-github/github-code-search/using-github-code-search.md +++ b/content/search-github/github-code-search/using-github-code-search.md @@ -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. diff --git a/data/reusables/search/code-search-login-requirement.md b/data/reusables/search/code-search-login-requirement.md new file mode 100644 index 0000000000..06e8c629bb --- /dev/null +++ b/data/reusables/search/code-search-login-requirement.md @@ -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. \ No newline at end of file