Skip to content

Commit 41408ad

Browse files
authored
Merge pull request #28873 from github/repo-sync
Repo sync
2 parents 851db04 + f1f93a8 commit 41408ad

File tree

5 files changed

+23
-4
lines changed

5 files changed

+23
-4
lines changed

content/get-started/using-github/github-mobile.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,14 @@ With {% data variables.product.prodname_mobile %} you can:
2626
- Edit files in pull requests
2727
- Search for, browse, and interact with users, repositories, and organizations
2828
- Receive a push notification when someone mentions your username
29+
{% ifversion mobile-code-search %}- Search through code in a specific repository{% endif %}
2930
{% ifversion fpt or ghec %}- Secure your GitHub.com account with two-factor authentication
3031
- Verify your sign in attempts on unrecognized devices{% endif %}
3132

32-
For more information about notifications for {% data variables.product.prodname_mobile %}, see "[AUTOTITLE](/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#enabling-push-notifications-with-github-mobile)."
33+
The following documentation contains more information about using {% data variables.product.company_short %} features on {% data variables.product.prodname_mobile %}.
3334

35+
- For more information about notifications for {% data variables.product.prodname_mobile %}, see "[AUTOTITLE](/account-and-profile/managing-subscriptions-and-notifications-on-github/setting-up-notifications/configuring-notifications#enabling-push-notifications-with-github-mobile)."
36+
{% ifversion mobile-code-search %}- For more information about using {% data variables.product.prodname_dotcom %} code search on {% data variables.product.prodname_mobile %}, see "[AUTOTITLE](/search-github/github-code-search/using-github-code-search#using-github-code-search-on-github-mobile)."{% endif %}
3437
{% ifversion fpt or ghec %}- For more information on two-factor authentication using {% data variables.product.prodname_mobile %}, see "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-github-mobile) and [Authenticating using {% data variables.product.prodname_mobile %}](/authentication/securing-your-account-with-two-factor-authentication-2fa/accessing-github-using-two-factor-authentication#verifying-with-github-mobile)." {% endif %}
3538

3639
## Installing {% data variables.product.prodname_mobile %}

content/search-github/github-code-search/about-github-code-search.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ topics:
1010

1111
## About {% data variables.product.prodname_dotcom %} code search
1212

13-
{% data variables.product.prodname_dotcom %} code search lets you rapidly search, navigate and understand your code, your team's code, and the code of the open source community, all from {% data variables.product.prodname_dotcom_the_website %}. This search engine is designed to be scalable, code-aware, and support searching code across {% data variables.product.prodname_dotcom %} using regular expressions, boolean operations, specialized qualifiers, and symbol search. For more information on the syntax of code search, see "[AUTOTITLE](/search-github/github-code-search/understanding-github-code-search-syntax)."
13+
{% data variables.product.prodname_dotcom %} code search lets you rapidly search, navigate and understand your code, your team's code, and the code of the open source community. This search engine is designed to be scalable, code-aware, and support searching code across {% data variables.product.prodname_dotcom %} using regular expressions, boolean operations, specialized qualifiers, and symbol search. For more information on the syntax of code search, see "[AUTOTITLE](/search-github/github-code-search/understanding-github-code-search-syntax)."
1414

15-
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)."
15+
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. On {% data variables.product.prodname_mobile %}, you can use the same methods to search through code in a specific repository. For more information, see "[AUTOTITLE](/search-github/github-code-search/using-github-code-search)."
1616

1717
{% data reusables.search.code-search-login-requirement %}
1818

@@ -38,6 +38,8 @@ If you use the `path:` qualifier for a file that's in multiple repositories with
3838

3939
Code search supports searching for symbol definitions in code, such as function or class definitions, using the `symbol:` qualifier. However, note that the `symbol:` qualifier only searches for definitions and not references, and not all symbol types or languages are fully supported yet. For a list of what languages are supported, see "[AUTOTITLE](/search-github/github-code-search/understanding-github-code-search-syntax#symbol-qualifier)."
4040

41+
{% ifversion mobile-code-search %}On {% data variables.product.prodname_mobile %}, you can only search the code in one repository at a time. For more information, see "[AUTOTITLE](/search-github/github-code-search/using-github-code-search#using-github-code-search-on-github-mobile)."{% endif %}
42+
4143
## Feedback and support
4244

4345
You can view and share feedback about code search in our [discussion forum](https://github.com/orgs/community/discussions/categories/code-search-and-navigation).

content/search-github/github-code-search/using-github-code-search.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ For more information about the search syntax of code search, see "[AUTOTITLE](/s
3131

3232
If you click on any of the specific suggestions, you will be taken directly to the page for that suggestion (for example, the repository or project page). If you click on a recent or saved search, depending on the type of search, the search query will appear in the search bar or you will be taken to the search results page for the search term.
3333

34-
1. Once you start typing a search query, you will see a list of completions and suggestions that match your query. You can click on a suggestion to jump to a specific location. As you type more qualifiers, you will see more specific suggestions, such as code files you can jump to directly.
34+
{% data reusables.search.type-code-search-query-step %}
3535

3636
![Screenshot of a search for "repo:octocat/spoon-knife". The code results are outlined in dark orange.](/assets/images/help/search/code-search-beta-search-bar-code-suggestions.png)
3737

@@ -53,3 +53,11 @@ For more information about the search syntax of code search, see "[AUTOTITLE](/s
5353
To construct a search query, as well as view and filter results, using a visual interface, you can use the {% data variables.search.search_page_url %} or {% data variables.search.advanced_url %}. If you press Enter after typing a search query in the search bar, you will also be taken to the search results view.
5454

5555
On the search results view, you can navigate between different types of search results, including code, issues, pull request, repositories, and more. You can also view and use filters.
56+
57+
## Using {% data variables.product.prodname_dotcom%} code search on {% data variables.product.prodname_mobile %}
58+
59+
On {% data variables.product.prodname_mobile %}, you can navigate to a repository and use code search on the code in that repository. Code search on {% data variables.product.prodname_mobile %} uses the same syntax as code search on {% data variables.product.prodname_dotcom_the_website %}. For more information, see "[AUTOTITLE](/search-github/github-code-search/about-github-code-search#limitations)."
60+
61+
1. On {% data variables.product.prodname_mobile %}, navigate to the main page of a repository.
62+
1. Tap {% octicon "file-code" aria-hidden="true" %} **Code**, then tap the search bar.
63+
{% data reusables.search.type-code-search-query-step %}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Reference: #12074
2+
# Documentation for GitHub Code Search on GitHub Mobile GA
3+
versions:
4+
fpt: '*'
5+
ghec: '*'
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1. Once you start typing a search query, you will see a list of completions and suggestions that match your query. You can click on a suggestion to jump to a specific location. As you type more qualifiers, you will see more specific suggestions, such as code files you can jump to directly.

0 commit comments

Comments
 (0)