Skip to content

Commit 6d40351

Browse files
authored
Merge pull request #44497 from github/repo-sync
Repo sync
2 parents b11d9bf + 97a3c78 commit 6d40351

3 files changed

Lines changed: 14 additions & 0 deletions

File tree

content/copilot/concepts/context/repository-indexing.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,15 @@ Once an index has been created for a repository, it can be used by:
4747

4848
> [!TIP] There is no limit to how many repositories you can index.
4949
50+
## Semantic indexing for non-GitHub repositories
51+
52+
{% data variables.product.prodname_copilot_short %} in {% data variables.product.prodname_vscode %} can use semantic indexing for workspace files from repositories hosted outside {% data variables.product.github %}, such as GitLab, Azure DevOps, and local repositories.
53+
54+
This feature is controlled by policy and is disabled by default. For organizations and enterprises with {% data variables.copilot.copilot_business_short %} or {% data variables.copilot.copilot_enterprise_short %}, an enterprise owner or organization owner must explicitly set this policy to **Enabled** before members can use it. If the policy remains **Unconfigured**, the feature stays unavailable. See:
55+
56+
* [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-enterprise/manage-enterprise-policies)
57+
* [AUTOTITLE](/copilot/how-tos/administer-copilot/manage-for-organization/manage-policies)
58+
5059
## Excluding content from {% data variables.copilot.copilot_chat_short %} answers
5160

5261
Enterprise or organization owners with a {% data variables.copilot.copilot_enterprise_short %} or {% data variables.copilot.copilot_business_short %} plan can define content exclusions to control the behavior of {% data variables.product.prodname_copilot %} for the {% data variables.product.prodname_copilot_short %} seats they manage. For more information, see [AUTOTITLE](/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/excluding-content-from-github-copilot).

content/copilot/reference/policy-conflicts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Feature, model, and privacy settings for users are set according to the **least
3535
| Policy | Availability matches | More information |
3636
| :---- | :---- | :---- |
3737
| {% data variables.product.prodname_copilot_short %} Metrics API | Most restrictive organization | {% ifversion ghec %}[AUTOTITLE](/rest/copilot/copilot-usage-metrics){% else %}Not applicable{% endif %} |
38+
| Semantic indexing for non-GitHub repositories | Most restrictive organization (only available when all organizations explicitly set **Enabled**; **Unconfigured** behaves as disabled) | [AUTOTITLE](/copilot/concepts/context/repository-indexing) |
3839
| Suggestions matching public code (privacy policy) | Most restrictive organization | [AUTOTITLE](/copilot/concepts/completions/code-suggestions) |
3940
| Allow members without a {% data variables.product.prodname_copilot_short %} license to use {% data variables.copilot.copilot_code-review_short %} in {% data variables.product.prodname_dotcom_the_website %} | Most restrictive organization | [AUTOTITLE](/copilot/responsible-use/code-review) |
4041
| {% data variables.product.prodname_copilot_short %} can search the web | Least restrictive organization | [AUTOTITLE](/copilot/responsible-use/chat-in-github#leveraging-a-web-search-to-answer-a-question) |

src/article-api/middleware/article-body.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { ExtendedRequestWithPageInfo } from '@/article-api/types'
55
import contextualize from '@/frame/middleware/context/context'
66
import features from '@/versions/middleware/features'
77
import glossaries from '@/frame/middleware/context/glossaries'
8+
import dataTables from '@/data-directory/middleware/data-tables'
89
import { transformerRegistry } from '@/article-api/transformers'
910
import { allVersions } from '@/versions/lib/all-versions'
1011
import type { Page } from '@/types'
@@ -36,6 +37,9 @@ async function createContextualizedRenderingRequest(pathname: string, page: Page
3637
// Run page-specific contextualizers (e.g., glossaries middleware)
3738
await glossaries(renderingReq as ExtendedRequestWithPageInfo, {} as Response, () => {})
3839

40+
// Load data-driven table content (needed for {% for entry in tables.* %} Liquid loops)
41+
await dataTables(renderingReq as ExtendedRequestWithPageInfo, {} as Response, () => {})
42+
3943
return renderingReq
4044
}
4145

0 commit comments

Comments
 (0)