sourcegraph/doc/dev/index.md

213 lines
8.5 KiB
Markdown
Raw Permalink Normal View History

# Developing Sourcegraph
<style>
.markdown-body h2 {
margin-top: 2em;
}
.markdown-body ul {
list-style:none;
padding-left: 1em;
}
.markdown-body ul li {
margin: 0.5em 0;
}
.markdown-body ul li:before {
content: '';
display: inline-block;
height: 1.2em;
width: 1em;
background-size: contain;
background-repeat: no-repeat;
background-image: url(../batch_changes/file-icon.svg);
margin-right: 0.5em;
margin-bottom: -0.29em;
}
body.theme-dark .markdown-body ul li:before {
filter: invert(50%);
}
</style>
<p class="subtitle">Documentation for <b>developers contributing to the Sourcegraph code base</b></p>
<div class="cta-group">
<a class="btn btn-primary" href="setup/quickstart">★ Quickstart: develop Sourcegraph on your machine</a>
<a class="btn" href="https://github.com/sourcegraph/sourcegraph">GitHub repository</a>
<a class="btn" href="https://github.com/sourcegraph/sourcegraph/issues">Issue Tracker</a>
</div>
## Setup
<p class="subtitle">Learn how to develop Sourcegraph on your machine.</p>
<div class="getting-started">
<a href="setup/quickstart" class="btn" alt="Run through the Quickstart guide">
<span>★ Quickstart</span>
Improve readability on small screens and reduce layout shift (#55600) Various cleanups to improve reading docs on small screens and layout shifts on page load: * Reduces the horizontal padding on small screens * Stacks the getting started boxes vertically on small screens (I believe there are similar `.card` styles that also need fixing) * Removes the top margin on the sidebar which is causing a weird body scroll * Fixes the layout shift that happens on load for search box and index page header image | Before | After | | - | - | | <img width="686" alt="Screenshot 2023-08-07 at 4 40 28 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/1f7b4716-e2ad-4e14-9de5-c5914aa8c639"> | <img width="686" alt="Screenshot 2023-08-07 at 4 39 58 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/6c0c7ebc-de53-48bc-86ab-638ebc84aa00"> | | <img width="686" alt="Screenshot 2023-08-07 at 4 40 34 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/669990b0-9392-4c0f-bdf2-ad7d3be91809"> | <img width="686" alt="Screenshot 2023-08-07 at 4 40 10 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/cc7759be-b61a-4e28-ac10-58ff82f6ffcf"> | | <img width="269" alt="Screenshot 2023-08-07 at 4 41 21 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/699d7e4c-05c6-481f-bb04-1e15ca711888"> | <img width="266" alt="Screenshot 2023-08-07 at 4 41 12 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/7fe6c15a-f8de-4b42-a117-ec0d90193214"> | Loading layout jank before: https://github.com/sourcegraph/sourcegraph/assets/153/182ec700-158e-439b-9de9-3a6fdf8ca79a Loading layout jank after: https://github.com/sourcegraph/sourcegraph/assets/153/aae86d19-79b2-4375-a7f1-7df6d183c975 ## Test plan - In browser tested different themes and screen sizes
2023-08-07 15:54:41 +00:00
<br>
Run through the <b>step by step guide</b> and get your local environment ready.
</a>
<a href="../dev/how-to" class="btn" alt="How-to guides">
<span>How-to guides</span>
Improve readability on small screens and reduce layout shift (#55600) Various cleanups to improve reading docs on small screens and layout shifts on page load: * Reduces the horizontal padding on small screens * Stacks the getting started boxes vertically on small screens (I believe there are similar `.card` styles that also need fixing) * Removes the top margin on the sidebar which is causing a weird body scroll * Fixes the layout shift that happens on load for search box and index page header image | Before | After | | - | - | | <img width="686" alt="Screenshot 2023-08-07 at 4 40 28 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/1f7b4716-e2ad-4e14-9de5-c5914aa8c639"> | <img width="686" alt="Screenshot 2023-08-07 at 4 39 58 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/6c0c7ebc-de53-48bc-86ab-638ebc84aa00"> | | <img width="686" alt="Screenshot 2023-08-07 at 4 40 34 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/669990b0-9392-4c0f-bdf2-ad7d3be91809"> | <img width="686" alt="Screenshot 2023-08-07 at 4 40 10 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/cc7759be-b61a-4e28-ac10-58ff82f6ffcf"> | | <img width="269" alt="Screenshot 2023-08-07 at 4 41 21 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/699d7e4c-05c6-481f-bb04-1e15ca711888"> | <img width="266" alt="Screenshot 2023-08-07 at 4 41 12 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/7fe6c15a-f8de-4b42-a117-ec0d90193214"> | Loading layout jank before: https://github.com/sourcegraph/sourcegraph/assets/153/182ec700-158e-439b-9de9-3a6fdf8ca79a Loading layout jank after: https://github.com/sourcegraph/sourcegraph/assets/153/aae86d19-79b2-4375-a7f1-7df6d183c975 ## Test plan - In browser tested different themes and screen sizes
2023-08-07 15:54:41 +00:00
<br>
<b>Context specific</b> guides: debugging live code
</a>
<a href="setup/troubleshooting" class="btn" alt="Troubleshooting">
<span>Troubleshooting</span>
Improve readability on small screens and reduce layout shift (#55600) Various cleanups to improve reading docs on small screens and layout shifts on page load: * Reduces the horizontal padding on small screens * Stacks the getting started boxes vertically on small screens (I believe there are similar `.card` styles that also need fixing) * Removes the top margin on the sidebar which is causing a weird body scroll * Fixes the layout shift that happens on load for search box and index page header image | Before | After | | - | - | | <img width="686" alt="Screenshot 2023-08-07 at 4 40 28 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/1f7b4716-e2ad-4e14-9de5-c5914aa8c639"> | <img width="686" alt="Screenshot 2023-08-07 at 4 39 58 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/6c0c7ebc-de53-48bc-86ab-638ebc84aa00"> | | <img width="686" alt="Screenshot 2023-08-07 at 4 40 34 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/669990b0-9392-4c0f-bdf2-ad7d3be91809"> | <img width="686" alt="Screenshot 2023-08-07 at 4 40 10 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/cc7759be-b61a-4e28-ac10-58ff82f6ffcf"> | | <img width="269" alt="Screenshot 2023-08-07 at 4 41 21 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/699d7e4c-05c6-481f-bb04-1e15ca711888"> | <img width="266" alt="Screenshot 2023-08-07 at 4 41 12 pm" src="https://github.com/sourcegraph/sourcegraph/assets/153/7fe6c15a-f8de-4b42-a117-ec0d90193214"> | Loading layout jank before: https://github.com/sourcegraph/sourcegraph/assets/153/182ec700-158e-439b-9de9-3a6fdf8ca79a Loading layout jank after: https://github.com/sourcegraph/sourcegraph/assets/153/aae86d19-79b2-4375-a7f1-7df6d183c975 ## Test plan - In browser tested different themes and screen sizes
2023-08-07 15:54:41 +00:00
<br>
Help for the <b>most common</b> problems.
</a>
</div>
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
## Background information
2020-12-02 14:08:38 +00:00
Clarification and discussion about key concepts, architecture, and development stack.
### Architecture
- [Overview](background-information/architecture/index.md)
- [Introducing a new service](background-information/architecture/introducing_a_new_service.md)
### Development
- [`sg` - the Sourcegraph developer tool](background-information/sg/index.md)
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
- [Using Bazel](background-information/bazel/index.md)
- [Bazel and Go code](background-information/bazel/go.md)
- [Bazel and client code](background-information/bazel/web.md)
- [Bazel and container images](background-information/bazel/containers.md)
- [Bazel FAQ](background-information/bazel/faq.md)
- [Writing a server integration test](background-information/bazel/server_integration_tests.md)
- [Developing the web clients](background-information/web/index.md)
- [Developing the web app](background-information/web/web_app.md)
- [Developing the code host integrations](background-information/web/code_host_integrations.md)
- [Working with GraphQL](background-information/web/graphql.md)
- [Wildcard Component Library](background-information/web/wildcard.md)
- [Styling UI](background-information/web/styling.md)
- [Accessibility](background-information/web/accessibility.md)
- [Temporary settings](background-information/web/temporary_settings.md)
- [Build process](background-information/web/build.md)
- [Developing the GraphQL API](background-information/graphql_api.md)
- [Developing the SCIM API](background-information/scim_api.md)
- [Developing batch changes](background-information/batch_changes/index.md)
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
- [Developing code intelligence](background-information/codeintel/index.md)
- [Developing code insights](background-information/insights/index.md)
- [Developing code monitoring](background-information/codemonitoring/index.md)
- [Developing observability](background-information/observability/index.md)
- [Dependencies and generated code](background-information/dependencies_and_codegen.md)
- [Code reviews](background-information/pull_request_reviews.md)
- [Commit messages](background-information/commit_messages.md)
- [Exposing services](background-information/exposing-services.md)
- [Developing a store](background-information/basestore.md)
- [Developing a worker](background-information/workers.md)
- [Developing an out-of-band migration](background-information/oobmigrations.md)
- [Developing a background routine](background-information/backgroundroutine.md)
- [Testing](#testing)
- [Testing principles and guidelines](background-information/testing_principles.md)
- [Continuous integration](background-information/ci/index.md)
- [How to write and run tests](how-to/testing.md)
- [Testing Go code](background-information/languages/testing_go_code.md)
- [Testing web code](background-information/testing_web_code.md)
- [Building p4-fusion](background-information/build_p4_fusion.md)
- [The `gitserver` API](background-information/gitserver-api.md)
- [gRPC Tutorial](background-information/grpc_tutorial.md)
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
### Git
- [`git gc` and its modes of operations in Sourcegraph](background-information/git_gc.md)
### Languages
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
- [Tech stack](background-information/tech_stack.md)
- [Go](background-information/languages/go.md)
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
- [Error handling in Go](background-information/languages/go_errors.md)
- [TypeScript](background-information/languages/typescript.md)
- [Bash](background-information/languages/bash.md)
- [Terraform](background-information/languages/terraform.md)
### SQL
- [Using PostgreSQL](background-information/postgresql.md)
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
- [Migrations overview](background-information/sql/migrations_overview.md)
- [Migrations](background-information/sql/migrations.md)
- High-performance guides
- [Batch operations](background-information/sql/batch_operations.md)
- [Materialized cache](background-information/sql/materialized_cache.md)
### Security
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
- [Security patterns](background-information/security_patterns.md)
- [Security policy](https://sourcegraph.com/security/)
- [How to disclose vulnerabilities](https://sourcegraph.com/handbook/engineering/security/reporting-vulnerabilities).
- [CSRF security model](security/csrf_security_model.md)
- [Sourcegraph secret formats](security/secret_formats.md)
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
### Testing
- [Continuous integration](background-information/ci/index.md)
- [Testing a pull request](background-information/testing_pr.md)
- [Testing principles](background-information/testing_principles.md)
- [Testing Go code](background-information/languages/testing_go_code.md)
- [Testing web code](background-information/testing_web_code.md)
- [Code host test plans](background-information/test-plans/code-hosts/index.md)
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
### Tools
- [Renovate dependency updates](background-information/renovate.md)
- [Honeycomb](background-information/honeycomb.md)
- [GoLand](background-information/goland.md)
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
- [Wolfi overview](background-information/wolfi/index.md)
### Other
- [Telemetry](background-information/telemetry/index.md)
- [Adding, changing and debugging pings](background-information/adding_ping_data.md)
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
- [Deploy Sourcegraph with Helm chart (BETA)](../../../admin/deploy/kubernetes/helm.md)
- [GitHub API oddities](background-information/github-api-oddities.md)
## How-to guides
Guides to help with troubleshooting, configuring test instances, debugging, and more.
### New features
- [How to add support for a language](how-to/add_support_for_a_language.md)
- [How to use feature flags](how-to/use_feature_flags.md)
- [How to add caching](how-to/add_caching.md)
### Observability
- [How to add observability](how-to/add_observability.md)
- [How to add logging](how-to/add_logging.md)
- [How to find monitoring](how-to/find_monitoring.md)
- [How to add monitoring](how-to/add_monitoring.md)
- [Set up local monitoring development](how-to/monitoring_local_dev.md)
- [Set up local OpenTelemetry development](how-to/opentelemetry_local_dev.md)
### Plans and licenses
- [How to generate a license key for testing and debugging](how-to/generate_license_key_for_testing.md)
### Documentation
- [Developing the product documentation](how-to/documentation_implementation.md)
### Executors
- [How to deploy a new executor image](how-to/deploy_executor_image.md)
### Testing
- [How to write and run tests](how-to/testing.md)
- [Run a local Sourcegraph instance behind ngrok](how-to/sourcegraph_ngrok.md)
- Testing against code hosts
- [Configure a test instance of Phabricator and Gitolite](how-to/configure_phabricator_gitolite.md)
- [Test a Phabricator and Gitolite instance](how-to/test_phabricator.md)
- [Sync repositories from gitolite.sgdev.org](how-to/sync_repositories_from_gitolite_sgdev_org.md)
## Contributing
2021-10-22 15:55:44 +00:00
docs: clean up development docs table of contents (#55175) While looking up developer docs about a couple things, I felt compelled to do a bit of cleanup. We had two docs, `dev/index.md` and `dev/background-information/index.md`, which featured the same lengthy table of contents to other subpages. The two lists were meant to be identical, as was noted by a comment at the top of the latter doc: ``` <!-- Link back any new sections to doc/dev/index.md as well --> ``` But the lists had actually diverged quite a bit, and frankly it just felt redundant to have the latter doc when it was literally only this table of contents and nothing else. So I removed the redundant doc, merged the lists, dropped outdated and duplicative subpage links, and regrouped a couple sections that only had one or two items listed under then. The header hierarchy had also gotten messed up in a couple ways (for example SQL was listed as a subsection of `git` 🤪), so I fixed that up. This hopefully means both maintaining and browsing the developer docs will be easier! I have left a couple comments inline to clarify items that were moved or removed. ## Test plan Tested locally, tried to verify most links still worked! Also verified the ToC hierarchy is corrected: <img width="366" alt="image" src="https://github.com/sourcegraph/sourcegraph/assets/8942601/df064955-6c8f-4a40-bfd2-bf493fc0ec40"> <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles -->
2023-07-21 03:36:50 +00:00
- [Open source FAQ](https://handbook.sourcegraph.com/company-info-and-process/community/faq/)
- [Code of conduct](https://handbook.sourcegraph.com/company-info-and-process/community/code_of_conduct/)
- [Project setup and CI checks for frontend issues](./contributing/frontend_contribution.md)
- [Accepting an external contribution guide](./contributing/accepting_contribution.md)