Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
688 commits
Select commit Hold shift + click to select a range
4b6ddeb
docs: external denylist configuration (#854)
evict Dec 13, 2024
5575ed3
updated overview section (#858)
loujar Dec 17, 2024
4eb6505
fix(docs): Update broken links for kustomize deployment (#860)
jdpleiness Dec 17, 2024
eca7a30
Cleaning up docs for HTTP traces (#859)
marcleblanc2 Dec 17, 2024
aef4046
Cleanup tracing docs (#861)
marcleblanc2 Dec 18, 2024
894245e
security: add allowlist documentation (#862)
evict Dec 18, 2024
df78be9
Adding Grafana authentication information (#863)
marcleblanc2 Dec 19, 2024
71f128e
Updating Grafana security details (#864)
marcleblanc2 Dec 19, 2024
9e3b49c
Clarifying Grafana reinitialization process with customized dashboard…
marcleblanc2 Dec 19, 2024
ff33f77
Changelog for v5.10.3940 (#866)
Chickensoupwithrice Dec 19, 2024
b80d1e4
Docs working branch for Sourcegraph Dec release (#851)
MaedahBatool Dec 19, 2024
0ab923f
Changelog for v5.11.0 (#868)
Chickensoupwithrice Dec 19, 2024
f5cf41b
fix(docs): fix terminal output that ended up in changelog (#869)
jdpleiness Dec 19, 2024
94e73e5
Update batch spec search result looping example (#870)
gabtorre Dec 20, 2024
aaa1d78
Update 'loop over paths in file' example (#872)
gabtorre Dec 20, 2024
b8b9f5c
Adding emphasis to steps (#873)
airamare01 Dec 23, 2024
a41c937
Remove sourcegraph.com links to notebooks (#875)
jdorfman Dec 26, 2024
0cf0b63
Update models example json (#876)
jdorfman Dec 26, 2024
d3af603
feat(docs): add additional configuration options (#877)
PriNova Dec 26, 2024
4804478
Added Chatbot (#857)
zahidalidev Dec 30, 2024
d496197
Update syncing.mdx (#878)
mibali Dec 30, 2024
35b7f12
Clarify stream API format qualifying note (#874)
noah-berman Jan 2, 2025
8328884
Fix: Version numbering automatically updates again (#884)
Chickensoupwithrice Jan 3, 2025
791753a
Fix grammatical error in index.mdx (#881)
derek-feriancek-sg Jan 3, 2025
76ffc1d
Changelog for v5.11.2732 (#885)
jdpleiness Jan 3, 2025
6e0763f
Update syncing.mdx (#882)
mibali Jan 6, 2025
bfdd3c7
fixed broken link (#886)
loujar Jan 6, 2025
749a9f2
Update site_config.mdx (#879)
mibali Jan 7, 2025
2930568
Update troubleshooting.mdx (#888)
morgangauth Jan 7, 2025
9a2ba91
search jobs: mention download button (#887)
stefanhengl Jan 8, 2025
f698a39
Changelog for v5.11.3601 (#889)
sourcegraph-bot-devx Jan 8, 2025
185b4a9
Changelog for v5.11.4013 (#891)
sourcegraph-bot-devx Jan 11, 2025
b23e590
Update update-a-batch-change.mdx (#894)
morgangauth Jan 14, 2025
f8de6b7
docs: add missing word to rectify sentence fragment (#883)
codytubbs Jan 14, 2025
b1a8831
Add a warning that auto-migrate to pg16 is not supported. (#871)
Chickensoupwithrice Jan 14, 2025
6f0a789
Remove mentions of slack account management now that no customer is o…
enriquegh Jan 14, 2025
61dae59
Removes link to public notebooks of sourcegraph.com (#838)
danielmarquespt Jan 14, 2025
339a40a
Add feedback link to forum on install-eclipse.mdx (#836)
jdorfman Jan 14, 2025
9889202
Update workers.mdx (#792)
morgangauth Jan 14, 2025
aaedf5f
Remove space in markdown link on cody concepts page (#816)
alexromano Jan 14, 2025
b2f2f2e
feat(docs): add troubleshooting guide for OpenAI o1 issues (#797)
jdorfman Jan 14, 2025
23229a0
search-jobs: update defaults (#895)
stefanhengl Jan 15, 2025
dd51647
Update and rename adding_lsif_to_workflows.mdx to adding_scip_to_work…
mibali Jan 15, 2025
5503733
fix: mention pgsslmode in the docs for external db (#900)
Chickensoupwithrice Jan 17, 2025
0d8e4b7
Changelog for v5.11.5234 (#902)
sourcegraph-bot-devx Jan 18, 2025
4076bea
Add troubleshooting steps for executors job failure due to the emptyD…
rakeshjosh2003 Jan 20, 2025
578a3ae
Added redirects middleware (#880)
zahidalidev Jan 20, 2025
b3890e9
feat: documentation for upgrading the single server container image t…
Chickensoupwithrice Jan 20, 2025
2f7476f
cloud: clean up audit logs docs (#906)
michaellzc Jan 21, 2025
933183f
chore: Remove 'Indexers' entry from side menu (#907)
varungandhi-src Jan 22, 2025
7f28a51
chore: Delete old docs for package hosts (#908)
varungandhi-src Jan 22, 2025
c21af21
Add troubleshooting steps for Kaspersky Antivirus sign-in issue (#908…
jdorfman Jan 22, 2025
9b5cd44
Changelog for v5.11.6271 (#912)
sourcegraph-bot-devx Jan 23, 2025
37a106d
chore(docs): add callout for database upgrades in TC (#914)
jdpleiness Jan 24, 2025
563c20a
chore(docs): update dead link in Postgres docs (#915)
jdpleiness Jan 24, 2025
a95d95b
chore(docs): remove incorrect customer redirect in aws docker (#916)
jdpleiness Jan 24, 2025
772d609
chore(docs): remove incorrect customer redirect in azure docker (#917)
jdpleiness Jan 25, 2025
17e523d
chore(docs): remove another warning for docker (#922)
jdpleiness Jan 25, 2025
8c53068
chore(docs): remove ref to single image (#921)
jdpleiness Jan 25, 2025
b8773eb
chore(docs): add better description for machine image use case (#920)
jdpleiness Jan 25, 2025
69dcc22
Fix redirects issue (#924)
MaedahBatool Jan 25, 2025
5132ec9
Remove section about modal feature flag that is no longer relevant (#…
pjlast Jan 27, 2025
8f045ad
Remove border from the Tabs component (#926)
MaedahBatool Jan 27, 2025
f2a8164
chore(docs): Add AWS account IDs for AMI publishing (#927)
jdpleiness Jan 27, 2025
7c63506
chore(docs): Note dynamic AWS sizing (#928)
jdpleiness Jan 27, 2025
b0ba550
Correcting webhook logging example (#929)
marcleblanc2 Jan 28, 2025
978ca63
consolidated instructions for configuring external object storage (#932)
loujar Jan 29, 2025
176e806
Changelog for v6.0.0 (#934)
sourcegraph-bot-devx Jan 29, 2025
bae5020
sourcegraph 6 aware upgrade docs (#933)
DaedalusG Jan 29, 2025
1e755c3
Docs working branch for the v6.0 release (#893)
MaedahBatool Jan 29, 2025
1082cb9
Update OG image for docs with new brand guidelines (#936)
MaedahBatool Jan 29, 2025
e4c5bd9
chore: fixup Enterprise Starter links (#935)
unknwon Jan 29, 2025
38ef9e5
feat(docs): update auto-edit availability details (#938)
jdorfman Jan 29, 2025
e3ab7dc
Fix broken link in Stream API docs (#940)
MaedahBatool Jan 30, 2025
b4cf2e4
fix web browser bolding (#941)
AJKemps Jan 30, 2025
59d8263
chore(docs): fix broken link to PG EOL (#942)
jdpleiness Jan 30, 2025
8b4c74e
Update sample repos (#943)
morgangauth Jan 31, 2025
515e3b1
SG enterprise docs resources (#947)
MaedahBatool Feb 3, 2025
de693b0
Add Enterprise Starter SLA (#948)
enriquegh Feb 3, 2025
d59bbdd
Update support type for Enterprise starter in the Free vs ES matrix (…
mmanela Feb 3, 2025
66f6b7c
Clarify accepted values for projectQuery (#950)
camdencheek Feb 4, 2025
63790c5
6.0.0 MVU upgrade docs update (#946)
DaedalusG Feb 4, 2025
fa5b201
Label perforce as beta not experimental (#953)
mmanela Feb 4, 2025
7846272
chore(changelog): remove leftover OPTIONAL; placeholders from changel…
burmudar Feb 4, 2025
f074883
Add documentation for verifying container signatures (#931)
willdollman Feb 5, 2025
e01a792
Add guidelines on how to use external monitoring (#955)
airamare01 Feb 5, 2025
7d47926
Fixed issues with the search UI (#956)
zahidalidev Feb 5, 2025
6c7f996
Add callouts to codehost connections docs (#959)
MaedahBatool Feb 5, 2025
250ad2a
Update Gerrit docs to remove admin requirement and SSH limitation (#961)
pjlast Feb 6, 2025
5ba089b
Add a beta mark for Perforce permissions feature (#962)
mmanela Feb 7, 2025
01f4552
remove-omnibox-term (#964)
amenne Feb 9, 2025
725a5fe
Add chat configs for AI chatbot in docs (#965)
MaedahBatool Feb 9, 2025
39f2778
🐛 FIX: memory config (#966)
MaedahBatool Feb 9, 2025
a48ba2c
📦 NEW: memory deployed and llms.txt generator (#967)
MaedahBatool Feb 10, 2025
08348b8
Clarify-agentic-chat-requirements (#963)
amenne Feb 10, 2025
767592d
Update github-vs-sourcegraph.mdx (#937)
LeweyM Feb 10, 2025
993943f
Update postgres_12_to_16_drift.mdx (#958)
morgangauth Feb 10, 2025
2e123a8
Fix typo (#939)
jdorfman Feb 10, 2025
3133a53
docs: improve private network configuration guide tone and readabilit…
trly Feb 10, 2025
8c15d9c
Update naming structure for Batch Changes (#970)
MaedahBatool Feb 11, 2025
77f9373
Upgrade to latest Next.js version (#968)
zahidalidev Feb 11, 2025
74724cd
Fixed link cody-gateway.mdx (#972)
Steaphan-Sadler Feb 11, 2025
8a228ef
Update alerts docs (#974)
MaedahBatool Feb 12, 2025
a0ffd88
Create guidance on contextFilters error (#973)
airamare01 Feb 12, 2025
f6e687b
Update instructions on enabling auto-edit (#976)
MaedahBatool Feb 12, 2025
6050338
Add clarification around deepseek model (#979)
willdollman Feb 13, 2025
77f4545
fix(release): changelog for 5 9 Patch 4 (#978)
DaedalusG Feb 13, 2025
bb3633c
Revert "Upgrade to latest Next.js version" (#980)
MaedahBatool Feb 13, 2025
b3578f4
Changelog for v6.0.2687 (#977)
Chickensoupwithrice Feb 13, 2025
8658ac9
Changelog for v6.1.0 (#986)
jdpleiness Feb 17, 2025
fb691b0
Docs working branch for the Sourcegraph v6.1 release (#971)
MaedahBatool Feb 18, 2025
97b5c8a
Add callout for instances where NO_PROXY requires an asterisk (#987)
airamare01 Feb 18, 2025
fb70e21
billing: clarify refund and consolidate sections for Enterprise Start…
unknwon Feb 18, 2025
8599fe2
Changelog for v6.1.376 (#991)
sourcegraph-bot-devx Feb 19, 2025
1103829
Update graphql search doc.mdx (#989)
rakeshjosh2003 Feb 19, 2025
11945d2
Clarify wording for fair usage (#990)
eseliger Feb 20, 2025
8acdd07
Remove mentions of Cody CLI support for Free and Pro (#993)
MaedahBatool Feb 20, 2025
ce4625f
Callout UI Improved (#984)
zahidalidev Feb 20, 2025
c922425
fix: we use sslmode not pgsslmode in the deploy repos (#957)
Chickensoupwithrice Feb 21, 2025
8b62c01
update minimum version in VS (#994)
kalanchan Feb 24, 2025
5bb045e
update @mention CTA for Enterprise users (#988)
kalanchan Feb 24, 2025
bc1c51f
Remove Ollama support mentions (#997)
MaedahBatool Feb 24, 2025
fe617d2
cloud: clarify managed settings (#998)
michaellzc Feb 24, 2025
dba4a5e
Changelog for v6.1.1295 (#999)
sourcegraph-bot-devx Feb 25, 2025
d804179
Context selection for prompts (#982)
MaedahBatool Feb 26, 2025
e7123bb
cleaned up Microsoft Entra ID SAML config doc (#1001)
loujar Feb 27, 2025
dd4e471
Add info box recommending indexing locally first (#1002)
mmanela Feb 28, 2025
ce62f25
Update token-limits.mdx (#1005)
mibali Feb 28, 2025
9718713
Update upgrade.mdx (#1004)
mibali Feb 28, 2025
8cab7ca
Add improvements to our chatbot (#1006)
MaedahBatool Feb 28, 2025
3b7aa8d
Update wCAR definition (#1003)
kelsey-brown Feb 28, 2025
c8fc405
Added visited styles for links (#995)
zahidalidev Mar 4, 2025
f7742a2
Docs for Claude 3.7 support (#1008)
MaedahBatool Mar 4, 2025
43ca779
Add insert rate, persistence rate, lines of code definitions (#1007)
kelsey-brown Mar 5, 2025
bc660db
cloud: fix broken links (#1011)
michaellzc Mar 5, 2025
0b12fd6
Remove public docs for Eclipse (#1012)
MaedahBatool Mar 6, 2025
76bc580
Changelog for v6.1.2889 (#1014)
DaedalusG Mar 6, 2025
6223629
Update LB memory (#1013)
MaedahBatool Mar 6, 2025
5328830
Updated paragraph text colour (#1010)
zahidalidev Mar 6, 2025
2f05d42
Update troubleshooting.mdx to include how to debug slowness (#1009)
enriquegh Mar 6, 2025
5f3fec8
Improve and update pricing docs (#1015)
MaedahBatool Mar 6, 2025
0b240cd
Update LB memory 06Mar (#1016)
MaedahBatool Mar 6, 2025
9045f06
Update faqs.mdx (#1017)
MaedahBatool Mar 6, 2025
1e6fe60
Update faqs.mdx (#1018)
MaedahBatool Mar 6, 2025
4ad20ea
Update llms.txt file (#1019)
MaedahBatool Mar 7, 2025
e5ad862
Update analytics docs and add a page on PCW (#1020)
dadlerj Mar 7, 2025
1b6c6fb
Update github.mdx (#1022)
mibali Mar 10, 2025
10aefbc
Fix banner and icons in Cody clients docs (#1023)
MaedahBatool Mar 10, 2025
1435931
Changelog for v6.1.4020 (#1028)
sourcegraph-bot-devx Mar 12, 2025
f90c135
Add additional info about Ollama and Eclispe (#1037)
MaedahBatool Mar 19, 2025
6532b02
Update executor_secrets.mdx (#1034)
mibali Mar 20, 2025
067faea
Move admin pricing docs to relevant sections (#1038)
MaedahBatool Mar 20, 2025
a6e6f79
Add tier banner on Admin docs (#1039)
MaedahBatool Mar 20, 2025
a0f5580
Add note about webhook setup for Gitub Apps (#1041)
gabtorre Mar 24, 2025
a62b55e
Changelog for v6.1.5633 (#1040)
sourcegraph-bot-devx Mar 24, 2025
7f838f5
cloud: fix sla link (#1042)
michaellzc Mar 24, 2025
b68098f
search: discourage use of structural search (#1043)
stefanhengl Mar 25, 2025
683315b
Beta release docs for auto-edit (#1026)
MaedahBatool Mar 26, 2025
3410b6b
chore(release): Clarify helm MVU warning about postgres version upgra…
DaedalusG Mar 27, 2025
6123ded
FAQ callout for using runners with Sourcegraph (#1045)
airamare01 Mar 31, 2025
db92023
Update Bitbucket Server OAuth docs inconsistency (#1053)
pjlast Apr 1, 2025
684aefb
fix: add redirect for admin deploy executors (#1054)
bahrmichael Apr 1, 2025
9a470b6
Changelog for v6.2.0 (#1056)
sourcegraph-bot-devx Apr 2, 2025
742a1dd
chore(rel): add missing patch release (#1057)
jdpleiness Apr 2, 2025
43ed7d9
chore(rel): fix formatting for changelog (#1059)
jdpleiness Apr 2, 2025
e7ce13b
Docs working branch for Sourcegraph version 6.2 (#1044)
MaedahBatool Apr 2, 2025
8960064
Update browser extensions section (#1055)
jdorfman Apr 2, 2025
ca0bb1f
chore: remove notebooks from main navigation and outlines (#1062)
camdencheek Apr 2, 2025
68bbae2
fix(rel): unify changelog caps (#1061)
jdpleiness Apr 2, 2025
875adef
Remove specific model versions from agentic chat docs (#1052)
alexromano Apr 3, 2025
3927cbf
Remove repo package mentions apr3 (#1066)
Steaphan-Sadler Apr 3, 2025
c89a3e4
Update and rename self-hosted.mdx to air-gapped.mdx (#1031)
kelsey-brown Apr 7, 2025
3043fb3
Remove broken link to self-hosted analytics (#1030)
kelsey-brown Apr 7, 2025
7eec892
Dynamic base path (#1065)
zahidalidev Apr 7, 2025
7ed2377
Update readme about previewing docs URLs (#1069)
MaedahBatool Apr 7, 2025
6d56a30
fix(supported-models): small typo fixes to supported models (#1070)
alexromano Apr 8, 2025
b40eeb3
Changelog for v6.2.1106 (#1072)
sourcegraph-bot-devx Apr 8, 2025
c361033
Delete embedded repos page (#1075)
gabtorre Apr 9, 2025
9fdda7f
Changelog for v6.0.12741 (#1076)
sourcegraph-bot-devx Apr 9, 2025
3abf8ce
fix(rel): add security warning (#1077)
jdpleiness Apr 10, 2025
4268cc7
Add chatbot (#969)
MaedahBatool Apr 10, 2025
af94c7f
Fix path /docs in bot in prod (#1078)
MaedahBatool Apr 10, 2025
aca2ecf
Fix bot button styles light/dark modes (#1079)
MaedahBatool Apr 10, 2025
97596a5
Revert "Fix bot button styles light/dark modes" (#1080)
MaedahBatool Apr 10, 2025
5629910
🐛 FIX: AI chatbot submit button bg color (#1081)
msaaddev Apr 10, 2025
7c7ee33
fix(rel): update speellin' (#1084)
jdpleiness Apr 15, 2025
4886922
Fixed Graphql api docs sidebar UI (#1085)
zahidalidev Apr 15, 2025
c88b8a1
🐛 FIX: Small fix in readme (#1086)
MahamDev Apr 15, 2025
3045df0
licensing-note (#1089)
amenne Apr 16, 2025
6130c17
Changelog for v6.2.2553 (#1088)
sourcegraph-bot-devx Apr 16, 2025
ad841e3
Add a note explaining that no sub-repo perms = sub-repo perms disable…
pjlast Apr 17, 2025
d6c3820
Auto-edit for JetBrains docs (#1073)
MaedahBatool Apr 17, 2025
8a96590
🐛 FIX: Fixed grammar and clarity issues in Cody quickstart and VS Cod…
MahamDev Apr 22, 2025
1b67d5c
Docs for Sourcegraph Architecture (#1067)
MaedahBatool Apr 22, 2025
d91de7b
Update LB memory for APR22 (#1093)
MaedahBatool Apr 22, 2025
f3ac0f0
Search Jobs: document new ENVs (#1092)
stefanhengl Apr 22, 2025
b3c48fe
Update docs for Entra ID to reference Azure Active Directory (#1087)
noah-berman Apr 22, 2025
b01acba
Callout on using the correct image for 5.10 upgrade (#1071)
airamare01 Apr 22, 2025
a518278
Update precise_code_navigation.mdx (#1096)
morgangauth Apr 23, 2025
15d8f7a
Changelog for v6.2.3841 (#1095)
sourcegraph-bot-devx Apr 23, 2025
38a679b
Syntactic indexing public doc (#1032)
antonsviridov-src Apr 23, 2025
38bd4b0
Fix legacy versions (#1097)
MaedahBatool Apr 24, 2025
5e60c2b
Remove mentions of sg/sg repo (#1098)
MaedahBatool Apr 24, 2025
e79ca2c
Update LLMs txt (#1099)
MaedahBatool Apr 24, 2025
bab438c
docs: add information about invoice access (#1100)
enriquegh Apr 25, 2025
3394998
Added documentation for tracking changesets' actions (#1102)
eugenio-sanchez-sg Apr 28, 2025
1d9e74d
docs: remove manual repo data purge section (#1104)
camdencheek Apr 29, 2025
67196e4
Note that section only applies to cody (#1105)
dadlerj Apr 29, 2025
cf3a634
cody/modelconfig: add thinking models config examples (#1103)
taras-yemets Apr 30, 2025
4cb5f0e
Changelog for v6.3.0 (#1111)
sourcegraph-bot-devx Apr 30, 2025
ef5aded
Add upgrade info for 6.4 repo updater removal (#1110)
eseliger Apr 30, 2025
eca8377
Docs working branch for Sourcegraph 6.3 release (#1106)
MaedahBatool May 1, 2025
73206cc
Add new models (#1114)
MaedahBatool May 1, 2025
548a414
Written content added (#1109)
May 1, 2025
fc2ec52
update amazon bedrock configuration example (#1116)
loujar May 2, 2025
c527318
Update contact info in observability page (#1118)
enriquegh May 6, 2025
25125fb
Docs/src cli search jobs (#1036)
trly May 6, 2025
4718240
Add note about siem integrations to log page (#1119)
gabtorre May 6, 2025
3bdaeb6
Update LLMs txt May 06 (#1120)
MaedahBatool May 6, 2025
f338b3b
Sourcegraph AMIs: remove references to AMI T-shirt sizes (#1121)
DaedalusG May 7, 2025
0ff5bbe
Add hover links to heading levels 4, 5, and 6 (#1064)
peterguy May 7, 2025
59a12a1
Remove self-hosted analytics language (#1029)
kelsey-brown May 7, 2025
13c2066
Add note about version to PCW docs (#1024)
dadlerj May 7, 2025
b32ae60
Fix AMI image upload (#1124)
DaedalusG May 7, 2025
1af54b3
Add docs for csv export.mdx (#1123)
kelsey-brown May 7, 2025
521bb22
Fix nav link for self-hosted analytics (#1126)
MaedahBatool May 8, 2025
284fffb
update NO_PROXY recommendations (#1125)
loujar May 8, 2025
181c280
Improve messaging for air-gapped analytics (#1127)
MaedahBatool May 8, 2025
22d46a0
fix fragment links for `batch-spec-yaml-reference` (#1063)
peterguy May 8, 2025
ab5b850
Add 6.4 upgrade instruction for symbols (#1117)
eseliger May 12, 2025
8ee048f
Fix typo in prompts-guide (#1131)
gabtorre May 12, 2025
5fe6947
Update automatic.mdx (#1133)
mibali May 14, 2025
7250bf4
Inline Role YAML (#1134)
pjlast May 14, 2025
832f12b
Add Azure DevOps to supported codehosts docs (#1136)
MaedahBatool May 14, 2025
73fd4ca
Add auto-edit in feature parity reference docs (#1137)
MaedahBatool May 14, 2025
f50de3a
Fix extra spacing (#1138)
MaedahBatool May 14, 2025
1e65187
Changelog for v6.3.2692 (#1139)
jdpleiness May 14, 2025
44da856
fix missing links and remove reference to auto-dependency indexing (#…
loujar May 15, 2025
0dc4c41
Remove link to old Sourcegraph repo (#1141)
jdorfman May 15, 2025
b8198d7
Remove o1 and improve @m-mention dir (#1146)
MaedahBatool May 20, 2025
6f93fca
Update agentic-chat.mdx (#1147)
Keyukemi May 20, 2025
987f092
search: document INDEXED_SEARCH_INDEXERS (#1145)
stefanhengl May 21, 2025
0b99271
modelconfig: document new OpenAI-compatible configurations (#1148)
emidoots May 21, 2025
3708737
azure-devops: Adjust docs to cover new Entra OAuth apps (#1149)
eseliger May 22, 2025
7af2e11
remove code nav from bitbucket extension docs (#1152)
ggilmore May 22, 2025
0b40a0e
Remove mentions of old sg/sg repo V2 (#1153)
MaedahBatool May 22, 2025
1658477
Changelog for v6.3.4167 (#1154)
Chickensoupwithrice May 23, 2025
10495e9
Batch Changes Docs Updates for 6.4
MaedahBatool May 28, 2025
58d4152
Re-execute changesets
MaedahBatool May 28, 2025
9532db9
small imprv
MaedahBatool May 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 7 additions & 0 deletions .env.baseai.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# !! SERVER SIDE ONLY !!
# Keep all your API keys secret — use only on the server side.

# TODO: ADD: Both in your production and local env files.
# Langbase API key for your User or Org account.
# How to get this API key https://langbase.com/docs/api-reference/api-keys
LANGBASE_API_KEY=
5 changes: 5 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- Explain the changes introduced in your PR -->

## Pull Request approval

You will need to get your PR approved by at least one member of the Sourcegraph team. For reviews of docs formatting, styles, and component usage, please tag the docs team via the #docs Slack channel.
11 changes: 6 additions & 5 deletions .github/workflows/pr-auditor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ name: pr-auditor
on:
pull_request_target:
types: [ closed, edited, opened, synchronize, ready_for_review ]
workflow_dispatch:


jobs:
check-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: 'sourcegraph/pr-auditor'
repository: 'sourcegraph/devx-service'
token: ${{ secrets.PR_AUDITOR_TOKEN }}
- uses: actions/setup-go@v4
with: { go-version: '1.21' }
with: { go-version: '1.22' }

- run: './check-pr.sh'
- run: 'go run ./cmd/pr-auditor'
env:
GITHUB_EVENT_PATH: ${{ env.GITHUB_EVENT_PATH }}
GITHUB_TOKEN: ${{ secrets.PR_AUDITOR_TOKEN }}
Expand All @@ -25,5 +26,5 @@ jobs:
report_failure:
needs: check-pr
if: ${{ failure() }}
uses: sourcegraph/sourcegraph/.github/workflows/report-job-failure.yml@main
uses: sourcegraph/workflows/.github/workflows/report-job-failure.yml@main
secrets: inherit
14 changes: 14 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,17 @@ next-env.d.ts

# search index file generated on build
/public/search.json

# IDEs
.idea

# We ignore the generated file as it should always be generated
public/changelog.rss

# baseai
**/.baseai/

# env file
.env

public/technical-changelog.rss
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Sourcegraph Docs

<!-- Working branch for SG 6.3 Release -->

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.

## Get started
Expand All @@ -16,7 +18,7 @@ Navigate to the project directory by typing the following command in your termin
cd sourcegraph-docs
```

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

* node: `v20.8.1`
* pnpm: `8.13.1`
Expand Down Expand Up @@ -84,7 +86,7 @@ This is an introductory paragraph.

### This is heading 3

These are the details for heading three.
These are the details for heading three.

This is how you add a [demo-link](https://sourcegraph.com/)

Expand Down Expand Up @@ -116,7 +118,7 @@ Here are the list of all the supported components we have:
- `<LinkCards>`
- `<Callout>`

For a better docs experience we'll continue adding more components in future.
For a better docs experience, we'll continue adding more components in the future.

### Adding a link

Expand All @@ -132,9 +134,9 @@ For example, if you want to link to the Cody Quickstart somewhere in the Code Se
- This is a way to hash-link to [Cody for VSCode installation](/cody/clients/install-vscode#verifying-the-installation) in Code Search docs
```

### Adding images and binary assets
### Adding media assets (images, videos and gifs)

For large images and other binary assets, upload them to the `sourcegraph-assets` Google Cloud Storage bucket instead with `gsutil cp -a public-read local/path/to/myasset.png gs://sourcegraph-assets/` (and refer to them as `https://sourcegraphstatic.com/myasset.png`). For a more detailed instructions visit [this page](https://handbook.sourcegraph.com/handbook/editing/handbook-images-video/).
You can upload images, videos and gifs to Sourcegraph docs. For a more detailed instructions visit [this page](https://www.notion.so/sourcegraph/How-to-host-blog-assets-using-GCP-file-storage-a2cae02bd0c74166a12eaff5062c41ad).

> Note: Make sure to use [ImageOptim.app](https://imageoptim.com/mac) to reduce the size of the images before uploading, since large images degrade page loading speed.

Expand All @@ -144,6 +146,12 @@ For large images and other binary assets, upload them to the `sourcegraph-assets

As you make changes to the documentation, the development server will automatically update. Review your changes by navigating to `http://localhost:3000` in your browser.

### Previewing Vercel Deployments

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

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

## Submitting your Contribution

Once you're satisfied with your changes, follow these steps:
Expand Down
18 changes: 18 additions & 0 deletions baseai/baseai.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import type { BaseAIConfig } from 'baseai';

export const config: BaseAIConfig = {
log: {
isEnabled: true,
logSensitiveData: false,
pipe: true,
'pipe.completion': true,
'pipe.request': true,
'pipe.response': true,
tool: true,
memory: true
},
memory: {
useLocalEmbeddings: false
},
envFilePath: '.env'
};
27 changes: 27 additions & 0 deletions baseai/memory/memory-sg-docs-live/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { MemoryI } from '@baseai/core';

const memoryDocs = (): MemoryI => ({
name: 'memory-sg-docs-live',
description: 'An AI memory storing all Sourcegraph docs.',
git: {
enabled: true,
include: ['**/*.mdx'],
gitignore: true,
embeddedAt: '',
deployedAt: '1b67d5c14520a898e2b9933ab3d2a9fe28515e31'
},
documents: {
meta: doc => {
const url = `https://sourcegraph.com/docs/${doc.path}`;
return {
url,
name: doc.name,
};
},
},
});

export default memoryDocs;

// Old
// deployedAt: '5f3fec8530280d01a783aadcdeb0ccc3f9cd8b70',
36 changes: 32 additions & 4 deletions contentlayer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import remarkGfm from 'remark-gfm';
import { MDXDocument, allCoreContent } from './src/utils/contentlayer';
import { searchMetadata } from './src/data/search';
import GithubSlugger from 'github-slugger'
import { visit } from "unist-util-visit"

export const Post = defineDocumentType(() => ({
name: 'Post',
filePathPattern: `**/*.mdx`,
Expand Down Expand Up @@ -70,13 +72,39 @@ const prettyCodeOptions = {
),
}

const rehypePlugins:any = [
// Extract raw code content from code elements within pre elements
() => (tree: any) => {
visit(tree, (node: any) => {
if (node?.type === "element" && node?.tagName === "pre") {
const [codeEl] = node.children;
if (codeEl.tagName !== "code") return

node.raw = codeEl.children?.[0].value
}
});
},
[rehypePrettyCode, prettyCodeOptions],
// Add raw code content as a property to pre elements within div elements containing data-rehype-pretty-code-fragment attribute
() => (tree: any) => {
visit(tree, (node: any) => {
if (node?.type === "element" && node?.tagName === "div") {
if (!("data-rehype-pretty-code-fragment" in node.properties)) return

for (const child of node.children)
if (child.tagName === "pre") child.properties["raw"] = node.raw;
}
})
},rehypeSlug, [rehypeAutolinkHeadings]
]

export default makeSource({
contentDirPath: 'docs', documentTypes: [Post], mdx: {
remarkPlugins: [remarkGfm],
rehypePlugins: [[rehypePrettyCode, prettyCodeOptions], rehypeSlug, [rehypeAutolinkHeadings]],
remarkPlugins: [remarkGfm],
rehypePlugins: rehypePlugins,
},
onSuccess: async (importData) => {
const { allPosts } = await importData()
createSearchIndex(allPosts);
const { allPosts } = await importData()
createSearchIndex(allPosts);
},
})
71 changes: 71 additions & 0 deletions dev/rss.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
const { Feed } = require('feed');
const fs = require('fs');
const path = require('path');

const loadChangelog = () => {
const changelogPath = path.join(__dirname, '..', 'docs', 'technical-changelog.mdx');
return fs.readFileSync(changelogPath, 'utf8');
}

const extractRSSComments = (content) => {
const regex = /\{\/\*\s*RSS=(.*?)\s*\*\/}/g;
const matches = [];
let match;

while ((match = regex.exec(content)) !== null) {
matches.push(JSON.parse(match[1].trim()));
}

return matches;
}

const generateRssFeed = () => {
const baseURL = 'https://sourcegraph.com'
const siteURL = 'https://sourcegraph.com/docs';
const date = new Date();

const feed = new Feed({
title: 'Sourcegraph RSS',
description: 'RSS feed for Sourcegraph',
id: siteURL,
link: baseURL,
language: 'en',
image: `${siteURL}/sourcegraph-mark.png`,
favicon: `${siteURL}/sourcegraph-mark.png`,
copyright: `All rights reserved ${date.getFullYear()}, Sourcegraph`,
updated: date,
generator: 'Sourcegraph RSS Feed',
feedLinks: {
rss2: `${siteURL}/technical-changelog.rss`,
},
author: {
name: 'Sourcegraph',
email: 'hi@sourcegraph.com',
link: 'https://sourcegraph.com',
},
});

const changelog = loadChangelog();
const rssComments = extractRSSComments(changelog);

// the rss comments have the structure: {/* RSS={"version":"vX.Y.Z", "releasedAt": "<TS>" */}
for (let idx = 0; idx < rssComments.length; idx++) {
const comment = rssComments[idx];
if (!comment.version || !comment.releasedAt) {
continue;
}
const tag = comment.version.replace('v', '');
const versionDocLink = `${siteURL}/technical-changelog#${comment.version.replaceAll('.', '')}`;
feed.addItem({
title: `Sourcegraph ${tag}`,
id: comment.version,
link: versionDocLink,
description: `Sourcegraph ${tag} is now available! Note: we've updated our versioning conventions. Please see our releases page for more information.`,
date: new Date(comment.releasedAt),
});
}

fs.writeFileSync(path.join(__dirname, '../public/technical-changelog.rss'), feed.rss2());
}

module.exports = { generateRssFeed }
19 changes: 19 additions & 0 deletions docs-chatbot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# How we use Docs Chatbot?

Contact the docs team for any more questions on this.

## To sync all the latest docs changes in the `main` branch check out to the `main` branch and run

```sh
pnpm langbase-sync
```

This will verify all the changes since the last sync, update these files, and then write the commit hash to `baseai/memory/docs/index.ts` file which you should commit to keep track.

### Update llms.txt file

Run the following command to update the `llms.txt` file:

```sh
pnpm llmstxt
```
2 changes: 1 addition & 1 deletion docs.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const config = {
DOCS_LATEST_VERSION: '5.3'
DOCS_LATEST_VERSION: '6.3'
};

module.exports = config;
Loading