Skip to content

Commit 098d12e

Browse files
committed
fix merge conflicts
2 parents 0521603 + 181c280 commit 098d12e

File tree

120 files changed

+14834
-9789
lines changed

Some content is hidden

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

120 files changed

+14834
-9789
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Sourcegraph Docs
22

3-
<!-- Working branch for FEB 2025 Release -->
3+
<!-- Working branch for SG 6.3 Release -->
44

55
Welcome to the Sourcegraph documentation! We're excited to have you contribute to our docs. We've recently rearchitectured our docs tech stack — powered by Next.js, TailwindCSS and deployed on Vercel. This guide will walk you through the process of contributing to our documentation using the new tech stack.
66

@@ -18,7 +18,7 @@ Navigate to the project directory by typing the following command in your termin
1818
cd sourcegraph-docs
1919
```
2020

21-
Before the dependencies are install make sure your local machine has the following versions of `node` and `pnpm`:
21+
Before the dependencies are install make sure your local machine has the following versions of `node` and `pnpm` installed:
2222

2323
* node: `v20.8.1`
2424
* pnpm: `8.13.1`
@@ -148,11 +148,10 @@ As you make changes to the documentation, the development server will automatica
148148

149149
### Previewing Vercel Deployments
150150

151-
When you open a PR Vercel deploys and provides you with a preview deployment link. To view your deployment, click the "Visit Preview" and then append `/docs` at the end of the URL. The original link gives you a `404`.
151+
When you open a PR Vercel deploys and provides you with a preview deployment link. To view your deployment, click the **Visit Preview** link from Vercel's deployment panel in your PRs and you get a preview of your docs
152152

153153
![CleanShot 2024-11-05 at 10 11 29@2x](https://github.com/user-attachments/assets/b0911e2e-95a7-4f56-b2ff-b659d13077d8)
154154

155-
156155
## Submitting your Contribution
157156

158157
Once you're satisfied with your changes, follow these steps:

baseai/memory/docs/index.ts renamed to baseai/memory/memory-sg-docs-live/index.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { MemoryI } from '@baseai/core';
22

33
const memoryDocs = (): MemoryI => ({
4-
name: 'docs',
5-
description: 'Docs folder of sourcegraph docs repository as an auto-synced memory',
4+
name: 'memory-sg-docs-live',
5+
description: 'An AI memory storing all Sourcegraph docs.',
66
git: {
77
enabled: true,
88
include: ['**/*.mdx'],
99
gitignore: true,
10-
deployedAt: '5f3fec8530280d01a783aadcdeb0ccc3f9cd8b70',
11-
embeddedAt: ''
10+
embeddedAt: '',
11+
deployedAt: '1b67d5c14520a898e2b9933ab3d2a9fe28515e31'
1212
},
1313
documents: {
1414
meta: doc => {
@@ -22,3 +22,6 @@ const memoryDocs = (): MemoryI => ({
2222
});
2323

2424
export default memoryDocs;
25+
26+
// Old
27+
// deployedAt: '5f3fec8530280d01a783aadcdeb0ccc3f9cd8b70',

docs.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const config = {
2-
DOCS_LATEST_VERSION: '6.1'
2+
DOCS_LATEST_VERSION: '6.3'
33
};
44

55
module.exports = config;

docs/admin/architecture.mdx

Lines changed: 209 additions & 0 deletions
Large diffs are not rendered by default.

docs/admin/auth/index.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ order:
5656
use the [OpenID Connect provider](#openid-connect).
5757
- If you wish to use LDAP and cannot use the GitHub/GitLab OAuth provider as described above, or if
5858
you wish to use another authentication mechanism that is not yet supported, please [contact
59-
us](https://github.com/sourcegraph/sourcegraph/issues/new?template=feature_request) (we respond
60-
promptly).
59+
us](https://sourcegraph.com/contact)
6160

6261
Most users will use only one auth provider, but you can use multiple auth providers if desired to
6362
enable sign-in via multiple services. Identities from different providers will be mapped to a

docs/admin/auth/saml/azure_ad.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# Configuring SAML with Microsoft Entra ID
1+
# Configuring SAML with Microsoft Entra ID
2+
<Callout type="note">Formerly known as Azure Active Directory, or Azure AD.</Callout>
23

34
## 1. Add an unlisted (non-gallery) application to your Microsoft Entra ID organization
45

@@ -33,4 +34,4 @@
3334
}
3435
```
3536

36-
<Callout type="note">Recommended: [add automatic provisioning of users with SCIM](/admin/scim).</Callout>
37+
<Callout type="note">Recommended: [add automatic provisioning of users with SCIM](/admin/scim).</Callout>

docs/admin/auth/saml/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Error prefetching SAML service provider metadata
8181

8282
> NOTE: Email or NameID changes in the identity provider are not automatically reflected in Sourcegraph. Admins may manually update a users email via the admin interface at `https://example-sourcegraph.com/users/<user>/settings/emails`, or remove the user and recreate a new account.
8383
>
84-
> Work is planned to support SCIM on SAML auth providers, which should automate this process. ([tracking issue](https://github.com/sourcegraph/sourcegraph/issues/22732))
84+
> Work is planned to support SCIM on SAML auth providers, which should automate this process.
8585
8686
### How to control user sign-up and sign-in
8787

docs/admin/beta_and_experimental_features.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Sourcegraph often beta tests major features before we make them generally availa
44

55
Exposing beta and experimental features gives you an opportunity to try our newest features sooner.
66

7-
In return, your feedback helps us make sure that our new features are reliable and useful, and we appreciate any and all feedback you want to provide. You can [file an issue](https://github.com/sourcegraph/sourcegraph/issues/new/choose), email it directly to [[email protected]](mailto:[email protected]), or use the in-app feedback modal.
7+
In return, your feedback helps us make sure that our new features are reliable and useful, and we appreciate any and all feedback you want to provide. You can email us directly to [[email protected]](mailto:[email protected]).
88

99
## Both beta and experimental features
1010

docs/admin/code_hosts/github.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ There are four fields for configuring which repositories are mirrored/synchroniz
241241

242242
- [`repos`](/admin/code_hosts/github#repos)A list of repositories in `owner/name` format. The order determines the order in which we sync repository metadata and is safe to change.
243243
- [`orgs`](/admin/code_hosts/github#orgs)A list of organizations (every repository belonging to the organization will be cloned).
244-
- [`repositoryQuery`](/admin/code_hosts/github#repositoryQuery)A list of strings with three pre-defined options (`public`, `affiliated`, `none`, none of which are subject to result limitations), and/or a [GitHub advanced search query](https://github.com/search/advanced). Note: There is an existing limitation that requires the latter, GitHub advanced search queries, to return [less than 1000 results](#repositoryquery-returns-first-1000-results-only). See [this issue](https://github.com/sourcegraph/sourcegraph/issues/2562) for ongoing work to address this limitation.
244+
- [`repositoryQuery`](/admin/code_hosts/github#repositoryQuery)A list of strings with three pre-defined options (`public`, `affiliated`, `none`, none of which are subject to result limitations), and/or a [GitHub advanced search query](https://github.com/search/advanced). Note: There is an existing limitation that requires the latter, GitHub advanced search queries, to return [less than 1000 results](#repositoryquery-returns-first-1000-results-only).
245245
- [`exclude`](/admin/code_hosts/github#exclude)A list of repositories to exclude which takes precedence over the `repos`, `orgs`, and `repositoryQuery` fields.
246246

247247
## Rate limits

docs/admin/code_hosts/index.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,6 @@ We recognize there are other code hosts including CVS, SVN, and many more. Today
5858
- [Non-Git code hosts](/admin/code_hosts/non-git)
5959
- [Perforce](/admin/repo/perforce)
6060
- [Plastic SCM](/admin/repo/plasticscm)
61-
- [Package repository hosts](/admin/code_hosts/package-repos)
62-
- [JVM dependencies](/admin/code_hosts/jvm)
63-
- [Go dependencies](/admin/code_hosts/go)
64-
- [npm dependencies](/admin/code_hosts/npm)
65-
- [Python dependencies](/admin/code_hosts/python)
66-
- [Ruby dependencies](/admin/code_hosts/ruby)
67-
- [Rust dependencies](/admin/code_hosts/rust)
6861

6962
## Rate limits
7063

0 commit comments

Comments
 (0)