mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 17:11:49 +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 -->
This commit is contained in:
parent
71e4832dc6
commit
894605399d
@ -1,102 +1,3 @@
|
||||
<!-- Link back any new sections to doc/dev/index.md as well -->
|
||||
|
||||
# Background information
|
||||
|
||||
## Overview
|
||||
|
||||
- [Tech stack](tech_stack.md)
|
||||
- [Security Patterns](security_patterns.md)
|
||||
|
||||
## [Architecture](architecture/index.md)
|
||||
|
||||
- [Overview](architecture/index.md)
|
||||
- [Introducing a new service](architecture/introducing_a_new_service.md)
|
||||
|
||||
## [Sourcegraph App](app/index.md)
|
||||
|
||||
- [Notes about code signing the Sourcegraph App](./app/codesigning.md)
|
||||
- [Building App on Windows](./app/windows.md)
|
||||
|
||||
## Development
|
||||
|
||||
- [`sg` - the Sourcegraph developer tool](./sg/index.md)
|
||||
- [Full `sg` reference](./sg/reference.md)
|
||||
- [Using Bazel](./bazel/index.md)
|
||||
- [Bazel and Go code](./bazel/go.md)
|
||||
- [Bazel and client code](./bazel/web.md)
|
||||
- [Bazel and container images](./bazel/containers.md)
|
||||
- [Bazel FAQ](./bazel/faq.md)
|
||||
- [Writing a server integration test](./bazel/server_integration_tests.md)
|
||||
- [Developing the web clients](web/index.md)
|
||||
- [Developing the web app](web/web_app.md)
|
||||
- [Developing the code host integrations](web/code_host_integrations.md)
|
||||
- [Working with GraphQL](web/graphql.md)
|
||||
- [Wildcard Component Library](web/wildcard.md)
|
||||
- [Styling UI](web/styling.md)
|
||||
- [Accessibility](web/accessibility/index.md)
|
||||
- [Temporary settings](web/temporary_settings.md)
|
||||
- [Build process](web/build.md)
|
||||
- [Developing the GraphQL API](graphql_api.md)
|
||||
- [Developing the SCIM API](scim_api.md)
|
||||
- [Developing batch changes](batch_changes/index.md)
|
||||
- [Developing code intelligence](codeintel/index.md)
|
||||
- [Developing code insights](insights/index.md)
|
||||
- [Developing code monitoring](codemonitoring/index.md)
|
||||
- [Developing observability](observability/index.md)
|
||||
- [Dependencies and generated code](dependencies_and_codegen.md)
|
||||
- [Pull request reviews](pull_request_reviews.md)
|
||||
- [Commit messages](commit_messages.md)
|
||||
- [Exposing services](exposing-services.md)
|
||||
- [Developing a store](basestore.md)
|
||||
- [Developing a worker](workers.md)
|
||||
- [Developing an out-of-band migration](oobmigrations.md)
|
||||
- [Developing a background routine](backgroundroutine.md)
|
||||
- [Building p4-fusion](./build_p4_fusion.md)
|
||||
- [The `gitserver` API](./gitserver-api.md)
|
||||
|
||||
## Git
|
||||
|
||||
- [`git gc` and its modes of operations in Sourcegraph](./git_gc.md)
|
||||
|
||||
## [Languages](languages/index.md)
|
||||
|
||||
- [Go](languages/go.md)
|
||||
- [Error handling in Go](languages/go_errors.md)
|
||||
- [TypeScript](languages/typescript.md)
|
||||
- [Bash](languages/bash.md)
|
||||
- [Terraform](languages/terraform.md)
|
||||
|
||||
## [SQL](sql/index.md)
|
||||
|
||||
- [Migrations overview](sql/migrations_overview.md)
|
||||
- [Migrations](sql/migrations.md)
|
||||
- High-performance guides
|
||||
- [Batch operations](sql/batch_operations.md)
|
||||
- [Materialized cache](sql/materialized_cache.md)
|
||||
|
||||
## Testing
|
||||
|
||||
- [Continuous Integration](ci/index.md)
|
||||
- [Testing a pull request](testing_pr.md)
|
||||
- [Testing Principles](testing_principles.md)
|
||||
- [Testing Go code](languages/testing_go_code.md)
|
||||
- [Testing web code](testing_web_code.md)
|
||||
|
||||
## Tools
|
||||
|
||||
- [Renovate dependency updates](renovate.md)
|
||||
- [Honeycomb](honeycomb.md)
|
||||
- [Using PostgreSQL](postgresql.md)
|
||||
|
||||
## Wolfi
|
||||
|
||||
- [Wolfi Overview](wolfi/index.md)
|
||||
|
||||
## Other
|
||||
|
||||
- [Telemetry](telemetry.md)
|
||||
- [Adding, changing and debugging pings](adding_ping_data.md)
|
||||
- [Deploy Sourcegraph with Helm chart (BETA)](../../admin/deploy/kubernetes/helm.md)
|
||||
- [Event level data usage pipeline](data-usage-pipeline.md)
|
||||
- [Adding, changing and debugging user event data](adding_event_level_data.md)
|
||||
- [GitHub API Oddities](github-api-oddities.md)
|
||||
See [Developing Sourcegraph](../index.md#background-information) for more context on various topics.
|
||||
|
||||
@ -59,29 +59,25 @@ body.theme-dark .markdown-body ul li:before {
|
||||
</a>
|
||||
</div>
|
||||
|
||||
## [Background information](background-information/index.md)
|
||||
## Background information
|
||||
|
||||
Clarification and discussion about key concepts, architecture, and development stack.
|
||||
|
||||
### Overview
|
||||
|
||||
- [Tech stack](background-information/tech_stack.md)
|
||||
- [Current Sourcegraph tech radar](https://radar.thoughtworks.com/?sheetId=https%3A%2F%2Fraw.githubusercontent.com%2Fsourcegraph%2Fsourcegraph%2Fmain%2Fdoc%2Fdev%2Fradar%2Ftech-radar.csv) (also see [how to maintain the radar](how-to/maintain-tech-radar.md))
|
||||
|
||||
### [Architecture](background-information/architecture/index.md)
|
||||
|
||||
- [Overview](background-information/architecture/index.md)
|
||||
- [Introducing a new service](background-information/architecture/introducing_a_new_service.md)
|
||||
|
||||
## Cody App
|
||||
|
||||
- [Notes about signing the Cody App with Apple code signing](background-information/app/codesigning.md)
|
||||
- [Troubleshooting App not loading](background-information/app/troubleshooting.md)
|
||||
|
||||
### Development
|
||||
|
||||
- [`sg` - the Sourcegraph developer tool](background-information/sg/index.md)
|
||||
- [Full `sg` reference](background-information/sg/reference.md)
|
||||
- [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)
|
||||
@ -91,10 +87,11 @@ Clarification and discussion about key concepts, architecture, and development s
|
||||
- [Accessibility](background-information/web/accessibility.md)
|
||||
- [Temporary settings](background-information/web/temporary_settings.md)
|
||||
- [Build process](background-information/web/build.md)
|
||||
- [Developing Cody App](background-information/app/index.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)
|
||||
- [Developing code navigation](background-information/codeintel/index.md)
|
||||
- [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)
|
||||
@ -116,13 +113,15 @@ Clarification and discussion about key concepts, architecture, and development s
|
||||
- [The `gitserver` API](background-information/gitserver-api.md)
|
||||
- [Using gRPC alongside REST for internal APIs](background-information/gRPC_internal_api.md)
|
||||
|
||||
## Git
|
||||
### Git
|
||||
|
||||
- [`git gc` and its modes of operations in Sourcegraph](background-information/git_gc.md)
|
||||
|
||||
### [Languages](background-information/languages/index.md)
|
||||
|
||||
- [Tech stack](background-information/tech_stack.md)
|
||||
- [Go](background-information/languages/go.md)
|
||||
- [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)
|
||||
@ -130,6 +129,7 @@ Clarification and discussion about key concepts, architecture, and development s
|
||||
### [SQL](background-information/sql/index.md)
|
||||
|
||||
- [Using PostgreSQL](background-information/postgresql.md)
|
||||
- [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)
|
||||
@ -137,27 +137,34 @@ Clarification and discussion about key concepts, architecture, and development s
|
||||
|
||||
### Security
|
||||
|
||||
- [Security Patterns](background-information/security_patterns.md)
|
||||
- [Security patterns](background-information/security_patterns.md)
|
||||
- [Security policy](https://about.sourcegraph.com/security/)
|
||||
- [How to disclose vulnerabilities](https://about.sourcegraph.com/handbook/engineering/security/reporting-vulnerabilities).
|
||||
- [CSRF security model](security/csrf_security_model.md)
|
||||
|
||||
### 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)
|
||||
|
||||
### Tools
|
||||
|
||||
- [Renovate dependency updates](background-information/renovate.md)
|
||||
- [Honeycomb](background-information/honeycomb.md)
|
||||
- [GoLand](background-information/goland.md)
|
||||
- [Wolfi overview](background-information/wolfi/index.md)
|
||||
|
||||
### Other
|
||||
|
||||
- [Telemetry](background-information/telemetry.md)
|
||||
- [Adding, changing and debugging pings](background-information/adding_ping_data.md)
|
||||
|
||||
## Guidelines
|
||||
|
||||
- [Code reviews](background-information/pull_request_reviews.md)
|
||||
- [Open source FAQ](https://about.sourcegraph.com/community/faq)
|
||||
- [Code of conduct](https://about.sourcegraph.com/community/code_of_conduct)
|
||||
- [Event level data usage pipeline](background-information/data-usage-pipeline.md)
|
||||
- [Adding, changing and debugging user event data](background-information/adding_event_level_data.md)
|
||||
- [Deploy Sourcegraph with Helm chart (BETA)](../../../admin/deploy/kubernetes/helm.md)
|
||||
- [GitHub API oddities](background-information/github-api-oddities.md)
|
||||
|
||||
## [How-to guides](how-to/index.md)
|
||||
|
||||
@ -202,5 +209,7 @@ Guides to help with troubleshooting, configuring test instances, debugging, and
|
||||
|
||||
## [Contributing](./contributing/index.md)
|
||||
|
||||
- [Project setup and CI checks for frontend issues](./contributing/frontend_contribution.md).
|
||||
- [Accepting an external contribution guide](./contributing/accepting_contribution.md).
|
||||
- [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)
|
||||
|
||||
@ -514,5 +514,5 @@ Here are some additional resources to help you go further:
|
||||
|
||||
- [`sg`, the Sourcegraph developer tool](../background-information/sg/index.md)
|
||||
- [Troubleshooting local development](troubleshooting.md)
|
||||
- [Background information](../background-information/index.md) for more context
|
||||
- [Background information](../index.md#background-information) for more context
|
||||
|
||||
|
||||
@ -96,4 +96,4 @@ Here are some additional resources to help you go further:
|
||||
- [Full `sg` reference](../background-information/sg/reference.md)
|
||||
- [Troubleshooting local development](troubleshooting.md)
|
||||
- [Continuous integration](../background-information/ci/index.md)
|
||||
- [Background information](../background-information/index.md) for more context on various topics.
|
||||
- [Background information](../index.md#background-information) for more context on various topics.
|
||||
|
||||
@ -76,7 +76,6 @@ Keep it as a single list with at most 2 levels. (Anything else may not render co
|
||||
- [Development](dev/index.md)
|
||||
- [Setup](dev/setup/index.md)
|
||||
- [How-to guides](dev/how-to/index.md)
|
||||
- [Background information](dev/background-information/index.md)
|
||||
- [Contributing](dev/contributing.md)
|
||||
- [Dotcom](dotcom/index.md)
|
||||
- [Code ownership (beta)](own/index.md)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user