Sourcegraph docs Sourcegraph docs Sourcegraph Docs

Sections

  • Getting Started
  • Tutorials

Cody

  • Overview
    • Cody for VS Code
    • Cody for JetBrains
    • Cody Desktop App
    • Cody with Sourcegraph
    • Cody Enterprise
  • Quickstart
  • Capabilities
  • Explanations
  • Cody Use Cases
  • Custom Commands
  • Troubleshooting
  • FAQ

Code Search

  • Overview
  • Tutorials
  • How-to guides
  • Explanations
  • Reference

Code navigation

  • Overview
  • How-to guides
  • Explanations
  • Reference

Batch Changes

  • Overview
  • Quickstart
  • Explanations
  • Tutorials
  • How-to guides
  • References

Code Insights

  • Overview
  • Quickstart
  • Explanations
  • How-to guides
  • References

Notebooks

  • Overview
  • Quickstart

Code monitoring

  • Overview
  • Quickstart
  • Explanations
  • How-to guides

Integrations

  • Overview
  • Browser extension
  • Editors
  • Browser search engine

CLI

  • Overview
  • Quickstart
  • Explanations
  • How-to guides
  • References

Administration

  • Overview
  • Deploy
  • Upgrade
  • Configuration
  • Licensing
  • Code hosts
  • User authentication
  • Access control
  • Repository permissions
  • Observability
  • Analytics
  • Executors
  • FAQ
  • Troubleshooting
  • How-to guides
  • Enterprise getting started guide
  • Pricing

Development

  • Overview
    • Setup
  • How-to guides
  • Contributing

Code Ownership

  • Overview
  • The CODEOWNERS format
  • CODEOWNERS ingestion
  • Configuration reference
  • Assigned ownership

  • Cloud
  • Dotcom
  • ★ Search query syntax
  • ★ Sourcegraph API
  • ★ SLAs
  • ★ Changelog

External

  • About Sourcegraph
  • Sourcegraph.com
Theme

On this page

  • General
  • Language-specific guides
  • Automate uploading precise indexes
  • Best practices
Edit this page on GitHub
Docs code_navigation how-to

How-to guides

General

  • Configure data retention policies

Language-specific guides

  • Index a Go repository
  • Index a TypeScript or JavaScript repository
  • Index a Java, Scala, or Kotlin repository
  • Index a Python repository

Automate uploading precise indexes

  • Add precise indexing to many repositories
  • Add precise indexing to CI workflows
  • Enable auto-indexing
  • Configure auto-indexing

Best practices

  • Code intelligence policies resource usage best practices
  • Combining SCIP uploads from CI/CD and auto-indexing
  • About Sourcegraph
  • Sourcegraph.com
  • Code (GitHub)
  • Terms
  • Security
  • Privacy