Skip to content

Commit be5d7c7

Browse files
authored
Merge pull request #36208 from github/repo-sync
Repo sync
2 parents 308b928 + e582062 commit be5d7c7

File tree

48 files changed

+54
-107
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+54
-107
lines changed

content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/using-your-github-profile-to-enhance-your-resume.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,4 +109,4 @@ If you want to improve your profile even more, incorporate these practices into
109109

110110
## Further reading
111111

112-
* [AUTOTITLE](/copilot/copilot-chat-cookbook/refactoring-code/improving-code-readability-and-maintainability)
112+
* [AUTOTITLE](/copilot/example-prompts-for-github-copilot-chat/refactoring-code/improving-code-readability-and-maintainability)

content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-saml-single-sign-on-for-enterprise-managed-users.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ To configure SAML SSO for your {% data variables.enterprise.prodname_emu_enterpr
9696

9797
After you configure SAML SSO for {% data variables.product.prodname_emus %} on your IdP, you can configure your enterprise on {% data variables.product.github %}.
9898

99-
After the initial configuration of SAML SSO, the only setting you can update on {% data variables.product.github %} for your existing SAML configuration is the SAML certificate. If you need to update the sign-on URL or issuer URL, you must first disable SAML SSO, then reconfigure SAML SSO with the new settings. For more information, see [AUTOTITLE](/admin/identity-and-access-management/configuring-authentication-for-enterprise-managed-users/disabling-authentication-for-enterprise-managed-users).
99+
After the initial configuration of SAML SSO, the only setting you can update on {% data variables.product.github %} for your existing SAML configuration is the SAML certificate, which can be done by any member with the enterprise owner role. If you need to update the sign-on URL or issuer URL, you must first disable SAML SSO, then reconfigure SAML SSO with the new settings. For more information, see [AUTOTITLE](/admin/identity-and-access-management/configuring-authentication-for-enterprise-managed-users/disabling-authentication-for-enterprise-managed-users).
100100

101101
{% data reusables.emus.sign-in-as-setup-user %}
102102

content/copilot/copilot-chat-cookbook/debugging-errors/debugging-invalid-json.md content/copilot/example-prompts-for-github-copilot-chat/debugging-errors/debugging-invalid-json.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Debugging invalid JSON
33
shortTitle: Debug invalid JSON
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can identify and resolve syntax errors or structural issues in JSON data.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/debugging-errors/debugging-invalid-json
75
versions:
86
feature: copilot
97
category:
@@ -54,7 +52,7 @@ Below is the JSON data that caused the error:
5452

5553
{% data reusables.copilot.example-prompts.response-is-an-example %}
5654

57-
{% data variables.product.prodname_copilot_short %} might suggest that your JSON is invalid because it is missing a closing quote for the `conditions` value. Here is the corrected JSON:
55+
{% data variables.product.prodname_copilot_short %} might suggest that your JSON is invalid because it's missing a closing quote for the `conditions` value. Here is the corrected JSON:
5856

5957
```json
6058
{

content/copilot/copilot-chat-cookbook/debugging-errors/handling-api-rate-limits.md content/copilot/example-prompts-for-github-copilot-chat/debugging-errors/handling-api-rate-limits.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Handling API rate limits
33
shortTitle: Handle API rate limits
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help handle API rate limits by suggesting code that detects implements retry logic.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/debugging-errors/handling-api-rate-limits
75
versions:
86
feature: copilot
97
category:
@@ -34,7 +32,7 @@ def get_weather():
3432
city = request.args.get('city')
3533
# Simulate an API request to the external weather service
3634
response = requests.get(WEATHER_API_URL, params={"city": city})
37-
weather_data = response.json()
35+
weather_data = response.json()
3836

3937
return weather_data
4038
```

content/copilot/copilot-chat-cookbook/debugging-errors/index.md content/copilot/example-prompts-for-github-copilot-chat/debugging-errors/index.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Debugging errors
33
intro: 'Discover ways that you can use {% data variables.product.prodname_copilot %} to debug errors during development.'
4-
redirect_from:
5-
- /copilot/example-prompts-for-github-copilot-chat/debugging-errors
64
versions:
75
feature: copilot
86
topics:

content/copilot/copilot-chat-cookbook/documenting-code/documenting-legacy-code.md content/copilot/example-prompts-for-github-copilot-chat/documenting-code/documenting-legacy-code.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Documenting legacy code'
33
shortTitle: Document legacy code
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help with documenting legacy code.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/documenting-code/documenting-legacy-code
75
versions:
86
feature: copilot
97
category:
@@ -61,8 +59,8 @@ INSERT-AND-VALIDATE.
6159
ELSE
6260
EXEC SQL ROLLBACK END-EXEC
6361
SET FAILED TO TRUE
64-
STRING "DB Error: " SQLCODE
65-
DELIMITED BY SIZE
62+
STRING "DB Error: " SQLCODE
63+
DELIMITED BY SIZE
6664
INTO WS-ERROR-MSG
6765
DISPLAY WS-ERROR-MSG
6866
END-IF
@@ -136,8 +134,8 @@ For example:
136134
ELSE
137135
EXEC SQL ROLLBACK END-EXEC *> Rollback if failed
138136
SET FAILED TO TRUE
139-
STRING "DB Error: " SQLCODE
140-
DELIMITED BY SIZE
137+
STRING "DB Error: " SQLCODE
138+
DELIMITED BY SIZE
141139
INTO WS-ERROR-MSG
142140
DISPLAY WS-ERROR-MSG
143141
END-IF

content/copilot/copilot-chat-cookbook/documenting-code/explaining-complex-algorithms-or-logic.md content/copilot/example-prompts-for-github-copilot-chat/documenting-code/explaining-complex-algorithms-or-logic.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Explaining complex algorithms or logic'
33
shortTitle: Explain complex logic
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help add clear and concise documentation on complex algorithms or logic.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/documenting-code/explaining-complex-algorithms-or-logic
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/documenting-code/explaining-legacy-code.md content/copilot/example-prompts-for-github-copilot-chat/documenting-code/explaining-legacy-code.md

+2-4
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Explaining legacy code'
33
shortTitle: Explain legacy code
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help with explaining unfamiliar code.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/documenting-code/explaining-legacy-code
75
versions:
86
feature: copilot
97
category:
@@ -62,8 +60,8 @@ INSERT-AND-VALIDATE.
6260
ELSE
6361
EXEC SQL ROLLBACK END-EXEC
6462
SET FAILED TO TRUE
65-
STRING "DB Error: " SQLCODE
66-
DELIMITED BY SIZE
63+
STRING "DB Error: " SQLCODE
64+
DELIMITED BY SIZE
6765
INTO WS-ERROR-MSG
6866
DISPLAY WS-ERROR-MSG
6967
END-IF

content/copilot/copilot-chat-cookbook/documenting-code/index.md content/copilot/example-prompts-for-github-copilot-chat/documenting-code/index.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Documenting code
33
intro: 'Discover ways that you can use {% data variables.product.prodname_copilot_chat %} to document your code.'
4-
redirect_from:
5-
- /copilot/example-prompts-for-github-copilot-chat/documenting-code
64
versions:
75
feature: copilot
86
topics:

content/copilot/copilot-chat-cookbook/documenting-code/syncing-documentation-with-code-changes.md content/copilot/example-prompts-for-github-copilot-chat/documenting-code/syncing-documentation-with-code-changes.md

+6-8
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Syncing documentation with code changes'
33
shortTitle: Sync documentation
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help with keeping code documentation up-to-date.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/documenting-code/syncing-documentation-with-code-changes
75
versions:
86
feature: copilot
97
category:
@@ -24,14 +22,14 @@ It can be difficult to keep documentation up to date with changes to code. Howev
2422
```typescript
2523
/**
2624
* Retrieves all products belonging to a specific category.
27-
*
25+
*
2826
* @param categoryId - The unique identifier of the product category
2927
* @returns Promise that resolves to an array of Product objects
30-
*
28+
*
3129
* @example
3230
* const products = await getByCategoryName(5);
3331
* // Returns: [{id: 1, name: "Product 1", categoryId: 5}, ...]
34-
*
32+
*
3533
* @throws {PrismaClientKnownRequestError} If database query fails
3634
* @see {@link https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#findmany}
3735
*/
@@ -67,16 +65,16 @@ For example:
6765
```typescript
6866
/**
6967
* Retrieves all products belonging to a specific category with pagination and recent reviews.
70-
*
68+
*
7169
* @param categoryId - The unique identifier of the product category
7270
* @param page - The page number for pagination (default: 1)
7371
* @param pageSize - Number of products per page (default: 10)
7472
* @returns Promise that resolves to an array of Product objects with their 5 most recent reviews
75-
*
73+
*
7674
* @example
7775
* const products = await getByCategoryName(5, 2, 20);
7876
* // Returns: [{id: 1, name: "Product 1", categoryId: 5, reviews: [...5 recent reviews]}, ...]
79-
*
77+
*
8078
* @throws {PrismaClientKnownRequestError} If database query fails
8179
* @see {@link https://www.prisma.io/docs/reference/api-reference/prisma-client-reference#findmany}
8280
*/

content/copilot/copilot-chat-cookbook/functionality-analysis-and-feature-suggestions/analyzing-and-incorporating-user-feedback.md content/copilot/example-prompts-for-github-copilot-chat/functionality-analysis-and-feature-suggestions/analyzing-and-incorporating-user-feedback.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Analyzing and incorporating user feedback'
33
shortTitle: Incorporate feedback
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can enhance the process of incorporating user feedback into your project.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/functionality-analysis-and-feature-suggestions/analyzing-and-incorporating-user-feedback
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/functionality-analysis-and-feature-suggestions/exploring-potential-feature-implementations.md content/copilot/example-prompts-for-github-copilot-chat/functionality-analysis-and-feature-suggestions/exploring-potential-feature-implementations.md

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ shortTitle: Explore feature implementations
44
intro: >-
55
{% data variables.product.prodname_copilot_chat_short %} can help explore
66
different approaches for implementing a single feature.
7-
redirect_from:
8-
- /copilot/example-prompts-for-github-copilot-chat/functionality-analysis-and-feature-suggestions/exploring-potential-feature-implementations
97
versions:
108
feature: copilot
119
category:
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
---
22
title: Functionality analysis and feature suggestions
33
intro: 'Discover ways that you can use {% data variables.product.prodname_copilot %} to improve the functionality of your project.'
4-
redirect_from:
5-
- /copilot/example-prompts-for-github-copilot-chat/functionality-analysis-and-feature-suggestions
64
versions:
75
feature: copilot
86
topics:
97
- Copilot
108
children:
119
- /exploring-potential-feature-implementations
1210
- /analyzing-and-incorporating-user-feedback
13-
---
11+
---

content/copilot/copilot-chat-cookbook/index.md content/copilot/example-prompts-for-github-copilot-chat/index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
---
22
title: Copilot Chat Cookbook
3+
shortTitle: Example prompts
34
intro: 'Find examples of prompts to use with {% data variables.product.prodname_copilot_chat %}.'
45
allowTitleToDifferFromFilename: true
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat
76
versions:
87
feature: copilot
98
topics:

content/copilot/copilot-chat-cookbook/refactoring-code/decoupling-business-logic-from-ui-components.md content/copilot/example-prompts-for-github-copilot-chat/refactoring-code/decoupling-business-logic-from-ui-components.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Decoupling business logic from UI components
33
shortTitle: Decoupling business logic
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help you separate your business logic from your user interface code, making it easier to maintain and scale your application.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/refactoring-code/decoupling-business-logic-from-ui-components
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/refactoring-code/fixing-database-deadlocks-or-data-integrity-issues.md content/copilot/example-prompts-for-github-copilot-chat/refactoring-code/fixing-database-deadlocks-or-data-integrity-issues.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Fixing database deadlocks or data integrity issues'
33
shortTitle: Fixing database deadlocks
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help you avoid code that causes slow or blocked database operations, or tables with missing or incorrect data.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/refactoring-code/fixing-database-deadlocks-or-data-integrity-issues
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/refactoring-code/fixing-lint-errors.md content/copilot/example-prompts-for-github-copilot-chat/refactoring-code/fixing-lint-errors.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Fixing lint errors
33
shortTitle: Lint errors
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can suggest ways to fix issues identified by a code linter.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/refactoring-code/fixing-lint-errors
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/refactoring-code/handling-cross-cutting-concerns.md content/copilot/example-prompts-for-github-copilot-chat/refactoring-code/handling-cross-cutting-concerns.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Handling cross-cutting concerns
33
shortTitle: Cross-cutting concerns
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help you avoid code that relates to a concern other than the core concern of the method or function in which the code is located.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/refactoring-code/handling-cross-cutting-concerns
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/refactoring-code/improving-code-readability-and-maintainability.md content/copilot/example-prompts-for-github-copilot-chat/refactoring-code/improving-code-readability-and-maintainability.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Improving code readability and maintainability'
33
shortTitle: Improve code readability
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can suggest ways to make your code easier to understand and maintain.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/refactoring-code/improving-code-readability-and-maintainability
75
versions:
86
feature: copilot
97
category:
@@ -21,7 +19,7 @@ Code with poor readability is difficult for other developers to maintain and ext
2119
* [Reducing nested logic](#reducing-nested-logic)
2220
* [Splitting large methods into smaller, more readable ones](#splitting-up-large-methods)
2321

24-
Documenting your code is another way to improve the maintainability of your code. For information about using {% data variables.product.prodname_copilot_chat_short %} to help you add useful comments to your code, see the example prompts in [Documenting code](/copilot/copilot-chat-cookbook/documenting-code).
22+
Documenting your code is another way to improve the maintainability of your code. For information about using {% data variables.product.prodname_copilot_chat_short %} to help you add useful comments to your code, see the example prompts in [Documenting code](/copilot/example-prompts-for-github-copilot-chat/documenting-code).
2523

2624
> [!NOTE] The responses shown in this article are examples. {% data variables.product.prodname_copilot_chat_short %} responses are non-deterministic, so you may get different responses from the ones shown here.
2725

content/copilot/copilot-chat-cookbook/refactoring-code/index.md content/copilot/example-prompts-for-github-copilot-chat/refactoring-code/index.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Refactoring code
33
intro: 'Discover ways that you can use {% data variables.product.prodname_copilot %} to refactor your code.'
4-
redirect_from:
5-
- /copilot/example-prompts-for-github-copilot-chat/refactoring-code
64
versions:
75
feature: copilot
86
topics:

content/copilot/copilot-chat-cookbook/refactoring-code/refactoring-data-access-layers.md content/copilot/example-prompts-for-github-copilot-chat/refactoring-code/refactoring-data-access-layers.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Refactoring data access layers
33
shortTitle: Data access layers
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can suggest ways to decouple your data access code from your business logic, making an application easier to maintain and scale.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/refactoring-code/refactoring-data-access-layers
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/refactoring-code/refactoring-for-performance-optimization.md content/copilot/example-prompts-for-github-copilot-chat/refactoring-code/refactoring-for-performance-optimization.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Refactoring for performance optimization
33
shortTitle: Performance optimization
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can suggest ways to speed up slow-running code.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/refactoring-code/refactoring-for-performance-optimization
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/refactoring-code/refactoring-to-implement-a-design-pattern.md content/copilot/example-prompts-for-github-copilot-chat/refactoring-code/refactoring-to-implement-a-design-pattern.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Refactoring to implement a design pattern
33
shortTitle: Design patterns
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can suggest design patterns that you can use to improve your code.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/refactoring-code/refactoring-to-implement-a-design-pattern
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/refactoring-code/simplifying-complex-inheritance-hierarchies.md content/copilot/example-prompts-for-github-copilot-chat/refactoring-code/simplifying-complex-inheritance-hierarchies.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: Simplifying complex inheritance hierarchies
33
shortTitle: Simplify inheritance hierarchies
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help you to refactor code to avoid classes with multiple layers of inheritance.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/refactoring-code/simplifying-complex-inheritance-hierarchies
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/security-analysis/finding-existing-vulnerabilities-in-code.md content/copilot/example-prompts-for-github-copilot-chat/security-analysis/finding-existing-vulnerabilities-in-code.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Finding existing vulnerabilities in code'
33
shortTitle: Finding vulnerabilities
44
intro: 'Copilot Chat can help find common vulnerabilities in your code and suggest fixes.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/security-analysis/finding-existing-vulnerabilities-in-code
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/security-analysis/index.md content/copilot/example-prompts-for-github-copilot-chat/security-analysis/index.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Security analysis
33
intro: 'Discover ways that you can use {% data variables.product.prodname_copilot %} to improve code security.'
4-
redirect_from:
5-
- /copilot/example-prompts-for-github-copilot-chat/security-analysis
64
versions:
75
feature: copilot
86
topics:

content/copilot/copilot-chat-cookbook/testing-code/create-end-to-end-tests-for-a-webpage.md content/copilot/example-prompts-for-github-copilot-chat/testing-code/create-end-to-end-tests-for-a-webpage.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Create end-to-end tests for a webpage'
33
shortTitle: Create end-to-end tests
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help with generating end-to-end tests.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/testing-code/create-end-to-end-tests-for-a-webpage
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/testing-code/create-mock-objects-to-abstract-layers.md content/copilot/example-prompts-for-github-copilot-chat/testing-code/create-mock-objects-to-abstract-layers.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Create mock objects to abstract layers'
33
shortTitle: Create mock objects
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help with creating mock objects that you can use for unit tests.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/testing-code/create-mock-objects-to-abstract-layers
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/testing-code/generate-unit-tests.md content/copilot/example-prompts-for-github-copilot-chat/testing-code/generate-unit-tests.md

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
title: 'Generate unit tests'
33
shortTitle: Generate unit tests
44
intro: '{% data variables.product.prodname_copilot_chat_short %} can help with generating unit tests for a function.'
5-
redirect_from:
6-
- /copilot/example-prompts-for-github-copilot-chat/testing-code/generate-unit-tests
75
versions:
86
feature: copilot
97
category:

content/copilot/copilot-chat-cookbook/testing-code/index.md content/copilot/example-prompts-for-github-copilot-chat/testing-code/index.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Testing code
33
intro: 'Discover ways that you can use {% data variables.product.prodname_copilot %} to test your code.'
4-
redirect_from:
5-
- /copilot/example-prompts-for-github-copilot-chat/testing-code
64
versions:
75
feature: copilot
86
topics:

content/copilot/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ featuredLinks:
1616
popular:
1717
- /copilot/using-github-copilot/best-practices-for-using-github-copilot
1818
- /copilot/using-github-copilot/prompt-engineering-for-github-copilot
19-
- /copilot/copilot-chat-cookbook
19+
- /copilot/example-prompts-for-github-copilot-chat
2020
- /copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot
2121
- /copilot/using-github-copilot/asking-github-copilot-questions-in-your-ide
2222
- /copilot/using-github-copilot/using-github-copilot-in-the-command-line
@@ -28,7 +28,7 @@ children:
2828
- /about-github-copilot
2929
- /setting-up-github-copilot
3030
- /using-github-copilot
31-
- /copilot-chat-cookbook
31+
- /example-prompts-for-github-copilot-chat
3232
- /managing-copilot
3333
- /rolling-out-github-copilot-at-scale
3434
- /customizing-copilot

0 commit comments

Comments
 (0)